Closed joaolrc closed 4 years ago
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.
I'm having exactly the same problem, did you find anything @joaolrc
@ivancmz not really. I just started using this library https://github.com/boblemaire/asyncHTTPrequest Works well and for now it's ok byut still want to finish my own. Another cool thing i wish to have is https connections. Do you know how can i achieve this?
Decode the backtrace, otherwise its difficult.
Anyway I did the same ;-) and its working: https://github.com/BlueAndi/esp-rgb-led-matrix/blob/master/src/Web/AsyncHttpClient.h https://github.com/BlueAndi/esp-rgb-led-matrix/blob/master/src/Web/AsyncHttpClient.cpp
Hi, jumping in also.
assert failed: tcp_update_rcv_ann_wnd IDF/components/lwip/lwip/src/core/tcp.c:951 (new_rcv_ann_wnd <= 0xffff)
my solution seems working within 1-2-3 hours, then suddenly crashing. how did anyone solved the issue?
asynctcp code changes? platformio build_flags ?
any solution is welcome.
I have the same error calling line is tcp_recved(msg->pcb, msg->received); from AsyncTCP.cpp Back trace is
Decoding stack results
0x40083dc5: panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c line 408
0x4008bfa5: esp_system_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c line 137
0x40091571: __assert_func at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/assert.c line 85
0x400fd18e: tcp_update_rcv_ann_wnd at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/tcp.c line 951
0x400fd23c: tcp_recved at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/tcp.c line 991
0x400e0dea: _tcp_recved_api(tcpip_api_call_data*) at C:\Users\matthew\Documents\Arduino\libraries\AsyncTCP\src\AsyncTCP.cpp line 422
0x400f9f24: tcpip_thread at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/api/tcpip.c line 172
hello I have exactly the same error , has anyone solved it yet?
Asynctcp has its own issues. Im also waiting for someone who would rewrite the lib, and share a proper/bug less version.
Meanwhile the only thing I have found is to change in the lib the line:
_async_queue = xQueueCreate(256, sizeof(lwip_event_packet_t *)); // dms/ prevents "async_tcp" Watchdog error
original contains 32,
Iam using that way, seems less prone to crash, hope it help, reply if so.
Hi All. So i wrote a library for Async HTTP calls on top of AsyncTCP and i am testing , making 2 concurrent requests and sometimes i get this error followed by a crash:
Header File (AsyncHttpClient.h)
Source file (AsyncHttpClient.cpp)
Testing Notes
I am instantiating the class twice and making concurrent requests in a for loop.The returned response is JSON. I think my problem is how i handle deletion and heap allocation of the AsybcTCP client instance maybe in the get and post methods but im fighting this battle for some days now and starting to get a bit frustrated. Can someone help me on this?