-
Notifications
You must be signed in to change notification settings - Fork 834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node Socket timeout #1829
Comments
Repro:
strace:
It doesn't take 21 seconds here, but it definitely burps for over a full second. Node version doesn't matter, natch. The socket sequence is bog straightforward. |
Local was alot quicker, remote ip was what took forever. Try a remote address. |
Yeah, confirmed. 21 seconds on the nose with random |
@sunilmut - |
@Sparticuz - Thanks for the report and thanks @therealkenc for the trace (helpful as always). This looks like a request to support @Sparticuz - Is this blocking any particular scenario for you? Or, just general annoyance because of the wait? Which, I agree, also needs to be addressed.
No, it is just WskConnect timing out after unable to connect. |
Hey, it was a guess. 🙂 Glad you tracked it anyway. |
I'm using a socket to ping a site to see if it's up or not. Just annoying, not necessarily a blocking problem. |
@therealkenc - It was a good one :). @Sparticuz - Thanks for sharing the additional details. We will use that information to prioritize it accordingly. We are aware of this issue or shortcoming, if I may. Thanks for using WSL and please keep the feedback coming. |
Just an update that |
Node's Socket Timeout not being respected.
A near immediate failure (below is Linux kernel 4.10.2-1-ARCH
(It's always 21 seconds)
Your Windows build number
15063
Steps / All commands required to reproduce the error from a brand new installation
node scriptname.js
Required packages and commands to install
node v6.10.1
The text was updated successfully, but these errors were encountered: