Troubleshooting MQTT Sink Configuration in IIoT Dataflow

Hi community:
I’m currently setting up an MQTT Sink to forward dataflows to an external broker, but I hit a snag. After configuring an MQTT Sink, the connector status fails to go “Online” (remains unshown after 30+ seconds) :broken_heart:. The MQTT broker itself is operational (verified with separate pub/sub tests).

Could someone please help me identify what’s wrong with this configuration? Any guidance would be greatly appreciated.

Best regards,
Shiyun

8/5 Update: After updating the IIoT Connector to version 1.0.7 and enabling data sharing functionality, the system status changed to “Error,” accompanied by specific error information.

Hello,

any success with a test program e.g. ‘MQTT Explorer’ ?

MQTT Explorer | An all-round MQTT client that provides a structured topic overview

1 Like

Hi Christoph,

Thank you for the suggestion! Yes, I was able to successfully connect using MQTT Explorer for testing.

I eventually solved my issue by changing the hostname from ‘localhost’ to the actual IP address in my MQTT Sink configuration. It seems the connector couldn’t resolve ‘localhost’ properly in this environment. The connector is now online and working as expected!

1 Like

Hi,

can you ping ‘localhost’ ?

if you execute the following in a terminal

cat /etc/hosts

you should see an entry like

127.0.0.1       localhost