-
• #2
Thanks - I'll look into this. It seems to be an issue with the current master branch build.
Can you
git checkout RELEASE_1V99
, thenmake clean
andmake
and it should work for you (I just tested). -
• #3
Ok, I just tracked this down to a PR that was designed to help with testing :/ The latest version should be fixed now.
-
• #4
Works fine, thank you for your quick help!
-
• #5
Now if I quit espruino and restart it, sockets seems to be remained opened in "TIME_WAIT" state, so the new instance is not able to bind to the port.
This happens both in the latest master branch, and in the the RELEASE_1V99. by the time the "RESET" bug was implemented, this does not happened due to the socket reset. Do you have any information, that is this still a linux-related issue (should I set some tcp reuse flag)? (Currently my tcp_tw_reuse flag was set to 1, but it did not solved my problem)
-
• #6
Try a build now - hopefully it'll be a bit better.
-
• #7
Thank you Gordon, it is MUCH better.
Dear Espruino community,
Recently I have started using espruino and wanted to create a simple HTTP server based on the great tutorials provided here https://www.espruino.com/Internet#server .
I am using espruino 1v99 built from source both on Raspberry Pi 3B and x86_64 architecture, but currently I am facing some issues with it.
After creating the WEB server it starts up fine.
Initiating a request fails with RESET:
Can someone help me out? I want to build a RESTful interface using HTTP.
Any help is highly appreciated!