-
Notifications
You must be signed in to change notification settings - Fork 3.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
request get ESOCKETTIMEDOUT #2676
Comments
@Fov6363 I have the same problem, have you fixed? |
@liujb I update redis conf, set the timeout 0 |
I have solve the problem, It's not about the request. Nginx's problem. |
me too
|
I found this because the server used the proxy |
@liujb Hello, you said it is Nginx's problem. How do you fix this problem? |
ESOCKETTIMEDOUT is connection timeouts or read timeouts? |
I found if there are too many async requests, then this exception happens in linux. The workaround I've found is doing this: setting this options:
Now the timeout can be lying so you might need to increase it. |
I got this error, sometimes with another error.
|
Is anyone still having this issue? I'm sending a lot of requests at once and am having it. |
The same is here - with single put request to node express -based worker. Suggested agent: false, pool: {maxSockets: 100} in request options didn't help. Any suggestions from mantainers? |
|
It happens to me with P.S. We did a workaround by implementing retries for failed requests. |
Hi, I'm having a connection timeout sometimes due to an unidentified network issue, and I would like to timeout as fast as I can to be able to retry the request without having to wait for the full timeout that is considering the time to receive the answer. |
fix to:
|
How does this helps setting separate timeouts? |
It doesn't look like a fix for ESOCKETTIMEDOUT for me either. @hktalent can you give more info on this please? |
Also having this issue. I send out thousands of requests every minute; after about 1 week of running all the connections just immediately start responding with |
@SirLancelot-OG did you solve it? |
I poll data every minute, looks like there were some APIs sporadically slowing down and causing the total request to run over a minute which stacked up and led to timeouts. Didn't have the proper logging in place. Have now moved to using websockets for my data! |
I get this issue with every request consistently. I will make a request and the request does pipe and complete. But if timeout is 10 seconds, I will allows get an 'ESOCKETTIMEDOUT' after 10 seconds of a single request. |
Anyone fixed this? |
how to solve the Nginx's problem |
We are having this and it is failing builds... what is this mysterious mystical nginx fix?? |
facing this issue recently. anyone can help ? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
env:
and use express:4.13.4,
I find some log:
I look the source code,get a lot annotation:
so i want to why the reason and how to fix the bug;
and i don't know how to trigger it,i only find it in log or find request is error;
thanks;
The text was updated successfully, but these errors were encountered: