Hi there,
I have a Docker stack Telegraf container that’s supposed to retrieve Telegraf config file from the Influx DB. However, it’s continuously emitting ‘Error running agent: Error loading config file {config file URL}: Retry 3 of 3 failed to retrieve remove config: 401 Unauthorized’
The compose file contains full set of environment variables, including INFLUX_HOST, INFLUX_ORG, INFLUX_BUCKET, INFLUX_TOKEN, and HOST_HOSTNAME
The compose file is used to bring up 3 separate Telegraf containers and two other containers are running fine. It’s the new one I added in that’s having issues.
The only difference between the operating and the new container is the environment variables and the service name.
Is there a solution for this?