Select to view content in your preferred language

Eclipse MQTT Message Broker not working

651
4
Jump to solution
03-02-2022 06:32 AM
CindyS
by
New Contributor II

 

I am following the MQTT Connector tutorial and I can’t get the MQTT Message Broker to work and when I try to troubleshoot by using the debug logs I only see the TCPInboundTransport. There is no com.esri.geoevent.transport.mqtt.MqttInboundTransport or com.esri.geoevent.transport.mqtt.MqttOutboundTransport.

I am using GeoEvent Server 10.9.1 and I have tried the Eclipse Mosquitto 1.6.2 and the latest version 2.0.14.

I have inbound and outbound MQTT Transports and Connectors, but it doesn't seem like the MQTT Message Broker is working.

CindyS_0-1646231323053.png

Thanks.

 

0 Kudos
1 Solution

Accepted Solutions
CindyS
by
New Contributor II

I have it working. I changed this  tcp://127.0.0.1:1883 to this  tcp://localhost:1883 and now it works.

CindyS_0-1646684881233.png

 

View solution in original post

0 Kudos
4 Replies
JeffSilberberg
Occasional Contributor III

Cindy, 

    A good tool for debugging MQTT interfaces is -  http://mqtt-explorer.com/

    It does work so you probably have a setting that is not aligning between your GeoEvent and MQTT Server. 

    --

  

0 Kudos
CindyS
by
New Contributor II

Thanks Jeff, I'll try that.

0 Kudos
CindyS
by
New Contributor II

I have it working. I changed this  tcp://127.0.0.1:1883 to this  tcp://localhost:1883 and now it works.

CindyS_0-1646684881233.png

 

0 Kudos
JeffSilberberg
Occasional Contributor III

 

That is a little strange as 127.0.0.1 and localhost should the same endpoint just expressed differently.  

------

 

0 Kudos