I have an app to run a power switch, which I could update via OTA until recently.
Written in C++ against the rtos sdk.
Suddenly (after build system updates?) I find that the OTA doesn't work any more. I think I see two things : only a packet per second, and frequent timeouts. Both phenomenons are new : I used to be able to OTA my app in 30 seconds from start to reboot.
This shows some of that :
I (10799) WebServer: Starting httpd
I (23812) WebServer: Receiving (req content-len 753696)
I (23818) WebServer: httpd_req_recv 1400
I (24823) WebServer: httpd_req_recv 1400
I (25835) WebServer: httpd_req_recv 1400
I (26844) WebServer: httpd_req_recv 120
I (29478) WebServer: httpd_req_recv 1280
I (30487) WebServer: httpd_req_recv 1400
I (31495) WebServer: httpd_req_recv 76
I (33157) WebServer: httpd_req_recv 1324
I (34168) WebServer: httpd_req_recv 116
I (37149) WebServer: httpd_req_recv 1284
I (38159) WebServer: httpd_req_recv 1400
I (39167) WebServer: httpd_req_recv 196
I (45128) WebServer: httpd_req_recv 1204
I (46142) WebServer: httpd_req_recv 1400
I (47150) WebServer: httpd_req_recv 276
E (53151) httpd: httpd_default_recv: recv error -1
W (53155) httpd_txrx: httpd_sock_err: error in recv : 0
E (58162) httpd: httpd_default_recv: recv error -1
W (58165) httpd_txrx: httpd_sock_err: error in recv : 0
I (61393) WebServer: httpd_req_recv 1124
I (62407) WebServer: httpd_req_recv 1400
I (63415) WebServer: httpd_req_recv 356
E (69416) httpd: httpd_default_recv: recv error -1
W (69419) httpd_txrx: httpd_sock_err: error in recv : 0
E (74428) httpd: httpd_default_recv: recv error -1
W (74431) httpd_txrx: httpd_sock_err: error in recv : 0
E (79439) httpd: httpd_default_recv: recv error -1
W (79442) httpd_txrx: httpd_sock_err: error in recv : 0
E (84450) httpd: httpd_default_recv: recv error -1
W (84453) httpd_txrx: httpd_sock_err: error in recv : 0
E (89462) httpd: httpd_default_recv: recv error -1
W (89465) httpd_txrx: httpd_sock_err: error in recv : 0
E (94474) httpd: httpd_default_recv: recv error -1
W (94477) httpd_txrx: httpd_sock_err: error in recv : 0
My source is at https://sourceforge.net/p/serre/svncode ... Server.cpp .
Any clues ?
Thanks,
Danny