fzaninotto / uptime

A remote monitoring application using Node.js, MongoDB, and Twitter Bootstrap.
http://fzaninotto.github.com/uptime/
MIT License
3.62k stars 707 forks source link

needingPoll endpoint responded with error code: 504 #362

Open sharathshashidhar opened 6 years ago

sharathshashidhar commented 6 years ago

Hi,

Here's the error i am getting when i start the app in a linux machine.

Error: http://localhost:8082/api/checks/needingPoll resource responded with error code: 504 at ClientRequest. (/home/uptime/lib/monitor.js:92:23) at Object.onceWrapper (events.js:293:19) at emitOne (events.js:96:13) at ClientRequest.emit (events.js:191:7) at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:522:21) at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) at Socket.socketOnData (_http_client.js:411:20) at emitOne (events.js:96:13) at Socket.emit (events.js:191:7) at readableAddChunk (_stream_readable.js:178:18)

I have not added any proxy.

curl yahoo.com works as expected

I am trying to monitor internal sites. Can you please help?

Thanks & Regards Sharath

vijayk2019 commented 6 years ago

@sharathshashidhar Were you able to solve this issue? I am facing similar issue.