debsahu / ESP-MQTT-AWS-IoT-Core

Arduino examples of connecting ESP8266/ESP32 to AWS IOT Core
MIT License
118 stars 50 forks source link

mqtt error code 0 #12

Open nikita-tinchi opened 4 years ago

nikita-tinchi commented 4 years ago

Hello I am getting error code 0 not able to connect aws server. I have followed all the instruction and changes only ceertificates, mqtt_host and thing name in the code. Do I need to change time zone also. error

nikita-tinchi commented 4 years ago

For your information my mqtt host end with ".......us-east-2.amazonaws.com"

sonkanit commented 3 years ago

I got the same error here.

debsahu commented 3 years ago

It has been a while since I have visited this, I’ll look into it.

THPubs commented 3 years ago

I'm also getting a similar error:

SSL Error Code: 0
failed, reason -> Connection Accepted < try again in 5 seconds

Tried many things :-(

THPubs commented 3 years ago

Guys my issue got fixed! It's a stupid mistake. I had made an error copy pasting the SSL certificate. Have a look at that!