-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
EINVAL during syscall=connect #13431
EINVAL during syscall=connect #13431
Comments
Can you make sure that you can connect to the same host and port combination using other tools, e.g. |
I guess the end-point is an HTTPS one - assumption based on the port number. |
Can you post your code? Are you using the localAddress or localPort options? |
I got this error after the same code executed successfully hundreds of thousands of times. (Sure I can connect with other tools.) I probably should have mentioned in the problem description that this is a sporadic error. In fact this is the first time I saw this error after the same code executed about half a million times without error. (I earlier observed two other errors as well (once each):
https://github.com/pdkovacs/noip-updater/blob/master/src/backend/MyPublicIpChecker.ts#L33
Probably not (not explicitly at least). See above. |
I will, if the error re-occurs at least once more. ;-) |
closing due to inactivity, please re-open with requested data, if still outstanding |
I'm getting this using Linux Subsystem for Windows (WSL). After many https:// outgoing requests, and only when doing hundreds or thousands of them in a short period (but not concurrently, and even with artificially added 100ms pause between requests), the above starts to happen, exactly as described by the author of the bug. The connectivity is cut down both ways (the listening server is also cut off from listening along with all existing connections; which has nothing to do with the client functionality, which is also cut off). Other apps running alongside (some Linux native ones and another NodeJS app) are unaffected, but cannot talk to this one that is showing the above behaviour. If you are not familiar with WSL, it is worth mentioning it does not have the Linux kernel, but an ABI compatible layer, so it could be that NodeJS is not at fault. Just leaving this here, maybe it will help rule out the OS as a culprit after more evidence. |
Linux pici 4.9.27-v7+ #997 SMP Tue May 9 19:58:37 BST 2017 armv7l armv7l armv7l GNU/Linux
I am getting the following error when trying to access a host via HTTP:
The text was updated successfully, but these errors were encountered: