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
Version: Arduino IDE 1.6.6 (and test 1.6.5), Arduino ESP8266 (2.0.0) when try to connect error -2.
Try use anonymous too. Used tcpdump on Mosquitto server packages have. Have any ideas?
WiFi connected
IP address:
192.168.1.3
Attempting MQTT connection...failed, rc=-2 try again in 5 seconds
Attempting MQTT connection...failed, rc=-2 try again in 5 seconds
The text was updated successfully, but these errors were encountered:
So your error seems to be that your connection has failed.
This might be because of a connection problem (worth checking), or that the broker you are trying to connect to is on a different port/path.
I had a similar problem connecting to the Adafruit broker, but it turns out I wasn't building the 'topic' (path) correctly. So it was acting like there was a problem with the connection (presumably was returning http 400/300 type errors)
Hi!
Version: Arduino IDE 1.6.6 (and test 1.6.5), Arduino ESP8266 (2.0.0) when try to connect error -2.
Try use anonymous too. Used tcpdump on Mosquitto server packages have. Have any ideas?
WiFi connected
IP address:
192.168.1.3
Attempting MQTT connection...failed, rc=-2 try again in 5 seconds
Attempting MQTT connection...failed, rc=-2 try again in 5 seconds
The text was updated successfully, but these errors were encountered: