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
/root/node_modules/node-uptime/node_modules/mongoose/lib/utils.js:410
throw err;
^
Error: Can't set headers after they are sent.
at ServerResponse.OutgoingMessage.setHeader (http.js:724:11)
at ServerResponse.res.setHeader (/root/node_modules/node-uptime/node_modules/express/node_modules/connect/lib/patch.js:59:22)
at ServerResponse.res.set.res.header (/root/node_modules/node-uptime/node_modules/express/lib/response.js:514:10)
at ServerResponse.res.send (/root/node_modules/node-uptime/node_modules/express/lib/response.js:126:10)
at ServerResponse.res.json (/root/node_modules/node-uptime/node_modules/express/lib/response.js:192:15)
at Promise. (/root/node_modules/node-uptime/app/api/routes/check.js:36:11)
at Promise. (/root/node_modules/node-uptime/node_modules/mongoose/lib/promise.js:128:8)
at Promise.emit (events.js:95:17)
at Promise.emit (/root/node_modules/node-uptime/node_modules/mongoose/lib/promise.js:66:38)
at Promise.complete (/root/node_modules/node-uptime/node_modules/mongoose/lib/promise.js:77:20)
The text was updated successfully, but these errors were encountered:
node app.js
Monitor origin started
info - socket.io started
Express server listening on port 80 in development mode
[Error: http://localhost/api/checks/needingPoll resource responded with error code: 404]
Mongoose: pings.ensureIndex({ timestamp: -1 }) { safe: true, background: true }
Mongoose: pings.ensureIndex({ check: 1 }) { safe: true, background: true }
Mongoose: checkevents.ensureIndex({ timestamp: -1, check: 1 }) { safe: true, background: true }
Mongoose: checkhourlystats.ensureIndex({ timestamp: -1, check: 1 }) { safe: true, background: true, unique: true }
Mongoose: checkdailystats.ensureIndex({ timestamp: -1, check: 1 }) { safe: true, background: true, unique: true }
Mongoose: checkmonthlystats.ensureIndex({ timestamp: -1, check: 1 }) { safe: true, background: true, unique: true }
Mongoose: checkyearlystats.ensureIndex({ timestamp: -1, check: 1 }) { safe: true, background: true, unique: true }
Mongoose: taghourlystats.ensureIndex({ timestamp: -1, name: 1 }) { safe: true, background: true, unique: true }
Mongoose: tagdailystats.ensureIndex({ timestamp: -1, name: 1 }) { safe: true, background: true, unique: true }
Mongoose: tagmonthlystats.ensureIndex({ timestamp: -1, name: 1 }) { safe: true, background: true, unique: true }
Mongoose: tagyearlystats.ensureIndex({ timestamp: -1, name: 1 }) { safe: true, background: true, unique: true }
Mongoose: tags.ensureIndex({ name: 1 }) { safe: true, background: true, unique: true }
Mongoose: checks.find({ '$where': 'function () {\n if (this.isPaused) return false;\n if (!this.firstTested) return true;\n var delay = (this.lastTested.getTime() - this.firstTested.getTime()) % this.interval;\n return (Date.now() - this.lastTested.getTime() + delay) >= (this.interval || 60000);\n}' }) { fields: { qos: 0 }, safe: true }
/root/node_modules/node-uptime/node_modules/mongoose/lib/utils.js:410
throw err;
^
Error: Can't set headers after they are sent.
at ServerResponse.OutgoingMessage.setHeader (http.js:724:11)
at ServerResponse.res.setHeader (/root/node_modules/node-uptime/node_modules/express/node_modules/connect/lib/patch.js:59:22)
at ServerResponse.res.set.res.header (/root/node_modules/node-uptime/node_modules/express/lib/response.js:514:10)
at ServerResponse.res.send (/root/node_modules/node-uptime/node_modules/express/lib/response.js:126:10)
at ServerResponse.res.json (/root/node_modules/node-uptime/node_modules/express/lib/response.js:192:15)
at Promise. (/root/node_modules/node-uptime/app/api/routes/check.js:36:11)
at Promise. (/root/node_modules/node-uptime/node_modules/mongoose/lib/promise.js:128:8)
at Promise.emit (events.js:95:17)
at Promise.emit (/root/node_modules/node-uptime/node_modules/mongoose/lib/promise.js:66:38)
at Promise.complete (/root/node_modules/node-uptime/node_modules/mongoose/lib/promise.js:77:20)
The text was updated successfully, but these errors were encountered: