marwijn
marwijn
I got the same exception with the program below: ``` inline void handler (void) { timer0_write(ESP.getCycleCount() + 500000); } void setup() { Serial.begin(74880); noInterrupts(); timer0_isr_init(); timer0_attachInterrupt(handler); timer0_write(ESP.getCycleCount() + 160000); interrupts();...
@igrr Thanks a lot never realised I needed it. This fixes my problem. So the original problem is probably not related.
The only thing that changes is the TIMEOUT above in the log. Changed from 5142 to 60241. Below the log when the same site is loaded from chrome/PC. The log...
Yes that is as far as I understand. As the phone seems to work with any other website, I wonder what is different with the ESP ASyncTcp/AsyncWebserver. The files do...
I suspect that the phone is unable to keep up with the data sent from the server. Then drops the package. Therefore does not send an ack. And waits for...
I did add a bit of extra logging in Webresponses.cpp around line 250 and further: size_t AsyncAbstractResponse::_ack(AsyncWebServerRequest *request, size_t len, uint32_t time){ os_printf("AsyncAbstractResponse::_ack %d %d\n", len, time); if(!_sourceValid()){ and if(outLen)...
In function space in ESPAsyncTcp.cpp. Shouldn't tcp_sndbuf be tcp_mss ? (Max segment size)
I don't know if this helps, but I've changed in webresponses in the following: size_t AsyncAbstractResponse::_ack(AsyncWebServerRequest *request, size_t len, uint32_t time){ if(!_sourceValid()){ _state = RESPONSE_FAILED; request->client()->close(); return 0; } _ackedLength...
Have you tried to reproduce by configuring the ESP as access point and connect directly with an android phone (if you have one available).
I agree with me-no-dev that this is an issue in the LwIP stack. As I wanted to use this with the AsyncWebbrowser I've made the following change in WebResponses.cpp :...