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!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...