client disconnect cause wdt reset
client disconnect cause wdt reset
Postby doughboy » Thu Mar 05, 2015 1:08 pm
in server mode, if I use curl to connect to server, then I do CTRL-C on curl, the server will wdt reset and program stops running.
I think server must not hang if client disconnects. Actually since the client initiated the connection, the client rightfully should be able to disconnect without causing any problem on the server.
+IPD,0,80:GET /test HTTP/1.1
User-Agent: curl/7.33.0
Host: 192.168.1.11
Accept: */*
0,CONNECT FAIL
ets Jan 8 2013,rst cause:4, boot mode:(1,1)
wdt reset
Re: client disconnect cause wdt reset
Postby ESP_Faye » Tue Mar 17, 2015 11:02 am
Sorry for the inconvenience..
Please have a try with the attachment.
- Attachments
-
- test_at_150317.zip
- (168.85 KiB) Downloaded 1245 times
Re: client disconnect cause wdt reset
Postby jayc75 » Thu Mar 19, 2015 4:55 pm
output is below....
Code: Select all
0,CONNECT
+IPD,0,29:GET /Hello World HTTP/1.0
AT+CIPSEND=0,235
1,CONNECT
+IPD,1,29:GET /Hello World HTTP/1.0
+IPD,1,29:GET /Hello World HTTP/1.0
AT+CIPSEND=1,235
3,CONNECT
+IPD,3,29:GET /Hello World HTTP/1.0
AT+CIPSEND=3,235
4,CONNECT
+IPD,4,29:GET /Hello World HTTP/1.0
AT+CIPSEND=4,235
any idea ???????
thanks,
Re: client disconnect cause wdt reset
Postby jayc75 » Fri Mar 20, 2015 2:25 am
the same test and program i shared in this topic:
viewtopic.php?f=16&t=243
or you can download the program i use directly from this link:
download/file.php?id=231
Basically start your ESP8266 and start the Server at Port 80, then start the StressTestNetworkWinForm.exe and change the IP Address to your ESP8266, keep everything else as is and hit Start, keep it running and you will notice how it will freeze at some point.
Next to test the Multiple channel issue start another instance of the StressTestNetworkWinForm.exe and hit start while both running and watch how the ESP8266 will freeze when it reaches multiple Channeld ID.
i hope this helps.
btw: if you want the source code of StressTestNetworkWinForm.exe please let me know and i'll be happy to share it, it is built using C# and Visual Studio.
If you have any questions please let me know!
- Attachments
-
- stresstest.PNG (81.34 KiB) Viewed 17279 times
Re: client disconnect cause wdt reset
Postby doughboy » Fri Mar 20, 2015 4:13 am
with the latest AT firmware, the first connection is still able to send a response, but second connection is not.
if I specify a CIPSTO, then the server continues to work after the timeout period has elapsed.
Re: client disconnect cause wdt reset
Postby jayc75 » Fri Mar 20, 2015 6:32 am
when I tried setting CIPSTO=10 it helped and it does continue to send on the first Channel ID but not the other channels. I also noticed how it chocks every time it gets a second Simultaneous request while using the timeout CIPSTO=10.
I hope this gets fixed soon...
Who is online
Users browsing this forum: No registered users and 5 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.