It looks like there's a problem with servers not getting cleaned up when the board is reset (for example, when you click "send to Espruino" in the IDE):
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
It looks like there's a problem with servers not getting cleaned up when the board is reset (for example, when you click "send to Espruino" in the IDE):
First time I upload and try to fire up the server, it works. The second time:
It isn't clear to me yet exactly what the key factor is that makes this fail, but the code below readily reproduces it for me. Upload code once.
Request in browser:
(board IP address):7348/status?un=testuser&pw=testpass
Upload code again. Watch for error in console.
Powercycling the board fixes it.
Also, sometimes when I click send to Espruino, the following is printed to console:
Much thanks to everyone for all the work they've put into the ESP32 support.