fzaninotto / uptime

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

/api/pings resource not available: socket hang up #363

Open vijayk2019 opened 6 years ago

vijayk2019 commented 6 years ago

Most apis failing intermittently. For eg. "/api/checks/needingPoll", "/api/pings" and "/api/checks".

We are getting errors similar to for all apis:

/api/pings resource not available: socket hang up at ClientRequest. (/root/Uptime/lib/monitor.js:202:14) at emitOne (events.js:96:13) at ClientRequest.emit (events.js:188:7) at Socket.socketOnEnd (_http_client.js:345:9) at emitNone (events.js:91:20) at Socket.emit (events.js:185:7) at endReadableNT (_stream_readable.js:974:12) at _combinedTickCallback (internal/process/next_tick.js:80:11) at process._tickCallback (internal/process/next_tick.js:104:9)

Even trying to curl locally doesn't help. Has anyone had this problem?