I have implemented a OPC UA adapter in hivemq edge and is now connecting to my PLC. Now i want it to be connected to the hive mq cloud i followed the tutorial given and in the hive mq bridge i have entered the details from the hivemq cloud. But the hivemq cloud seems to be disconnected and not connecting.
2025-01-27 16:22:39,708 ERROR - Not able to connect bridge hivemq-cloud com.hivemq.client.mqtt.exceptions.MqttClientStateException: MQTT client is already connected or connecting. 2025-01-27 16:24:05,280 INFO - Stopping MQTT bridge ‘hivemq-cloud’ 2025-01-27 16:24:05,325 INFO - Stopped MQTT bridge ‘hivemq-cloud’ in 45ms
Could you please verify if you have enabled Transport Layer Security (TLS) in the Security section of the bridge configuration? This might be the cause of the issue you’re experiencing. I’ve attached a screenshot to help guide you to the correct settings.
I have enabled TLS in the security tab and the url and credentials correctly in the settings and the cluster is running in the hivemq cloud.
So in order to take the data from the hivemq edge is the possible to connect directly to it or I can only connect through the hivemq cloud . I have a software that requires the mqtt edge key for connecting.
It sounds like you’ve set up a bridge from your HiveMQ Edge broker to your HiveMQ Cloud broker.
If you want an MQTT client to connect directly to your HiveMQ Edge broker, make sure to use the correct hostname and port. If everything is running on your laptop, you can use localhost, 0.0.0.0, or 127.0.0.1 as the hostname.
If your bridge is set up to forward all messages (e.g., #) to the Cloud broker, your subscriber can connect to the Cloud broker directly to receive them.
Could you clarify what exactly isn’t working? It would help if you shared: