Help: esp32 hangs for 10 sec after TRANS_SSL error

man9495
Posts: 5
Joined: Tue Jun 01, 2021 11:11 am

Help: esp32 hangs for 10 sec after TRANS_SSL error

Postby man9495 » Wed Jun 02, 2021 12:51 pm

Hi folks!

Esp32 is connected with wifi and mqtt communication is working fine,
but for testing purpose I turned off the internet data but wifi is still on and it gives the below warning:-
W (203031) TRANS_SSL: Poll timeout or error, errno=Success, fd=54, timeout_ms=10000

The above waring if obvious that internet is not available, so not able to send the data.

But the main issue is due to this complete esp32 get freeze for around 10 to 12 seconds. The i2c based ic also stops working.
So I want to do that due to above warning, i2c task should not stop.

Thank You, every efforts will be appreciated.

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: Help: esp32 hangs for 10 sec after TRANS_SSL error

Postby ESP_Sprite » Thu Jun 03, 2021 1:50 am

Can't really say anything about this without seeing how you structured your code.

Who is online

Users browsing this forum: No registered users and 123 guests