Panels not loading after updating to 8.1.0

After updating to 8.1.0 I’m getting Post “http://influxdbip:8086/api/v2/query?org=test”: net/http: invalid header field name “” in all the panels querying influxdb2.0.
OS: Latest Ubuntu LTS

EDIT: I fixed this by removing the custom HTTP headers in the edit data source page.

1 Like

Same here. The panel actually gives a bit more info:

Data does not have a time field

A sample query is

from(bucket: "bucket")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "something" 
  |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
  |> yield(name: "mean")

1 Like