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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...