{"action":"created","issue":{"url":"https://api.github.com/repos/node-red/node-red/issues/1717","repository_url":"https://api.github.com/repos/node-red/node-red","labels_url":"https://api.github.com/repos/node-red/node-red/issues/1717/labels{/name}","comments_url":"https://api.github.com/repos/node-red/node-red/issues/1717/comments","events_url":"https://api.github.com/repos/node-red/node-red/issues/1717/events","html_url":"https://github.com/node-red/node-red/issues/1717","id":320517952,"number":1717,"title":"All WebSockets fail to connect with \"Invalid frame header\" after any deploy. Only node-red restart fixes.","user":{"login":"Deggle","id":6651579,"avatar_url":"https://avatars0.githubusercontent.com/u/6651579?v=4","gravatar_id":"","url":"https://api.github.com/users/Deggle","html_url":"https://github.com/Deggle","followers_url":"https://api.github.com/users/Deggle/followers","following_url":"https://api.github.com/users/Deggle/following{/other_user}","gists_url":"https://api.github.com/users/Deggle/gists{/gist_id}","starred_url":"https://api.github.com/users/Deggle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deggle/subscriptions","organizations_url":"https://api.github.com/users/Deggle/orgs","repos_url":"https://api.github.com/users/Deggle/repos","events_url":"https://api.github.com/users/Deggle/events{/privacy}","received_events_url":"https://api.github.com/users/Deggle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-05T15:28:59Z","updated_at":"2018-05-05T15:34:32Z","closed_at":null,"author_association":"NONE","body":"\r\n### What are the steps to reproduce?\r\n\r\n1. Create web socket nodes.\r\n2. User browser to connect (e.g. http://websocket.org/echo.html)\r\n3. Websocket seems to work, disconnect and reconnects fine.\r\n4. Move node to enable \"Deploy\" button.\r\n5. Deploy change.\r\n6. Websocket fails to connect with console error.\r\n\r\nI was originally running via a reverse proxy which I assumed was causing this, but I've moved to direct (just on the same LAN) connection to HTTPS/WSS (also same with HTTP/WS) and it's still happening.\r\n\r\nFrom trial and error I learnt that it's fine after restarting node-red but once a deploy has happened it breaks it. I did wonder if this only happened if there was a live connection that got cut off when it deployed but tested that and it still breaks even if you restart, open admin, deploy, then try to connect.\r\n\r\nAssume this can't be a common issue as it would be very immediately apparent to other uesrs too!?\r\n\r\n### What happens?\r\n\r\n**VM150:164 WebSocket connection to 'wss://xxx/yyy' failed: Invalid frame header**\r\n\r\n### What do you expect to happen?\r\n\r\nIt to connect correctly and not display error.\r\n\r\n### Please tell us about your environment:\r\n\r\n- [X] Node-RED version: 0.18.4\r\n- [X] node.js version: 8.11.1\r\n- [X] npm version: 5.6.0\r\n- [X] Platform/OS: Windows Server\r\n- [X] Browser: Chrome (same issue on many others)\r\n"},"comment":{"url":"https://api.github.com/repos/node-red/node-red/issues/comments/386813738","html_url":"https://github.com/node-red/node-red/issues/1717#issuecomment-386813738","issue_url":"https://api.github.com/repos/node-red/node-red/issues/1717","id":386813738,"user":{"login":"knolleary","id":51083,"avatar_url":"https://avatars2.githubusercontent.com/u/51083?v=4","gravatar_id":"","url":"https://api.github.com/users/knolleary","html_url":"https://github.com/knolleary","followers_url":"https://api.github.com/users/knolleary/followers","following_url":"https://api.github.com/users/knolleary/following{/other_user}","gists_url":"https://api.github.com/users/knolleary/gists{/gist_id}","starred_url":"https://api.github.com/users/knolleary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knolleary/subscriptions","organizations_url":"https://api.github.com/users/knolleary/orgs","repos_url":"https://api.github.com/users/knolleary/repos","events_url":"https://api.github.com/users/knolleary/events{/privacy}","received_events_url":"https://api.github.com/users/knolleary/received_events","type":"User","site_admin":false},"created_at":"2018-05-05T15:34:32Z","updated_at":"2018-05-05T15:34:32Z","author_association":"OWNER","body":"Just to clarify, this is a websocket node connecting out to a remote server, rather than an inbound connection?"}}
{"actor":{"display_login":"knolleary"}}