expressjs / express

Fast, unopinionated, minimalist web framework for node.
https://expressjs.com
MIT License
65.14k stars 15.59k forks source link

Error: read ECONNRESET #3066

Closed enzobes closed 8 years ago

enzobes commented 8 years ago

Hi, i have this error when i lunch my crawler for Vinted website. But i have this error a lot of time : first i have this : Error: getaddrinfo ENOTFOUND www.vinted.fr www.vinted.fr:443 Then

...
Error: read ECONNRESET   
Error: read ECONNRESET
Error: read ECONNRESET
Error: read ECONNRESET
Error: read ECONNRESET
...

and sometimes

Error: socket hang up
Error: socket hang up
Error: socket hang up

But my crawler works and return me the good results for some products and stop after 10 min about. I think is because i send too much resquest but i need it ... I am completely stuck with all these error

Thanks for your help.

blakeembrey commented 8 years ago

This doesn't sound related to Express. For general questions, I'd recommend posting on StackOverflow.

Edit: But this error is a network issue. You are having network connectivity issues. Consider rate-limiting your requests so you don't run into this, I found a large number of requests on versions of node will cause this an error from DNS resolution.