{"action":"created","issue":{"url":"https://api.github.com/repos/HenningM/express-ws/issues/59","repository_url":"https://api.github.com/repos/HenningM/express-ws","labels_url":"https://api.github.com/repos/HenningM/express-ws/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/HenningM/express-ws/issues/59/comments","events_url":"https://api.github.com/repos/HenningM/express-ws/issues/59/events","html_url":"https://github.com/HenningM/express-ws/issues/59","id":208569978,"number":59,"title":"Getting error with simple config on existing Express4 app","user":{"login":"jrgleason","id":1319151,"avatar_url":"https://avatars.githubusercontent.com/u/1319151?v=3","gravatar_id":"","url":"https://api.github.com/users/jrgleason","html_url":"https://github.com/jrgleason","followers_url":"https://api.github.com/users/jrgleason/followers","following_url":"https://api.github.com/users/jrgleason/following{/other_user}","gists_url":"https://api.github.com/users/jrgleason/gists{/gist_id}","starred_url":"https://api.github.com/users/jrgleason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrgleason/subscriptions","organizations_url":"https://api.github.com/users/jrgleason/orgs","repos_url":"https://api.github.com/users/jrgleason/repos","events_url":"https://api.github.com/users/jrgleason/events{/privacy}","received_events_url":"https://api.github.com/users/jrgleason/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-17T22:02:21Z","updated_at":"2017-02-23T13:25:20Z","closed_at":null,"body":"I have an express4 app and I add the following to my app...\r\n\r\n```\r\nrequire('express-ws')(app);\r\napp.ws('/ws', function(ws, req) {\r\n  ws.on('message', function(msg) {\r\n    ws.send(msg);\r\n  });\r\n});\r\n```\r\n\r\nThen I run the app. However, when I try to connect to the websocket I get the following...\r\n\r\n\r\n```TypeError: Cannot read property 'length' of null\r\n    at ServerResponse.OutgoingMessage._send (_http_outgoing.js:138:38)```"},"comment":{"url":"https://api.github.com/repos/HenningM/express-ws/issues/comments/281990527","html_url":"https://github.com/HenningM/express-ws/issues/59#issuecomment-281990527","issue_url":"https://api.github.com/repos/HenningM/express-ws/issues/59","id":281990527,"user":{"login":"joepie91","id":1663259,"avatar_url":"https://avatars.githubusercontent.com/u/1663259?v=3","gravatar_id":"","url":"https://api.github.com/users/joepie91","html_url":"https://github.com/joepie91","followers_url":"https://api.github.com/users/joepie91/followers","following_url":"https://api.github.com/users/joepie91/following{/other_user}","gists_url":"https://api.github.com/users/joepie91/gists{/gist_id}","starred_url":"https://api.github.com/users/joepie91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joepie91/subscriptions","organizations_url":"https://api.github.com/users/joepie91/orgs","repos_url":"https://api.github.com/users/joepie91/repos","events_url":"https://api.github.com/users/joepie91/events{/privacy}","received_events_url":"https://api.github.com/users/joepie91/received_events","type":"User","site_admin":false},"created_at":"2017-02-23T13:25:20Z","updated_at":"2017-02-23T13:25:20Z","body":"Your stacktrace seems to be incomplete. Can you provide the full error message and stack trace, as well as the Node.js version that you're experiencing this issue on?"}}
{"actor":{"display_login":"joepie91"}}