espressif / ESP8266_NONOS_SDK

ESP8266 nonOS SDK
Other
931 stars 536 forks source link

ssl3.0 causes connect wdt reset #293

Open flameboss opened 4 years ago

flameboss commented 4 years ago

Our devices connect to emqttd MQTT broker accepting TLS on port 8883. We use the AT commands. Starting with release 3.0.2, the ESP8266 gets a wdt reset every time it tries to connect to the broker. 3.0.1 works OK.

But if I revert this commit in 3.0.2 https://github.com/espressif/ESP8266_NONOS_SDK/commit/5f498e5bb44bf70e179ac0b77ee017aadf5dab47 it works OK again.

davydnorris commented 4 years ago

This same commit has also caused several other problems with SSL - see #292, and #122 Right now I am using current, but with libmbedtls.a from just before this commit and everything works fine.