Mbed TLS is now part of TrustedFirmware.org.

Server unavailable


Jan 25, 2018 11:40
Timon Schokker

I am using an ESP32 development board with mbedTLS 1.2

When i am succesfully connected to my TLS server everything is working like it is suppose to do. But when i disable my Ethernet cable from my server, thus the server becomes unavailable, the ESP32 and mbedTLS still think its connected and they keep reading and keep on sending data.

If i reconnect the cable and thus restart the Server then mbedTLS says, the connection is reset by peer and i have to recconnect. The reconnect is working fine and everything works like before.

But i can't figure out why mbedTLS still thinks its connected to the server even when the ethernet is out and the server is unavailable to ping

Whats the solution for this problem?

 
Feb 5, 2018 14:50
Ron Eldor

Hi Timon,
I answered your question on github.
Regards,
Mbed TLS Team member
Ron