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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...