copercini / esp8266-aws_iot

Some examples using x.509 certificates and TLSv1.2 under Arduino IDE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP resets after Attempting MQTT connection...

BenediktMiller opened this issue · comments

Hey,

I am running into some issues using the DER example. I am using the example sketch and right after attempting to create the MQTT Connection the ESP resets.

This is the full serial monitor output:

Connecting to FRITZ!Box Fon WLAN 7360
scandone
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
cnt 

connected with FRITZ!Box Fon WLAN 7360, channel 6
dhcp client start...
ip:192.168.178.85,mask:255.255.255.0,gw:192.168.178.1
.
WiFi connected
IP address: 
192.168.178.85
Current Time:
1562488650
Heap: 39960
Success to open cert file
cert loaded
Success to open private cert file
private key loaded
Success to open ca
ca loaded
Heap: 36368
Attempting MQTT connection...
Soft WDT reset

>>>stack>>>

ctx: cont
sp: 3ffffc60 end: 3fffffc0 offset: 01b0
3ffffe10:  3ffeeb34 00003a97 3ffeeb40 40205b7a  
3ffffe20:  514d0400 00045454 3ffe85f6 40208c3a  
3ffffe30:  00000000 3ffe85f8 00000000 00000001  
3ffffe40:  3ffeeb34 3ffeeb34 3ffeed68 402063d8  
3ffffe50:  3ffeef30 00000769 00000769 3ffeee94  
3ffffe60:  3ffeeb34 3ffeeb34 3ffeed68 40205c04  
3ffffe70:  00000000 00000000 00000001 402066cc  
3ffffe80:  3ffffebb 3ffeeb34 3ffeed68 402011d9  
3ffffe90:  3fff2f24 402172be 3ffffeba 402067bf  
3ffffea0:  3fff1ad4 00000000 3ffe882d 40208c3a  
3ffffeb0:  3ffeef30 000004a7 000004a7 40209318  
3ffffec0:  3ffeebf8 3ffeef0c 3fff1974 40209740  
3ffffed0:  00000009 3ffeef0c 3ffeed68 4021727e  
3ffffee0:  3ffe882c 00000345 3fff1bcc 40207b6f  
3ffffef0:  3ffeebf8 3ffeef0c 3fff1974 4020e7b8  
3fffff00:  40206188 000003e8 3fffff68 40201321  
3fffff10:  3ffeebf8 3ffeef0c 3ffeed68 4020151b  
3fffff20:  4020f480 00000000 000003e8 feefeffe  
3fffff30:  3fff280c 3fff2bbc 00000000 00000000  
3fffff40:  3ffeef0c 4020f480 00000000 000003e8  
3fffff50:  feefeffe 3fff24ec 3fff1c44 00000000  
3fffff60:  00000000 3ffeef0c 4020f480 00000000  
3fffff70:  000003e8 00000000 3ffeebf8 40202cb6  
3fffff80:  00000000 00000000 3ffeeb34 4020ebb4  
3fffff90:  feefeffe 00000000 3ffeee64 4020128a  
3fffffa0:  3fffdad0 00000000 3ffeee64 40206ff0  
3fffffb0:  feefeffe feefeffe 3ffe8514 401004cd  
<<<stack<<<

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
v8b899c12
~ld

Could this be the result of a faulty esp8266 or some wrong configuration?

Any help would be greatly appreciated.

Did you solve ? I have exactly same issue.

Me too

I solved, downgrade the pubsubclient's lib version and the esp's version too.

It would be helpful to know what versions you used :-)