-
• #2
I'm heard this before, will have to investigate. Does this capture your issue: https://github.com/espruino/Espruino/issues/809 ?
-
• #3
The thanks. I've add some comments there.
-
• #4
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.
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.