You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've started seeing this error fairly reliably. It seems to happen when I send lots of requests in a row within a short time frame. Any thoughts?
Unhandled rejection StatusCodeError: 504 - {"message":"Endpoint request timed out"}
at new StatusCodeError (/app/node_modules/request-promise/lib/errors.js:32:15)
at Request.RP$callback as _callback
at Request.self.callback (/app/node_modules/request/request.js:200:22)
at emitTwo (events.js:100:13)
at Request.emit (events.js:185:7)
at Request. (/app/node_modules/request/request.js:1067:10)
at emitOne (events.js:95:20)
at Request.emit (events.js:182:7)
at IncomingMessage. (/app/node_modules/request/request.js:988:12)
at emitNone (events.js:85:20)
at IncomingMessage.emit (events.js:179:7)
at endReadableNT (_stream_readable.js:913:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickDomainCallback (internal/process/next_tick.js:122:9)
The text was updated successfully, but these errors were encountered:
Well, that is a very low level issue that may even be caused by the endpoint (server) and not your request itself. For some reason your request doesn't complete and you get a 504. This could be either because the server really does not respond because of the high workload and the request times out – see the timeout option – or your node.js isn't configured well – see issue #133 in regard to the pool option.
Although you would rather get an ECONNRESET if the endpoint actually drops the connection, I wouldn't rule that out.
The best next step for you would be to activate the debugging output to get a better picture about what is going on.
I've started seeing this error fairly reliably. It seems to happen when I send lots of requests in a row within a short time frame. Any thoughts?
Unhandled rejection StatusCodeError: 504 - {"message":"Endpoint request timed out"}
at new StatusCodeError (/app/node_modules/request-promise/lib/errors.js:32:15)
at Request.RP$callback as _callback
at Request.self.callback (/app/node_modules/request/request.js:200:22)
at emitTwo (events.js:100:13)
at Request.emit (events.js:185:7)
at Request. (/app/node_modules/request/request.js:1067:10)
at emitOne (events.js:95:20)
at Request.emit (events.js:182:7)
at IncomingMessage. (/app/node_modules/request/request.js:988:12)
at emitNone (events.js:85:20)
at IncomingMessage.emit (events.js:179:7)
at endReadableNT (_stream_readable.js:913:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickDomainCallback (internal/process/next_tick.js:122:9)
The text was updated successfully, but these errors were encountered: