-->
Page 1 of 1

Fatal exception while trying to establish a SSL connection

PostPosted: Tue May 19, 2015 1:34 am
by Antonio Silva
Hi,

I'm trying to issue a HTTPS request from the ESP8266, but the module crashes while receiving the response. In the recv callback I'm passing the received data to os_printf(), and I can see the HTTP headers being received in the first call to the recv callback, but then it crashes happens:
Fatal exception (29):
epc1=0x4000df0e, epc2=0x00000000, epc3=0x00000000, excvaddr=0x006bbe8d, depc=0x00000000
rm match
pm close 7 0 0/15520128
del if0
usl
sul 0 0

ets Jan 8 2013,rst cause:4, boot mode:(3,7)

wdt reset
.....

Has anyone seen this behavior before?

Thanks,
Antonio.

Re: Fatal exception while trying to establish a SSL connecti

PostPosted: Tue May 19, 2015 11:58 pm
by Antonio Silva
I've updated the SDK and patched libssl.a with the version posted here:
http://bbs.espressif.com/viewtopic.php?f=5&t=382

Now the ESP no longer reboots - instead I get the error:
client's data invalid protocol