You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library looks great, I'm keen to start using it however I am unable to connect to an MQTT server.
I am trying to connect to;
host: broker.mqtt-dashboard.com
port: 1883
I've tried connecting to a few different servers but they all result in a loop of the following error.
[INFO 2018-02-12 22:52:31] Attempting to Connect to MQTT Server
[ERROR 2018-02-12 22:52:31] Failed to connect to MQTT Server!
[INFO 2018-02-12 22:52:31] Failed too many times to establish a MQTT connection. Restarting Device.
I've tried using the GarageDoorOpener, Coogle Feeder and Coogle Switch in case I was missing something in my code but they all have the same result.
Hmm, Are you showing that you connected to the WiFi prior to connecting to the MQTT server? Also are you using credentials trying to connect to the MQTT or just a straight connection without auth?
Under the hood CoogleIOT uses PubSubClient, so if you can connect with one you can connect with the other in theory.
Hi,
The library looks great, I'm keen to start using it however I am unable to connect to an MQTT server.
I am trying to connect to;
host: broker.mqtt-dashboard.com
port: 1883
I've tried connecting to a few different servers but they all result in a loop of the following error.
[INFO 2018-02-12 22:52:31] Attempting to Connect to MQTT Server
[ERROR 2018-02-12 22:52:31] Failed to connect to MQTT Server!
[INFO 2018-02-12 22:52:31] Failed too many times to establish a MQTT connection. Restarting Device.
I've tried using the GarageDoorOpener, Coogle Feeder and Coogle Switch in case I was missing something in my code but they all have the same result.
If I use the PubSubClient sketch (https://github.com/knolleary/pubsubclient/blob/master/examples/mqtt_esp8266/mqtt_esp8266.ino) then I can connect to an MQTT server without issue.
Do you have any suggestions as to how I can get a more verbose error message?
Thanks in advance.
The text was updated successfully, but these errors were encountered: