Error getting HTTP config

Greetings,

configured telegraf conf using the Load Data in influx. All values are configured using the wizard. But when trying to fetch some data from a Linux server I get the following error:

Error getting HTTP config.

here is some pertinent data from the config

[[outputs.influxdb_v2]]
  ## The URLs of the InfluxDB cluster nodes.
  ##
  ## Multiple URLs can be specified for a single cluster, only ONE of the
  ## urls will be written to each interval.
  ##   ex: urls = ["https://us-west-2-1.aws.cloud2.influxdata.com"]
  urls = ["http://ip.address.of.influx/:8086"]

  ## Token for authentication.
  token = "$INFLUX_TOKEN"

  ## Organization is the name of the organization you wish to write to; must exist.
  organization = "research"

  ## Destination bucket to write into.
  bucket = "procstat"

Hello @yosiasz,
Can you share more of the error logs?
After including debug=true in the agent portion of the config?
Thank you.

Here you go

retry 3 of 3 failed to retrieve remote config: 401 Unauthorized

But it works when I download the http config and copy it to disk and run telegraf pointing at the local config file

This might be more Ubuntu networking/permission issue than grafana?