request / request-promise

The simplified HTTP request client 'request' with Promise support. Powered by Bluebird.
ISC License
4.77k stars 297 forks source link

Error promise.all 404 randomly #281

Closed JamilOmar closed 5 years ago

JamilOmar commented 6 years ago

I am performing a promise.all to perform parallels tasks, sometimes unexpectedly a random 404 error appears even with the correct http address

analog-nico commented 5 years ago

If you get a 404 error as a regular StatusCodeError then most likely all went as expected on your side. I recommend that you debug your server or if you don’t have access to it, monitor the HTTP traffic using WireShark for example. This will give you more insight into why the server sends a 404.