odelot / aws-mqtt-websockets

Implementation of a middleware to use AWS MQTT service through websockets, aiming the ESP8266 plataform
GNU Lesser General Public License v3.0
231 stars 67 forks source link

Websocket connection times out #1

Closed svdgraaf closed 8 years ago

svdgraaf commented 8 years ago

Hey! I'm trying your example, and running into an issue with the websocket connection, I added some extra serial.println()'s for overview:

Connecting to wifi
Connected
Socket connected
........................................................................................................................................................................................................MQTT connecting

Soft WDT reset
[snip]

As there are exactly 200 dots, I think the workaround is not working, I'll see if I can find out why :)

svdgraaf commented 8 years ago

Got it! I forgot to change the AWS region :)

I'll send a PR with some small changes to the example code to make things a bit easier to setup :)