Failed to fetch HTTP config: 401 Unauthorized?

Hi,

I setup a new TIG deployment on Rocky linux 9, and seem to be running into the below error.

I have bee ngoing through various forums to see solutions provided but none of them work, nearly everyone of them said its related to the Token but I have changed the token as well without any progress.

Sep  8 17:07:20 10.11.30.24 telegraf[909]: 2024-09-08T16:07:20Z E! [outputs.influxdb_v2] When writing to [http://10.11.30.24:8086/api/v2/write]: Post "http://10.11.30.24:8086/api/v2/write?bucket=vmware&org=VLAB": dial tcp: lookup 10.11.30.24 on 10.11.30.15:53: server misbehaving

Sep  8 17:07:20 10.11.30.24 telegraf[909]: 2024-09-08T16:07:20Z E! [agent] Error writing to outputs.influxdb_v2: failed to send metrics to any configured server(s)

Telegraf.conf is configured with Influx Token, and other information, but when I run

telegraf --config http://10.11.30.24:8086/api/v2/telegrafs/0da08dc2ccf38000

I get the below error in /var/log/messages

2024-09-08T16:09:19Z I! Loading config: http://10.11.30.24:8086/api/v2/telegrafs/0da08dc2ccf38000
2024-09-08T16:09:19Z I! Error getting HTTP config (attempt 0 of 3): failed to fetch HTTP config: 401 Unauthorized
2024-09-08T16:09:29Z I! Error getting HTTP config (attempt 1 of 3): failed to fetch HTTP config: 401 Unauthorized
2024-09-08T16:09:39Z I! Error getting HTTP config (attempt 2 of 3): failed to fetch HTTP config: 401 Unauthorized
2024-09-08T16:09:49Z I! Error getting HTTP config (attempt 3 of 3): failed to fetch HTTP config: 401 Unauthorized
2024-09-08T16:09:49Z E! error loading config file http://10.11.30.24:8086/api/v2/telegrafs/0da08dc2ccf38000: failed to fetch HTTP config: 401 Unauthorized

Not sure what else to check, any thoughts ?

Are you sure you exported the token in the shell you use to start Telegraf in?