httpd server issue "httpd_txrx: httpd_sock_err: error in send : "

RalphD
Posts: 103
Joined: Thu Nov 25, 2021 9:02 pm

httpd server issue "httpd_txrx: httpd_sock_err: error in send : "

Postby RalphD » Tue Mar 14, 2023 2:31 pm

Hi there,

we have a custom board using the ESP32 S2 chip with IDF 5.0.
Our application gathers data via serial port and writes these data to an SD card. Works fine.
On the httpd server we have an endpoint reading this data file repeating every 5 to 10 seconds.
After a while we seeing the following log output

Code: Select all

[1B][0;32mI (09:54:58.875) SDcard: final Path: /sdcard/ac000000258[1B][0m
[1B][0;32mI (09:54:58.875) SDcard: len: 19 sizeOfPathBuffer - len:108[1B][0m
[1B][0;33mW (09:55:04.515) httpd_txrx: httpd_sock_err: error in send : 11[1B][0m
[1B][0;33mW (09:55:10.515) httpd_txrx: httpd_sock_err: error in send : 11[1B][0m
[1B][0;33mW (09:55:16.515) httpd_txrx: httpd_sock_err: error in send : 11[1B][0m
I (727312) wifi:bcn_timout,ap_probe_send_start
I (729812) wifi:ap_probe_send over, resett wifi status to disassoc
I (729812) wifi:state: run -> init (c800)
I (729812) wifi:pm stop, total sleep time: 1888163 us / 27081589 us

W (729822) wifi:<ba-del>idx
I (729822) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
[1B][0;32mI (09:55:21.256) maxill_wifi_connect: Wi-Fi disconnected, trying to reconnect...[1B][0m
[1B][0;32mI (09:55:21.263) httpd_server: disconnect event occured, restarting webserver[1B][0m
[1B][0;32mI (09:55:21.365) httpd_server: Starting server on port: '80'[1B][0m
[1B][0;32mI (09:55:21.367) httpd_server: Registering URI handlers[1B][0m
[1B][0;32mI (09:55:21.368) httpd_server: HTTP server started[1B][0m
I (732252) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
I (732252) wifi:state: init -> auth (b0)
I (732262) wifi:state: auth -> assoc (0)
I (732282) wifi:state: assoc -> run (10)
I (732452) wifi:connected with TP-Link_312D, aid = 3, channel 1, BW20, bssid = 90:9a:4a:3a:31:2d
I (732452) wifi:security: WPA2-PSK, phy: bgn, rssi: -57
I (732462) wifi:pm start, type: 1

I (732492) wifi:AP's beacon interval = 102400 us, DTIM period = 1
W (732502) wifi:<ba-add>idx:0 (ifx:0, 90:9a:4a:3a:31:2d), tid:0, ssn:3, winSize:64
[1B][0;32mI (09:55:25.296) esp_netif_handlers: maxill_netif_sta ip: 192.168.1.100, mask: 255.255.255.0, gw: 192.168.1.1[1B][0m
[1B][0;32mI (09:55:25.298) maxill_wifi_connect: Got IPv4 event: Interface "maxill_netif_sta" address: 192.168.1.100[1B][0m

and so on until a complete reconnect

Anybody out there who has seen such before and can give any hint?

Any idea very welcome.

MasterExploder
Posts: 26
Joined: Wed Feb 08, 2023 6:17 pm

Re: httpd server issue "httpd_txrx: httpd_sock_err: error in send : "

Postby MasterExploder » Thu Dec 07, 2023 4:17 pm

Did you manage to solve this?

Marius28
Posts: 15
Joined: Sat Oct 28, 2023 4:23 pm

Re: httpd server issue "httpd_txrx: httpd_sock_err: error in send : "

Postby Marius28 » Fri Dec 22, 2023 7:47 pm

Have the same error message but no workaround so far...

Who is online

Users browsing this forum: Baidu [Spider] and 125 guests