-
Notifications
You must be signed in to change notification settings - Fork 7.6k
ESP32 ASYNC-TCP. ack timeout 4 #2979
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
When I look at the repo, line 717 doesn't generate this message. Are you really using the latest AsyncTCP? |
Yes:O I upgraded yesterday. Or two days ago maybe. |
The error you're seeing is on line 893: https://github.com/me-no-dev/AsyncTCP/blob/90715ae6b3ee72e9e40cd3dd2f9609217bf3ee02/src/AsyncTCP.cpp#L893 4 commits ago it was on 717 |
Okay you were right. I did not used the latest because i forget to copy ot to my project's lib folder.
I'am going to decode it but my PlatformIO can not build my sketch because it can not find espressif32 builder. I assume that is because the new 1.9.0 update. Coming back soon |
Okay, with the latest async tcp lib the multiheap problem is back again. CORRUPT HEAP: Bad head at 0x3ffdc504. Expected 0xabba1234 got 0x00000000 Backtrace: 0x4008d86c:0x3ffd5620 0x4008da9d:0x3ffd5640 0x40102abb:0x3ffd5660 0x4008d4e1:0x3ffd5690 0x40085a62:0x3ffd56b0 0x40087249:0x3ffd56d0 0x4000bec7:0x3ffd56f0 0x40107c51:0x3ffd5710 0x40156265:0x3ffd5740 0x40089789:0x3ffd5770 Edit: And with the latest espressif32 1.9.0 i can't compile my sketch with PlatformIO. |
Okay. I was wrong. With the latest Async TCP And latest ESP ASYNC webserver libs almost everything is okay. The problem is with the 1.9.0 arduino-espressif32 framwork. If i upgrade from 1.8.0 , the Corrupt heap problem is back again, and all my web things are slow A.F. But if i revert back to 1.8.0, the async web is fast and no heap corruption, but the ACK timeout is back again. In AP mode, the esp stopped working after some time, and i get ack timeout 4 error on serial monitor from async web. |
Hi there! Getting same error and crash after PIO code, ESP32 Framework and python updates.
and sometimes get
or
Both exception decode give me something about lwip/tcp.c
assertion "new_rcv_ann_wnd" decodded:
So just rollback arduino-esp32 framework give you correct fix? i opened this issue on arduino-esp32 i don't know where is the trouble, if it's on AsyncTCP lib, on lwip component, on arduino-esp32 framework... |
I'm getting a very similar issue. I've tested with 1.0.2 and 1.0.3 rc1, and IDF 3.2 & 3.2.2. ESPAsyncWebServer and AsyncTCP are up to date. I've also tried with brand new ESP32s. I noted that EEPROM was converted to work with NVS in the latest version, but that doesn't seem to make a difference. Sometimes I got a random error and sometimes it works without issue. Slightly different errors occur each time, making it harder to debug. |
Still waiting for a miracle cause i can't debug more at this time |
Here the same issue: [W][AsyncTCP.cpp:949] _poll(): pcb is NULL with last versions. |
I'am using the latest Async_TCP lib with espressif 1.8.0 on VSCODE with PlatformIO.
With the latest ASYNC_TCP lib update all my timeout and corrupt heap poisoning issues are gone in Ethernet mode or STA mode. But if am setting a softAP like this:
And connect to my ESP's acces point with an android phone, after a while i get these error message when build_flags = -DCORE_DEBUG_LEVEL=5.
As you can see, after a while i get some PCB NULL errors and some disconnect, it is because iam switching pages. And then i get the ack timeout 4 and all of the ap mode is stuck. My code works and i can reach the web via ethernet interface, while the AP mode is present but stucked.
I tried my pages from both SPIFFS and Compiled into progmem. Nothing changed.
I tried the AP mode channels and with SSID and without it. The problem is still there.
But just in AP mode.
EDIT: My maximum page size is 8KB.
The text was updated successfully, but these errors were encountered: