lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] POST gets stuck after few requests.


From: vysocan
Subject: Re: [lwip-users] POST gets stuck after few requests.
Date: Tue, 4 Feb 2020 04:25:13 -0700 (MST)

Re-posting the debug since raw text was removed...

I have turn on the debugging messages and receiving following for good POST:
/etharp_timer
ethernet_input: dest:C2:AF:51:3:CF:46, src:AC:22:B:4F:46:93, type:800
ethernet_output: sending packet p
ethernet_input: dest:C2:AF:51:3:CF:46, src:AC:22:B:4F:46:93, type:800
http_accept 536924596 / 0
ethernet_input: dest:C2:AF:51:3:CF:46, src:AC:22:B:4F:46:93, type:800
http_recv: pcb=536924596 pbuf=536911128 err=Ok.
Received 513 bytes
First pbuf
CRLF received, parsing request
Received POST request
Received "POST" request for URI: "/index.html"
-PB-connection: 536926136
-PB-uri: /index.html
-PB-http_request: HTTP/1.1
Host: 10.10.10.199
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:72.0) Gecko/20100101
Firefox/72.0
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: cs,sk;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 7
Origin: http://10.10.10.199
DNT: 1
Connection: keep-alive
Referer: http://10.10.10.199/index.html
Upgrade-Insecure-Requests: 1
-PB-http_request_len: 489
-PB-content_len: 7
-PB-response_uri: 
-PB-response_uri_len: 63
-PB-post_auto_wnd: 1
-PD-connection: 536926136
p->payload: A=Apply
p->ref: 3
p->next: 0
p->tot_len: 7
-PE-connection: 536926136
-PE-response_uri: /index.html
Opening /index.html
http_recv: data 536926228 len 1420
http_send: pcb=536924596 hs=536926136 left=1420
Trying to send 17 bytes
Sent 17 bytes
Trying to send 63 bytes
Sent 63 bytes
Trying to send 16 bytes
Sent 16 bytes
Trying to send 6 bytes
Sent 6 bytes
Trying to send 27 bytes
Sent 27 bytes
Trying to send 1420 bytes
Sent 1420 bytes
End of file.
Closing connection 536924596
ethernet_output: sending packet p
ethernet_output: sending packet p
ethernet_input: dest:C2:AF:51:3:CF:46, src:AC:22:B:4F:46:93, type:800
ethernet_input: dest:C2:AF:51:3:CF:46, src:AC:22:B:4F:46:93, type:800
ethernet_output: sending packet p
ethernet_input: dest:C2:AF:51:3:CF:46, src:AC:22:B:4F:46:93, type:800
ethernet_output: sending packet p
ethernet_input: dest:C2:AF:51:3:CF:46, src:AC:22:B:4F:46:93, type:800
http_accept 536924440 / 0
ethernet_input: dest:C2:AF:51:3:CF:46, src:AC:22:B:4F:46:93, type:800
ethernet_output: sending packet p
ethernet_input: dest:C2:AF:51:3:CF:46, src:AC:22:B:4F:46:93, type:800
http_accept 536924284 / 0
http_recv: pcb=536924284 pbuf=536906744 err=Ok.
Received 308 bytes
First pbuf
CRLF received, parsing request
Received GET request"
Received "GET" request for URI: "/js/EnDis.js"
Opening /js/EnDis.js
http_recv: data 134359560 len 230
http_send: pcb=536924284 hs=536926312 left=230
Trying to send 17 bytes
Sent 17 bytes
Trying to send 63 bytes
Sent 63 bytes
Trying to send 40 bytes
Sent 40 bytes
Trying to send 230 bytes
Sent 230 bytes
End of file.
Closing connection 536924284
ethernet_output: sending packet p
ethernet_input: dest:C2:AF:51:3:CF:46, src:AC:22:B:4F:46:93, type:800
ethernet_output: sending packet p
etharp_timer
ethernet_input: dest:C2:AF:51:3:CF:46, src:AC:22:B:4F:46:93, type:800
http_recv: pcb=536924440 pbuf=536906744 err=Ok.
Received 323 bytes
First pbuf
CRLF received, parsing request
Received GET request"
Received "GET" request for URI: "/css/OHS.css"
Opening /css/OHS.css
http_recv: data 134351988 len 2746
http_send: pcb=536924440 hs=536926220 left=2746
Trying to send 17 bytes
Sent 17 bytes
Trying to send 63 bytes
Sent 63 bytes
Trying to send 26 bytes
Sent 26 bytes
Trying to send 1942 bytes
Sent 1942 bytes
send_data end.
ethernet_output: sending packet p
ethernet_output: sending packet p
ethernet_input: dest:C2:AF:51:3:CF:46, src:AC:22:B:4F:46:93, type:800
http_sent 536924440
http_send: pcb=536924440 hs=536926220 left=804
Trying to send 804 bytes
Sent 804 bytes
End of file.
Closing connection 536924440
ethernet_output: sending packet p
ethernet_input: dest:C2:AF:51:3:CF:46, src:AC:22:B:4F:46:93, type:800
ethernet_output: sending packet p
etharp_timer
etharp_timer/

Then after few more POSTs I get this:
/etharp_timer
etharp_timer
ethernet_input: dest:C2:AF:51:3:CF:46, src:AC:22:B:4F:46:93, type:800
ethernet_output: sending packet p
ethernet_input: dest:C2:AF:51:3:CF:46, src:AC:22:B:4F:46:93, type:800
http_accept 536925064 / 0
ethernet_input: dest:C2:AF:51:3:CF:46, src:AC:22:B:4F:46:93, type:800
http_recv: pcb=536925064 pbuf=536906744 err=Ok.
Received 513 bytes
First pbuf
CRLF received, parsing request
Received POST request
Received "POST" request for URI: "/index.html"
-PB-connection: 536926136
-PB-uri: /index.html
-PB-http_request: HTTP/1.1
Host: 10.10.10.199
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:72.0) Gecko/20100101
Firefox/72.0
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: cs,sk;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 7
Origin: http://10.10.10.199
DNT: 1
Connection: keep-alive
Referer: http://10.10.10.199/index.html
Upgrade-Insecure-Requests: 1
-PB-http_request_len: 489
-PB-content_len: 7
-PB-response_uri: 
-PB-response_uri_len: 63
-PB-post_auto_wnd: 1
-PD-connection: 536926136
p->payload: A=Apply
p->ref: 3
p->next: 0
p->tot_len: 7
-PE-connection: 536926136
-PE-response_uri: /index.html
Opening /index.html
http_recv: data 536926228 len 1420
http_send: pcb=536925064 hs=536926136 left=1420
Trying to send 17 bytes
Sent 17 bytes
Trying to send 63 bytes
Sent 63 bytes
Trying to send 16 bytes
Sent 16 bytes
Trying to send 6 bytes
Sent 6 bytes
Trying to send 27 bytes
Sent 27 bytes
Trying to send 1420 bytes
Sent 1420 bytes
End of file.
Closing connection 536925064
ethernet_output: sending packet p
ethernet_output: sending packet p
etharp_timer
etharp_timer
ethernet_output: sending packet p
etharp_timer
etharp_timer
etharp_timer
etharp_timer
etharp_timer
ethernet_output: sending packet p
etharp_timer/

And the lwip is stuck, while other threads work well. I meant that httpd is
no longer responding to any request and also sntp is not able reach remote
server.

Both threads serving lwip, called lwipthread and tcpip_thread are in good
state and not overflooded. 

Any ideas what can be the cause?

Thanks.



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]