-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MQTT - many, many "reconnecting" messages in pm2-out.log #67
Comments
Are you sure your connection data works? Have you tried using another tool? |
If you look at the config, there is config for using a certificate file. You can try that. I am not too familiar with this myself, as it was developed by someone else. |
If the problem is indeed related to TLS, then potentially all you need to do is modify your config file to look something like: mqttServers: [ It has been a while since I worked on this. Maybe just adding mqtts:// to the address will fix it, or you may also need to add the CA certificate file line. Looks like hivemq uses LetsEncrypt, so this page may help you identify the correct ca file to use: https://letsencrypt.org/certificates/ |
Hi,
I have moved my MQTT broker to HiveMQ in the cloud. However, I now have an infinite number of "reconnecting" messages in the pm2-out.log. However, I think that subscribed MQTT messages are still read and processed.
Here is my config
`
module: 'MMM-MQTT',
....
`
And here are the log entries
`
[04.12.2023 14:47.26.719] [LOG] MMM-MQTT: Starting client for blabla.s1.eu.hivemq.cloud:8883 user StarTrekHiveMQTT
[04.12.2023 14:47.26.726] [LOG] MMM-MQTT: Connecting to mqtt://blabla.s1.eu.hivemq.cloud:8883
[04.12.2023 14:47.36.216] [LOG] MMM-MQTT: blabla.s1.eu.hivemq.cloud:8883StarTrekHiveMQTT reconnecting
[04.12.2023 14:47.41.047] [LOG] MMM-MQTT: blabla.s1.eu.hivemq.cloud:8883StarTrekHiveMQTT reconnecting
[04.12.2023 14:47.43.546] [LOG] MMM-MQTT: blabla.s1.eu.hivemq.cloud:8883StarTrekHiveMQTT reconnecting
....
`
How can I track down the cause?
Could it be because HiveMQ requires the login with TLS?
Greetings and thanks
Sepp
The text was updated successfully, but these errors were encountered: