{"action":"created","issue":{"url":"https://api.github.com/repos/typicode/hotel/issues/180","repository_url":"https://api.github.com/repos/typicode/hotel","labels_url":"https://api.github.com/repos/typicode/hotel/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/typicode/hotel/issues/180/comments","events_url":"https://api.github.com/repos/typicode/hotel/issues/180/events","html_url":"https://github.com/typicode/hotel/issues/180","id":212544859,"number":180,"title":"Crashing - not sure of the cause","user":{"login":"inspiredbytes","id":613574,"avatar_url":"https://avatars0.githubusercontent.com/u/613574?v=3","gravatar_id":"","url":"https://api.github.com/users/inspiredbytes","html_url":"https://github.com/inspiredbytes","followers_url":"https://api.github.com/users/inspiredbytes/followers","following_url":"https://api.github.com/users/inspiredbytes/following{/other_user}","gists_url":"https://api.github.com/users/inspiredbytes/gists{/gist_id}","starred_url":"https://api.github.com/users/inspiredbytes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspiredbytes/subscriptions","organizations_url":"https://api.github.com/users/inspiredbytes/orgs","repos_url":"https://api.github.com/users/inspiredbytes/repos","events_url":"https://api.github.com/users/inspiredbytes/events{/privacy}","received_events_url":"https://api.github.com/users/inspiredbytes/received_events","type":"User","site_admin":false},"labels":[{"id":216763685,"url":"https://api.github.com/repos/typicode/hotel/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-03-07T20:11:16Z","updated_at":"2017-03-08T17:02:36Z","closed_at":null,"body":"I'm trying to use hotel for some NodeBB development.  I've added the server via `hotel add 'node app.js' --port 4567`\r\n\r\nA couple of seconds after starting hotel crashes. \r\n\r\nI've pasted the full ~/.hotel/daemon.log\r\n```\r\n7 Mar 14:03:02 - Watching /Users/me/.hotel/servers\r\n7 Mar 14:03:02 - /Users/me/.hotel/servers/nodebb.json added\r\n7 Mar 14:03:02 - Add server nodebb\r\ncreate /Users/me/.hotel/daemon.pid 66917\r\n7 Mar 14:03:02 - Server listening on port 127.0.0.1:2000\r\n7 Mar 14:03:02 - /Users/me/.hotel/servers/nodebb.json added\r\n7 Mar 14:03:02 - Add server nodebb\r\n7 Mar 14:03:23 - Resolve nodebb\r\n7 Mar 14:03:23 - nodebb has started\r\n7 Mar 14:03:31 - Resolve nodebb\r\n7 Mar 14:03:31 - Proxy http://nodebb.dev to http://localhost:4567\r\n7 Mar 14:03:31 - Resolve nodebb\r\n7 Mar 14:03:31 - Proxy http://nodebb.dev to http://localhost:4567\r\n7 Mar 14:03:31 - Resolve nodebb\r\n7 Mar 14:03:31 - Resolve nodebb\r\n7 Mar 14:03:31 - Proxy http://nodebb.dev to http://localhost:4567\r\n7 Mar 14:03:31 - Proxy http://nodebb.dev to http://localhost:4567\r\n7 Mar 14:03:32 - Resolve nodebb\r\n7 Mar 14:03:32 - Proxy http://nodebb.dev to http://localhost:4567\r\n7 Mar 14:03:32 - Resolve nodebb\r\n7 Mar 14:03:32 - Proxy http://nodebb.dev to http://localhost:4567\r\n7 Mar 14:03:32 - Resolve nodebb\r\n7 Mar 14:03:32 - Proxy http://nodebb.dev to http://localhost:4567\r\n7 Mar 14:03:32 - Resolve nodebb\r\n7 Mar 14:03:32 - Proxy http://nodebb.dev to http://localhost:4567\r\n7 Mar 14:03:32 - Resolve nodebb\r\n(node:66917) Warning: Possible EventEmitter memory leak detected. 11 stop listeners added. Use emitter.setMaxListeners() to increase limit\r\n7 Mar 14:03:32 - Proxy http://nodebb.dev to http://localhost:4567\r\n7 Mar 14:03:32 - Resolve nodebb\r\n7 Mar 14:03:32 - Proxy http://nodebb.dev to http://localhost:4567\r\n7 Mar 14:03:32 - Resolve nodebb\r\n7 Mar 14:03:32 - Proxy http://nodebb.dev to http://localhost:4567\r\n7 Mar 14:03:32 - Resolve nodebb\r\n7 Mar 14:03:32 - Proxy http://nodebb.dev to http://localhost:4567\r\n7 Mar 14:03:32 - Resolve nodebb\r\n7 Mar 14:03:32 - Proxy http://nodebb.dev to http://localhost:4567\r\n7 Mar 14:03:32 - Resolve nodebb\r\n7 Mar 14:03:32 - Proxy http://nodebb.dev to http://localhost:4567\r\n7 Mar 14:03:33 - Resolve nodebb\r\n7 Mar 14:03:33 - Resolve nodebb\r\n7 Mar 14:03:33 - Proxy http://nodebb.dev to http://localhost:4567\r\n7 Mar 14:03:33 - Proxy http://nodebb.dev to http://localhost:4567\r\n7 Mar 14:03:33 - Resolve nodebb\r\n7 Mar 14:03:33 - WebSocket - proxy WebSocket to ws://127.0.0.1:undefined\r\n7 Mar 14:03:33 - Resolve nodebb\r\n7 Mar 14:03:33 - Resolve nodebb\r\n7 Mar 14:03:33 - Resolve nodebb\r\n7 Mar 14:03:33 - Proxy error - connect ECONNREFUSED 127.0.0.1:80\r\nExiting\r\nStop daemon\r\nRemove pid file\r\n/Users/me/.nvm/versions/node/v6.9.1/lib/node_modules/hotel/lib/daemon/group.js:277\r\n      var msg = errorMsg(err, req.hotel.item);\r\n                                       ^\r\n\r\nTypeError: Cannot read property 'item' of undefined\r\n    at ProxyServer.handleProxyError (/Users/me/.nvm/versions/node/v6.9.1/lib/node_modules/hotel/lib/daemon/group.js:277:40)\r\n    at ProxyServer.emit (/Users/me/.nvm/versions/node/v6.9.1/lib/node_modules/hotel/node_modules/eventemitter3/index.js:144:27)\r\n    at ClientRequest.onOutgoingError (/Users/me/.nvm/versions/node/v6.9.1/lib/node_modules/hotel/node_modules/http-proxy/lib/http-proxy/passes/ws-incoming.js:151:16)\r\n    at emitOne (events.js:96:13)\r\n    at ClientRequest.emit (events.js:188:7)\r\n    at Socket.socketErrorListener (_http_client.js:310:9)\r\n    at emitOne (events.js:96:13)\r\n    at Socket.emit (events.js:188:7)\r\n    at emitErrorNT (net.js:1276:8)\r\n    at _combinedTickCallback (internal/process/next_tick.js:74:11)\r\n```"},"comment":{"url":"https://api.github.com/repos/typicode/hotel/issues/comments/285101231","html_url":"https://github.com/typicode/hotel/issues/180#issuecomment-285101231","issue_url":"https://api.github.com/repos/typicode/hotel/issues/180","id":285101231,"user":{"login":"inspiredbytes","id":613574,"avatar_url":"https://avatars0.githubusercontent.com/u/613574?v=3","gravatar_id":"","url":"https://api.github.com/users/inspiredbytes","html_url":"https://github.com/inspiredbytes","followers_url":"https://api.github.com/users/inspiredbytes/followers","following_url":"https://api.github.com/users/inspiredbytes/following{/other_user}","gists_url":"https://api.github.com/users/inspiredbytes/gists{/gist_id}","starred_url":"https://api.github.com/users/inspiredbytes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspiredbytes/subscriptions","organizations_url":"https://api.github.com/users/inspiredbytes/orgs","repos_url":"https://api.github.com/users/inspiredbytes/repos","events_url":"https://api.github.com/users/inspiredbytes/events{/privacy}","received_events_url":"https://api.github.com/users/inspiredbytes/received_events","type":"User","site_admin":false},"created_at":"2017-03-08T17:02:36Z","updated_at":"2017-03-08T17:02:36Z","body":"I was using Valet as a general purpose tool for php development with .dev domains.\r\nIn this particular case I was using CraftCMS which is actually based on Symphony. \r\nhttps://craftcms.com/docs/installing\r\nhttps://3redkites.com/blog/entry/craft-cms-with-laravel-valet-how-to-setup-local-web-development-environment-on-a-mac/\r\n\r\nThat said, I just ran a quick install with Composer using that documentation and it worked fine with valet. \r\n\r\n"}}
{"actor":{"display_login":"inspiredbytes"}}