-
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 getting ESOCKETTIMEDOUT consistently when all other clients work (http://www.bestbuy.com) #2738
Comments
It would be nice to have some feedback on this ESOCKETTIMEOUT issue since I got it too and I don't found any way to solve this issue without changing this module. Is the ESOCKETTIMEOUT related to an issue with the socket pooling ? I thought soo so I did disable socket pooling in node with `var http = require('http'); var https = require('https'); but it didn't change anything about not getting the ESOCKETTIMEOUT someone as a solution for this error ? |
same issue for me |
I found if there are too many async requests, then ESOCKETTIMEDOUT exception happens in linux. The workaround I've found is doing this: setting this options to request():
Notice that after that, the timeout can be lying so you might need to increase it. |
Same issue here +1 |
I think bestbuy.com may be blocking the request due to the default headers being sent from request. If the request is made with the same headers that the axios request is sending, it does not time out:
|
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. |
Hello,
very easy to reproduce and always happens!
outputs:
My environment is node 7.7.2/8.3.0 and request@2.81.0
The text was updated successfully, but these errors were encountered: