Telegraf MQTT input connect fails with network error: i/o timeout

@jpowers thanks for the tip about client_trace=true - very useful

I have also removed the mqtt:// from the url as no, I was not sure this is correct. However, after running telegraf again with client_trace=true, it does appear that MQTT 3.1 the right protocol.

I edited my telegaf config file to include the scheme as suggested by the message

" 2024-04-18T23:15:15Z W! [inputs.mqtt_consumer] Server “sensecap-openstream.seeed.cc:8083” should be updated to use scheme://host:port format"

But I’m now confident the url should be "mqtt//:sensecap-openstream.seeed.cc:1883” and, success - we appear to have successfully established a connection and are wating to receive messages!

1 Like