Error getting HTTP config


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

  ## 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 = [""]
  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?