175 questions
0 votes
1 answer
70 views
Prevent multiple subscriptions of same topic in HiveMQ MQTT client
I'm struggling with my MQTT clients to subscribe to a topic without having the topic subscribed multiple times after the client runs for a while. (I also have an issue with the clients not processing ...
-1 votes
1 answer
39 views
What is the idiomatic use of HiveMQ client's `subscribePublishes` method
I cannot figure out how to use the FlowableWithSingle<Mqtt5Publish,Mqtt5SubAck> subscribePublishes(Mqtt5Subscribe subscribe) method of the HiveMQ Rx client API. It returns FlowableWithSingle ...
0 votes
0 answers
42 views
StackOverflowError when retrieving data with Hawk
Encountered a java.lang.StackOverflowError while attempting to retrieve data using Hawk. This crash occurs consistently when trying to access a specific value. The stack trace suggests the issue ...
0 votes
0 answers
64 views
Unable to connect test.mosquitto.org over port 8885 encrypted, authenticated from HiveMQ Android client
I am trying to connect to test.mosquitto.org over port 8885 with tls from Android HiveMQ library. Username : rw, password: readwrite MqttClientBuilder mqttClientBuilder = MqttClient.builder() ....
0 votes
2 answers
237 views
How do I set the username and password for the HiveMQ UI using config.xml in 4.x?
I have the following... <control-center> <users> <user> <name>admin</name> <password>...
0 votes
0 answers
64 views
Repeated Packets and Intermittent Publishing Stops Using HiveMQ Client
I am developing an Android application that publishes ECG packets using the Java HiveMQ MQTT Client library to a HiveMQ broker. The application works as follows: The user enters a userId(topic), and ...
0 votes
1 answer
243 views
com.hivemq.client.mqtt.exceptions.ConnectionFailedException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security
I am using this particular code to test an MQTT connection with HiveMQ, but I'm struggling to disable certificate validation. I don't want to validate the certificate while connecting to the broker. ...
0 votes
1 answer
70 views
Can you help me with my Node-Red Flow that
[mqtt-broker:HiveMQ] Connection failed to broker: mqtt://mqtt-dashboard.com:8884 I try restarting my node-red Configuring my MQTT In node with the exact host, i.e.: I still get the exact same error ...
0 votes
1 answer
122 views
CocoaMQTT Server connection refused
Cannot connect with cocoamqtt 5.0, it says connection refused when using in Xcode, below is code :- func buildMQTTConnection() { ///MQTT 5.0 let clientID = "CocoaMQTT-" + String(...
0 votes
1 answer
110 views
ESP8266 umqtt OSError -1
I have an ESP8266. On this board I'm running the newest Version of the MicroPython firmware (1Mib). I have a Java Vaadin Web Application with 2 Buttons. One Button is for publishing, that the LED ...
0 votes
2 answers
260 views
Calling a suspend function from legacy library on background thread
I'm using the HiveMQ Android Client in my Android App. I "probe" for a device using a transient object for the transaction, which wraps an Mqtt3AsyncClient. fun probe(callback: ((String) -&...
25 votes
5 answers
68k views
Paho MQTT "Unsupported callback API version" error
I am trying to implement Paho Python MQTT and connect to an online broker but the code seems to through an error. ValueError: Unsupported callback API version: version 2.0 added a ...
0 votes
0 answers
243 views
how to connect my hivemq to test application like MQTTX
it seems that all the cluster in hivemq need to run under ssl. I have set up the ssl settings in MQTTX, but it turns out to show exception "certificate has expired!". i have tried using ...
0 votes
1 answer
298 views
Connecting mqtt.js client to local hivemq broker running in docker fails
I'm trying to establish a connection from my angular application via mqtt.js client to my local hivemq broker running on docker with the following connection details: const options: IClientOptions = { ...
0 votes
1 answer
762 views
Connecting to hivemq in kotlin
I am making a simple android app in Kotlin. I wish to use hivemq to publish messages which will be picked up by an ESP 8266. I found a library and adapted the sample code from this page: https://...