Out of sockets error #5261
Unanswered
espruino-discuss
asked this question in
ESP8266
Replies: 1 comment
-
Posted at 2016-02-23 by tve I'm heard this before, will have to investigate. Does this capture your issue: espruino/Espruino#809 ? Posted at 2016-02-23 by Wilberforce The thanks. I've add some comments there. Posted at 2016-02-23 by DrAzzy I've seen the same behavior. It isn't consistent - sometimes it happens, sometimes it doesn't. But lots of uploads from the webide which create a server seems to be key. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-02-22 by Wilberforce
When testing and debugging, after a while to http server code fails to start with an out of sockets error.
This happens after a number of uploads from the web ide.
I believe it is due to the old http server sessions not shutting down properly.
I have my board set up so it auto joins my local wifi.
At the moment I just hit the reset button on the board, and re upload, however it would be handy to shutdown the connections cleanly. Can this be down with an E.event on after a .reset?
Wifi.disconnect and wifi.connect() does do the job, however it would be great if an event could trigger.
Beta Was this translation helpful? Give feedback.
All reactions