Skip to content

Instantly share code, notes, and snippets.

@bfaloona

bfaloona/console Secret

Created August 23, 2016 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bfaloona/05c887159357aac56f07900e03587fb6 to your computer and use it in GitHub Desktop.
Save bfaloona/05c887159357aac56f07900e03587fb6 to your computer and use it in GitHub Desktop.
nightscout 500 error heroku log
baldwin:cgm-remote-monitor brandon$ heroku logs
2016-08-23T18:27:10.520735+00:00 app[web.1]: ensuring index for: hidden
2016-08-23T18:27:10.651222+00:00 app[web.1]: Fetching new token
2016-08-23T18:27:10.905496+00:00 app[web.1]: API_SECRET f636661431500db568bfae7fe937ebec7d0c4a0e
2016-08-23T18:27:10.862429+00:00 app[web.1]: tick Tue Aug 23 2016 18:27:10 GMT+0000 (UTC)
2016-08-23T18:27:10.905774+00:00 app[web.1]: enabling feature: careportal
2016-08-23T18:27:10.860279+00:00 app[web.1]: MiniMed Connect not enabled
2016-08-23T18:27:10.905912+00:00 app[web.1]: enabling feature: bridge
2016-08-23T18:27:10.905914+00:00 app[web.1]: enabling feature: iob
2016-08-23T18:27:10.906031+00:00 app[web.1]: enabling feature: pump
2016-08-23T18:27:10.906149+00:00 app[web.1]: enabling feature: bwp
2016-08-23T18:27:10.906031+00:00 app[web.1]: enabling feature: openaps
2016-08-23T18:27:10.906029+00:00 app[web.1]: enabling feature: maker
2016-08-23T18:27:10.906147+00:00 app[web.1]: enabling feature: basal
2016-08-23T18:27:10.906280+00:00 app[web.1]: enabling feature: boluscalc
2016-08-23T18:27:10.906651+00:00 app[web.1]: enabling feature: direction
2016-08-23T18:27:10.906282+00:00 app[web.1]: enabling feature: treatmentnotify
2016-08-23T18:27:10.906281+00:00 app[web.1]: enabling feature: errorcodes
2016-08-23T18:27:10.906381+00:00 app[web.1]: enabling feature: delta
2016-08-23T18:27:10.907101+00:00 app[web.1]: enabling feature: devicestatus
2016-08-23T18:27:10.907102+00:00 app[web.1]: enabling feature: upbat
2016-08-23T18:27:11.019704+00:00 app[web.1]: Tue, 23 Aug 2016 18:27:11 GMT body-parser deprecated undefined extended: provide extended option at node_modules/body-parser/index.js:105:29
2016-08-23T18:27:10.907200+00:00 app[web.1]: enabling feature: profile
2016-08-23T18:27:10.907201+00:00 app[web.1]: enabling feature: simplealarms
2016-08-23T18:27:11.019705+00:00 app[web.1]: Tue, 23 Aug 2016 18:27:11 GMT body-parser deprecated bodyParser: use individual json/urlencoded middlewares at lib/api/treatments/index.js:44:38
2016-08-23T18:27:11.019700+00:00 app[web.1]: Tue, 23 Aug 2016 18:27:11 GMT body-parser deprecated bodyParser: use individual json/urlencoded middlewares at lib/api/treatments/index.js:10:17
2016-08-23T18:27:11.031691+00:00 app[web.1]: Tue, 23 Aug 2016 18:27:11 GMT body-parser deprecated bodyParser: use individual json/urlencoded middlewares at app.js:33:22
2016-08-23T18:27:10.906652+00:00 app[web.1]: enabling feature: timeago
2016-08-23T18:27:11.087724+00:00 app[web.1]: /app/node_modules/browserify-express/node_modules/watchr/node_modules/taskgroup/node_modules/ambi/source/index.js:5
2016-08-23T18:27:11.088023+00:00 app[web.1]: module.exports = function ambi (method, ...args) {
2016-08-23T18:27:11.088171+00:00 app[web.1]: ^
2016-08-23T18:27:11.087720+00:00 app[web.1]:
2016-08-23T18:27:10.906149+00:00 app[web.1]: enabling feature: cob
2016-08-23T18:27:11.491826+00:00 app[web.1]: Listening on port 7469
2016-08-23T18:27:14.893024+00:00 app[web.1]: WS: Connection from client ID: XiVPWsBWBA8Ihe0gAAAA IP: 75.83.224.50
2016-08-23T18:27:14.861260+00:00 app[web.1]: RUNNING 0 failures 0
2016-08-23T18:27:14.861271+00:00 app[web.1]: First run, fetching 3
2016-08-23T18:27:14.882716+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LQufy8j" host=nightscout-lp.herokuapp.com request_id=76630698-f070-4d41-b061-24dbfd756af3 fwd="75.83.224.50" dyno=web.1 connect=0ms service=1376ms status=200 bytes=306
2016-08-23T18:27:15.346768+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LQug0HR&sid=XiVPWsBWBA8Ihe0gAAAA" host=nightscout-lp.herokuapp.com request_id=36483e2f-4be9-4a2e-8589-6cb0f59807ce fwd="75.83.224.50" dyno=web.1 connect=0ms service=307ms status=200 bytes=228
2016-08-23T18:27:15.569769+00:00 app[web.1]: Load Complete:
2016-08-23T18:27:15.569779+00:00 app[web.1]: sgvs:456, treatments:200, profiles:1, devicestatus:233, tempbasalTreatments:62, tempTargetTreatments:3
2016-08-23T18:27:15.609713+00:00 app[web.1]: TypeError: Cannot read property 'time' of null
2016-08-23T18:27:15.609719+00:00 app[web.1]: at fromDeviceStatus (/app/lib/plugins/iob.js:82:17)
2016-08-23T18:27:15.609720+00:00 app[web.1]: at arrayMap (/app/node_modules/lodash/lodash.js:574:23)
2016-08-23T18:27:15.609721+00:00 app[web.1]: at Function.map (/app/node_modules/lodash/lodash.js:8851:14)
2016-08-23T18:27:15.609721+00:00 app[web.1]: at interceptor (/app/node_modules/lodash/lodash.js:16292:35)
2016-08-23T18:27:15.609722+00:00 app[web.1]: at /app/node_modules/lodash/lodash.js:3899:28
2016-08-23T18:27:15.609722+00:00 app[web.1]: at thru (/app/node_modules/lodash/lodash.js:8089:14)
2016-08-23T18:27:15.609723+00:00 app[web.1]: at arrayReduce (/app/node_modules/lodash/lodash.js:618:21)
2016-08-23T18:27:15.609724+00:00 app[web.1]: at baseWrapperValue (/app/node_modules/lodash/lodash.js:3898:14)
2016-08-23T18:27:15.609725+00:00 app[web.1]: at LazyWrapper.lazyValue [as value] (/app/node_modules/lodash/lodash.js:1652:16)
2016-08-23T18:27:15.609727+00:00 app[web.1]: at Object.lastIOBDeviceStatus (/app/lib/plugins/iob.js:67:8)
2016-08-23T18:27:15.609726+00:00 app[web.1]: at baseWrapperValue (/app/node_modules/lodash/lodash.js:3896:25)
2016-08-23T18:27:15.609726+00:00 app[web.1]: at LodashWrapper.wrapperValue (/app/node_modules/lodash/lodash.js:8345:14)
2016-08-23T18:27:15.609728+00:00 app[web.1]: at Object.calcTotal (/app/lib/plugins/iob.js:29:22)
2016-08-23T18:27:15.609728+00:00 app[web.1]: at setIOB (/app/lib/plugins/iob.js:20:18)
2016-08-23T18:27:15.609729+00:00 app[web.1]: at Object.offerProperty (/app/lib/sandbox.js:111:19)
2016-08-23T18:27:15.609729+00:00 app[web.1]: at Object.setProperties (/app/lib/plugins/iob.js:19:9)
2016-08-23T18:27:15.609730+00:00 app[web.1]: at eachPlugin (/app/lib/plugins/index.js:123:16)
2016-08-23T18:27:15.609730+00:00 app[web.1]: at arrayEach (/app/node_modules/lodash/lodash.js:451:11)
2016-08-23T18:27:15.609731+00:00 app[web.1]: at Function.forEach (/app/node_modules/lodash/lodash.js:8634:14)
2016-08-23T18:27:15.609732+00:00 app[web.1]: at Function.setProperties (/app/lib/plugins/index.js:121:13)
2016-08-23T18:27:15.609732+00:00 app[web.1]: at Function.eachEnabledPlugin (/app/lib/plugins/index.js:98:7)
2016-08-23T18:27:15.609733+00:00 app[web.1]: at Stream.updatePlugins (/app/lib/bootevent.js:106:19)
2016-08-23T18:27:15.609734+00:00 app[web.1]: at Stream.emit (events.js:92:17)
2016-08-23T18:27:15.609734+00:00 app[web.1]: at dataUpdated (/app/lib/bootevent.js:90:17)
2016-08-23T18:27:15.609735+00:00 app[web.1]: at loadComplete (/app/lib/data/dataloader.js:45:7)
2016-08-23T18:27:15.609735+00:00 app[web.1]: at /app/node_modules/async/lib/async.js:251:17
2016-08-23T18:27:15.609736+00:00 app[web.1]: at done (/app/node_modules/async/lib/async.js:132:19)
2016-08-23T18:27:15.609736+00:00 app[web.1]: at /app/node_modules/async/lib/async.js:32:16
2016-08-23T18:27:15.609737+00:00 app[web.1]: at /app/node_modules/async/lib/async.js:248:21
2016-08-23T18:27:15.609738+00:00 app[web.1]: at /app/lib/data/dataloader.js:247:5
2016-08-23T18:27:15.609738+00:00 app[web.1]: at /app/node_modules/async/lib/async.js:572:34
2016-08-23T18:27:15.609739+00:00 app[web.1]: at toArray (/app/lib/devicestatus.js:55:9)
2016-08-23T18:27:15.609740+00:00 app[web.1]: at handleCallback (/app/node_modules/mongodb/lib/utils.js:96:12)
2016-08-23T18:27:15.609740+00:00 app[web.1]: at /app/node_modules/mongodb/lib/cursor.js:839:16
2016-08-23T18:27:15.609742+00:00 app[web.1]: at setCursorDeadAndNotified (/app/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:501:3)
2016-08-23T18:27:15.609742+00:00 app[web.1]: at nextFunction (/app/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:652:7)
2016-08-23T18:27:15.609741+00:00 app[web.1]: at handleCallback (/app/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:159:5)
2016-08-23T18:27:15.609743+00:00 app[web.1]: at Cursor.next [as _next] (/app/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:693:3)
2016-08-23T18:27:15.609744+00:00 app[web.1]: at handleCallback (/app/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:159:5)
2016-08-23T18:27:15.609744+00:00 app[web.1]: at /app/node_modules/mongodb/lib/cursor.js:858:7
2016-08-23T18:27:15.609745+00:00 app[web.1]: at nextFunction (/app/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:683:5)
2016-08-23T18:27:15.609743+00:00 app[web.1]: at fetchDocs (/app/node_modules/mongodb/lib/cursor.js:835:10)
2016-08-23T18:27:15.609746+00:00 app[web.1]: at /app/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:585:7
2016-08-23T18:27:15.609746+00:00 app[web.1]: at queryCallback (/app/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:241:5)
2016-08-23T18:27:15.609747+00:00 app[web.1]: at Callbacks.emit (/app/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:119:3)
2016-08-23T18:27:15.609749+00:00 app[web.1]: at Socket.<anonymous> (/app/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:211:18)
2016-08-23T18:27:15.609748+00:00 app[web.1]: at null.messageHandler (/app/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:358:23)
2016-08-23T18:27:15.609750+00:00 app[web.1]: at Socket.<anonymous> (_stream_readable.js:765:14)
2016-08-23T18:27:15.609750+00:00 app[web.1]: at Socket.emit (events.js:95:17)
2016-08-23T18:27:15.609751+00:00 app[web.1]: at Socket.emit (events.js:92:17)
2016-08-23T18:27:15.609751+00:00 app[web.1]: at emitReadable_ (_stream_readable.js:427:10)
2016-08-23T18:27:15.609752+00:00 app[web.1]: at emitReadable (_stream_readable.js:423:5)
2016-08-23T18:27:15.609753+00:00 app[web.1]: at readableAddChunk (_stream_readable.js:166:9)
2016-08-23T18:27:15.609753+00:00 app[web.1]: at Socket.Readable.push (_stream_readable.js:128:10)
2016-08-23T18:27:15.624944+00:00 app[web.1]: error: Forever detected script exited with code: 8
2016-08-23T18:27:15.609754+00:00 app[web.1]: at TCP.onread (net.js:529:21)
2016-08-23T18:27:15.627642+00:00 app[web.1]: error: Script restart attempt #331
2016-08-23T18:27:15.662123+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=websocket&sid=XiVPWsBWBA8Ihe0gAAAA" host=nightscout-lp.herokuapp.com request_id=6e3ed6c3-a302-4a94-80a5-80ee2d486b39 fwd="75.83.224.50" dyno=web.1 connect=0ms service=459ms status=101 bytes=175
2016-08-23T18:27:15.618780+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=POST path="/socket.io/?EIO=3&transport=polling&t=LQug0Nm&sid=XiVPWsBWBA8Ihe0gAAAA" host=nightscout-lp.herokuapp.com request_id=579cc1b0-0923-41eb-bd3e-53ff459c5c63 fwd="75.83.224.50" dyno=web.1 connect=0ms service=184ms status=503 bytes=0
2016-08-23T18:27:15.618910+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/socket.io/?EIO=3&transport=polling&t=LQug0Nm.0&sid=XiVPWsBWBA8Ihe0gAAAA" host=nightscout-lp.herokuapp.com request_id=c3e44c5f-f1ab-4bcb-a48c-7d274ef4cf73 fwd="75.83.224.50" dyno=web.1 connect=0ms service=86ms status=503 bytes=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment