{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1639","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1639/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1639/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1639/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/1639","id":90796753,"number":1639,"title":"gulp proxy does not work with websockets","user":{"login":"gmarziou","id":361007,"avatar_url":"https://avatars.githubusercontent.com/u/361007?v=3","gravatar_id":"","url":"https://api.github.com/users/gmarziou","html_url":"https://github.com/gmarziou","followers_url":"https://api.github.com/users/gmarziou/followers","following_url":"https://api.github.com/users/gmarziou/following{/other_user}","gists_url":"https://api.github.com/users/gmarziou/gists{/gist_id}","starred_url":"https://api.github.com/users/gmarziou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmarziou/subscriptions","organizations_url":"https://api.github.com/users/gmarziou/orgs","repos_url":"https://api.github.com/users/gmarziou/repos","events_url":"https://api.github.com/users/gmarziou/events{/privacy}","received_events_url":"https://api.github.com/users/gmarziou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-24T22:40:26Z","updated_at":"2015-06-25T09:08:50Z","closed_at":null,"body":"First time, I use gulp and websockets and I got this error in Firefox console:\r\n\r\n~~~~\r\nGET http://localhost:9000/websocket/tracker/726/qt_z_ydt/websocket [0ms]\r\n00:28:39.417 Firefox can't establish a connection to the server at ws://localhost:9000/websocket/tracker/726/qt_z_ydt/websocket.1 sockjs.js:1213:0\r\n~~~~\r\n\r\nSo it would seem that gulp proxy cannot proxy ws protocol or maybe there is something to configure, I did not dig further."},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/115176792","html_url":"https://github.com/jhipster/generator-jhipster/issues/1639#issuecomment-115176792","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1639","id":115176792,"user":{"login":"gmarziou","id":361007,"avatar_url":"https://avatars.githubusercontent.com/u/361007?v=3","gravatar_id":"","url":"https://api.github.com/users/gmarziou","html_url":"https://github.com/gmarziou","followers_url":"https://api.github.com/users/gmarziou/followers","following_url":"https://api.github.com/users/gmarziou/following{/other_user}","gists_url":"https://api.github.com/users/gmarziou/gists{/gist_id}","starred_url":"https://api.github.com/users/gmarziou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmarziou/subscriptions","organizations_url":"https://api.github.com/users/gmarziou/orgs","repos_url":"https://api.github.com/users/gmarziou/repos","events_url":"https://api.github.com/users/gmarziou/events{/privacy}","received_events_url":"https://api.github.com/users/gmarziou/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T09:08:50Z","updated_at":"2015-06-25T09:08:50Z","body":"For PR#1508, I added /websocket/tracker to the URL to be proxied by gulp but this worked only for http not ws. \r\nSince BrowserSync feature was added, our grunt file is different with regards to proxying, so maybe there's something to dig."}}