{"action":"created","issue":{"url":"https://api.github.com/repos/ziyasal/hapijs-status-monitor/issues/4","repository_url":"https://api.github.com/repos/ziyasal/hapijs-status-monitor","labels_url":"https://api.github.com/repos/ziyasal/hapijs-status-monitor/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/ziyasal/hapijs-status-monitor/issues/4/comments","events_url":"https://api.github.com/repos/ziyasal/hapijs-status-monitor/issues/4/events","html_url":"https://github.com/ziyasal/hapijs-status-monitor/issues/4","id":173057357,"number":4,"title":"resp.once is not a function error thrown","user":{"login":"jrcastillo","id":9206779,"avatar_url":"https://avatars.githubusercontent.com/u/9206779?v=3","gravatar_id":"","url":"https://api.github.com/users/jrcastillo","html_url":"https://github.com/jrcastillo","followers_url":"https://api.github.com/users/jrcastillo/followers","following_url":"https://api.github.com/users/jrcastillo/following{/other_user}","gists_url":"https://api.github.com/users/jrcastillo/gists{/gist_id}","starred_url":"https://api.github.com/users/jrcastillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrcastillo/subscriptions","organizations_url":"https://api.github.com/users/jrcastillo/orgs","repos_url":"https://api.github.com/users/jrcastillo/repos","events_url":"https://api.github.com/users/jrcastillo/events{/privacy}","received_events_url":"https://api.github.com/users/jrcastillo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-24T21:02:14Z","updated_at":"2016-08-30T15:57:49Z","closed_at":null,"body":"This error occurs after starting the server and request the route `/status`. The stack trace is the following:\r\n```\r\nDebug: internal, implementation, error \r\n    TypeError: Uncaught error: resp.once is not a function\r\n    at /home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapijs-status-monitor/index.js:112:10\r\n    at /home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/request.js:402:22\r\n    at iterate (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/node_modules/items/lib/index.js:36:13)\r\n    at Object.exports.serial (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/node_modules/items/lib/index.js:39:9)\r\n    at /home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/request.js:397:15\r\n    at internals.Protect.run.finish [as run] (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/protect.js:64:5)\r\n    at internals.Request.internals.Request._execute.internals.Request._lifecycle.internals.Request._invoke.callback._protect.run [as _invoke] (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/request.js:395:19)\r\n    at internals.Request.internals.Request._execute.internals.Request._lifecycle.internals.Request._invoke.internals.Request._reply.exit [as _reply] (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/request.js:454:10)\r\n    at /home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/request.js:388:21\r\n    at done (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/node_modules/items/lib/index.js:31:25)\r\n    at finalize (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/handler.js:21:16)\r\n    at /home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/protect.js:52:16\r\n    at wrapped (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/node_modules/hoek/lib/index.js:867:20)\r\n    at finalize (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/handler.js:82:20)\r\n    at Function.wrapped [as _next] (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/node_modules/hoek/lib/index.js:867:20)\r\n    at Function.internals.Reply.interface.internals.response (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/reply.js:137:14)\r\n    at reply (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/reply.js:70:22)\r\n    at internals.Connection._init.internals.Connection._start.internals.Connection._stop.internals.Connection._dispatch.internals.Connection.inject.internals.notFound (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/connection.js:397:12)\r\n    at Object.exports.execute.internals.prerequisites.internals.handler.callback [as handler] (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/handler.js:96:36)\r\n    at /home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/handler.js:30:23\r\n    at internals.Protect.run.finish [as run] (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/protect.js:64:5)\r\n    at exports.execute.finalize (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/handler.js:24:22)\r\n    at each (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/request.js:383:16)\r\n    at iterate (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/node_modules/items/lib/index.js:36:13)\r\n    at Object.exports.serial (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/node_modules/items/lib/index.js:39:9)\r\n    at internals.Request.internals.Request._execute.internals.Request._lifecycle.each [as _lifecycle] (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/request.js:386:11)\r\n    at internals.Request.internals.Request._execute (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/request.js:301:21)\r\n    at Domain.<anonymous> (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/connection.js:244:25)\r\n    at Domain.run (domain.js:228:14)\r\n    at internals.Protect.run.internals.Protect.enter (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/protect.js:80:17)\r\n    at Server.<anonymous> (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapi/lib/connection.js:242:30)\r\n    at Server.<anonymous> (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapijs-status-monitor/node_modules/socket.io/node_modules/engine.io/lib/server.js:435:22)\r\n    at Server.<anonymous> (/home/ramon/Desktop/ZOI/ZOI3/zoi-api/node_modules/hapijs-status-monitor/node_modules/socket.io/lib/index.js:260:16)\r\n    at emitTwo (events.js:87:13)\r\n    at Server.emit (events.js:172:7)\r\n    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:528:12)\r\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:103:23)\r\n```"},"comment":{"url":"https://api.github.com/repos/ziyasal/hapijs-status-monitor/issues/comments/243488682","html_url":"https://github.com/ziyasal/hapijs-status-monitor/issues/4#issuecomment-243488682","issue_url":"https://api.github.com/repos/ziyasal/hapijs-status-monitor/issues/4","id":243488682,"user":{"login":"jrcastillo","id":9206779,"avatar_url":"https://avatars.githubusercontent.com/u/9206779?v=3","gravatar_id":"","url":"https://api.github.com/users/jrcastillo","html_url":"https://github.com/jrcastillo","followers_url":"https://api.github.com/users/jrcastillo/followers","following_url":"https://api.github.com/users/jrcastillo/following{/other_user}","gists_url":"https://api.github.com/users/jrcastillo/gists{/gist_id}","starred_url":"https://api.github.com/users/jrcastillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrcastillo/subscriptions","organizations_url":"https://api.github.com/users/jrcastillo/orgs","repos_url":"https://api.github.com/users/jrcastillo/repos","events_url":"https://api.github.com/users/jrcastillo/events{/privacy}","received_events_url":"https://api.github.com/users/jrcastillo/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T15:57:49Z","updated_at":"2016-08-30T15:57:49Z","body":"It's weird, for me it happens for the route given out in the documentation `/status` and does not record any type of metrics or profiling. Can't figure out whats happening. I'm using `jwt` for route authentication but since `/status` is used internally for this plugin, there is no explicit implementation of `jwt`"}}
{"actor":{"display_login":"jrcastillo"}}