Hi everybody!
I can't connect with my own MQTT Server, I use a valid HOST and/or a valid IP Address to my MQTT Server, but allways get the disconnect message:
[18:35:36]server.v3.connecting
[18:35:37]server.v3.disconnected
[18:35:58]server.v3.connecting
[18:35:58]server.v3.disconnected
Someone knows whats happening??
All configuration of MQTT is OK, host and ip address works ok (verified with MQTT.fx), username and password of MQTT server is OK too ....
Finally works ok, I put again the mqtt password, and now works ....
I am seeing the same messages
I am using io.adafruit.com and i have checked the password. not sure what I am doing wrong but this is my error message:
E (1433086) ovms-server-v3: mg_connect(https://io.adafruit.com:1883) failed: cannot parse address
I found web site to explain connecting with their MQTT
https://io.adafruit.com/api/docs/mqtt.html#client-libraries
I was using wrong port, they prefer 8883.
Also the pw is a long key they generate for you. Click on Adafruit IO Key to see it.
So now it logs in and then fairly quickly disconnects but no error messages I can see. Is that normal?
Thanks,
Eric
If it logs in, then disconnects, most likely the username/password is wrong, or perhaps TLS/SSL certificate? Can you try without SSL first?