-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
webserver stops responding during send() #1554
Comments
Hi, could you please share the minimal example which leads to this issue? |
Of course. I threw out the whole UART thing and stripped it down to just creating one html table that auto-loads every two seconds. Took a few minutes but now it hangs. Requesting the page again, and all is fine (until it hangs for the next time...) Last debug output:
Here's the code, I hope it's ok to post directly...
|
could anyone recreate this behaviour or is it my hardware setup? |
Got the same issue when using ESP8266WebServer.h Requests from the browser are processed correctly, but after a while sending just stops. debug output:
|
I would even be happy with a workaround... |
I found that it has to do with tcp_output( _pcb ); in ClientContext.h But I don't know how I could debug deeper... |
+1. got a !_pcb during send in a TCP connection. |
@d-a-v is this worth testing with lwip2? |
I figured, that's partly why I'm throwing them your way :) |
I have a strange issue here that I have trouble searching for information on the net.
I found some similar issues but not exactly what I got here...
I am using Arduino 1.6.5 and the latest Arduino-master downloaded today.
The sketch is getting data over UART and outputing a html-table with this data.
As the table is quite big, it is streamed out in bits of about 2k.
During the command "pclient->print(sTable);" the server stops sending data and the table is not updated in the browser.
A new request from the browser works fine. (With an older version of Ardiuno-master the device did reset with wdt_reset.)
debug output on a failing transmission is:
Any idea what error -8 means? Still haven't found good documentation of all this and am not able to track it down in the source code.
It happens in different positions of the transmission and after different time/number of request from the browser.
Transmitting more data seems to make the error appear sooner, but I cannot confirm that for sure.
What's more, I get this debug output
every few minutes, even with the ESP with no activity UART or WiFi. It's basicallly idling.
I cannot find where this is output in the firmware...
I hope that I described this behaviour in an intelligible manner...
best regards,
Bob
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: