All Apps and Add-ons

Why am I unable to connect to hivemq using mqtt modular input app?

marksheinbaum
Explorer

I created an mqtt input for our hivemq server. However, it fails to connect. The splunkd.log contains entries like these. I am able to connect using mqttspy to the same hivemq instance, and verified connectivity from the Splunk server to the VM running hivemq. Also verified the port number.
Any help appreciated.

03-19-2018 22:42:18.541 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py" Stanza mqtt://95x_mqtt : Error connecting : Connection lost (32109) - java.io.EOFException
03-19-2018 22:42:18.541 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"      at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:138)
03-19-2018 22:42:18.541 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"      at java.lang.Thread.run(Thread.java:745)
03-19-2018 22:42:18.541 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py" Caused by: java.io.EOFException
03-19-2018 22:42:18.541 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"      at java.io.DataInputStream.readByte(DataInputStream.java:267)
03-19-2018 22:42:18.541 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"      at org.eclipse.paho.client.mqttv3.internal.wire.MqttInputStream.readMqttWireMessage(MqttInputStream.java:56)
03-19-2018 22:42:18.541 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"      at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:100)
03-19-2018 22:42:18.541 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"      ... 1 more
0 Karma

dark3d
New Member

I have this indentical issue. Did you ever resolve this?

0 Karma
Get Updates on the Splunk Community!

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...

Splunk AppDynamics Agents Webinar Series

Mark your calendars! On June 24th at 12PM PST, we’re going live with the second session of our Splunk ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...