Hi all,
context: I am on Ubuntu 22.04.4 LTS
I am attempting to subscribe to the following mqtt server using telegraf inputs.mqtt : mqtt://sensecap-openstream.seeed.cc:8083
I have verified the username and password work - I can subscribe successfully using mosquitto_sub with these credentials. However, when I run telegraf via:
telegraf --config telegraf.conf --debug
I get the following output:
2024-04-17T06:12:39Z I! Loading config: telegraf.conf
2024-04-17T06:12:39Z I! Starting Telegraf 1.30.1 brought to you by InfluxData the makers of InfluxDB
2024-04-17T06:12:39Z I! Available plugins: 233 inputs, 9 aggregators, 31 processors, 24 parsers, 60 outputs, 6 secret-stores
2024-04-17T06:12:39Z I! Loaded inputs: mqtt_consumer
2024-04-17T06:12:39Z I! Loaded aggregators:
2024-04-17T06:12:39Z I! Loaded processors:
2024-04-17T06:12:39Z I! Loaded secretstores:
2024-04-17T06:12:39Z I! Loaded outputs: influxdb_v2
2024-04-17T06:12:39Z I! Tags enabled: host=capybara
2024-04-17T06:12:39Z I! [agent] Config: Interval:20s, Quiet:false, Hostname:“capybara”, Flush Interval:10s
2024-04-17T06:12:39Z D! [agent] Initializing plugins
2024-04-17T06:12:39Z D! [agent] Connecting outputs
2024-04-17T06:12:39Z D! [agent] Attempting connection to [outputs.influxdb_v2]
2024-04-17T06:12:39Z D! [agent] Successfully connected to outputs.influxdb_v2
2024-04-17T06:12:39Z D! [agent] Starting service inputs
2024-04-17T06:13:21Z E![telegraf] Error running agent: starting input inputs.mqtt_consumer: network Error : read tcp 192.168.20.17:58802->40.83.179.43:8083: i/o timeout
I don’t understand what I’m doing wrong here - any tips for debugging further?
thanks,