TRANSPORT_BASE: poll_read select error 113, errno = Software caused connection abort, fd = 54: cannot recover from this

f.papa
Posts: 2
Joined: Fri Jun 30, 2023 3:49 pm

TRANSPORT_BASE: poll_read select error 113, errno = Software caused connection abort, fd = 54: cannot recover from this

Postby f.papa » Fri Jun 30, 2023 3:59 pm

Hi community,
since I'm not so familiar with http_client library of ESP32 idf, I' m here to ask you about the error as in subject.
This happens after a lot of transmissions in https using http_client_perform() in async mode.
I thought about handling it doing http_client_cleanup() and http_client_init after it happens, but it doesn't seem to restore nothing.
Any help?
I can post some code if needed.
Thank you.

f.papa
Posts: 2
Joined: Fri Jun 30, 2023 3:49 pm

Re: TRANSPORT_BASE: poll_read select error 113, errno = Software caused connection abort, fd = 54: cannot recover from t

Postby f.papa » Mon Jul 03, 2023 1:39 pm

Got any news? It seems I miss something in freeing resources but I can't see what I could do other than call http_client_cleanup () after I get the error. Thank you.

leschge
Posts: 44
Joined: Fri May 06, 2022 1:38 pm

Re: TRANSPORT_BASE: poll_read select error 113, errno = Software caused connection abort, fd = 54: cannot recover from t

Postby leschge » Wed Oct 23, 2024 7:37 am

We observe the same issue using MQTT.
E (311640) transport_base: poll_read select error 113, errno = Software caused connection abort, fd = 51
E (311641) mqtt_client: Poll read error: 119, aborting connection


Edit:
Next to MQTT, we also have a socket for DoIP. For DoIP we always close our socket (even if it wasnt opened), this lead to accidentally closing the MQTT socket for whatever reason.

Who is online

Users browsing this forum: Amazon [Bot], Applebot, Baidu [Spider], Bing [Bot], Qwantbot, Semrush [Bot] and 1 guest