{"action":"created","issue":{"url":"https://api.github.com/repos/socketio/socket.io-client-swift/issues/421","repository_url":"https://api.github.com/repos/socketio/socket.io-client-swift","labels_url":"https://api.github.com/repos/socketio/socket.io-client-swift/issues/421/labels{/name}","comments_url":"https://api.github.com/repos/socketio/socket.io-client-swift/issues/421/comments","events_url":"https://api.github.com/repos/socketio/socket.io-client-swift/issues/421/events","html_url":"https://github.com/socketio/socket.io-client-swift/issues/421","id":165274035,"number":421,"title":"WebSocket doesn't connect through proxy","user":{"login":"oinsider","id":645151,"avatar_url":"https://avatars3.githubusercontent.com/u/645151?v=4","gravatar_id":"","url":"https://api.github.com/users/oinsider","html_url":"https://github.com/oinsider","followers_url":"https://api.github.com/users/oinsider/followers","following_url":"https://api.github.com/users/oinsider/following{/other_user}","gists_url":"https://api.github.com/users/oinsider/gists{/gist_id}","starred_url":"https://api.github.com/users/oinsider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oinsider/subscriptions","organizations_url":"https://api.github.com/users/oinsider/orgs","repos_url":"https://api.github.com/users/oinsider/repos","events_url":"https://api.github.com/users/oinsider/events{/privacy}","received_events_url":"https://api.github.com/users/oinsider/received_events","type":"User","site_admin":false},"labels":[{"id":182892964,"url":"https://api.github.com/repos/socketio/socket.io-client-swift/labels/bug","name":"bug","color":"fc2929","default":true},{"id":182892966,"url":"https://api.github.com/repos/socketio/socket.io-client-swift/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":185760788,"url":"https://api.github.com/repos/socketio/socket.io-client-swift/labels/on%20hold","name":"on hold","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-13T09:15:14Z","updated_at":"2018-03-15T17:12:51Z","closed_at":null,"author_association":"NONE","body":"Hi to the socket.io community, \n\nI am trying to connect my app to a socket.io server, behind an elb and a haproxy. The configuration with the sockets should be ok because the web and android clients are already upgrading to websockets. \n\nThe connection fallbacks to polling all the time, and I get multiple connect events and sometimes I still get Session ID unknown errors. This happens when the server sends a 500 error and the app tries to reconnect, receiving error 400. \n\nThe strange thing is that as soon as I launch the app, I get an endEncountered event in the public func stream(_ aStream: Stream, handle eventCode: Stream.Event) function in the WebSocket.swift file, even if I don´t force the websockets. \n\n<img width=\"1331\" alt=\"captura de pantalla 2016-07-13 a las 10 48 58\" src=\"https://cloud.githubusercontent.com/assets/645151/16797789/5ec6d54a-48e9-11e6-9a8c-fc8409cedc8e.png\">\n\nThe issue is happening with the 6.1.4 and the swift 3 versions of the socket.io-client-swift. The version in the servers socket.io should be the 1.4.8 or 1.4.7.\n\nThanks\n"},"comment":{"url":"https://api.github.com/repos/socketio/socket.io-client-swift/issues/comments/373453568","html_url":"https://github.com/socketio/socket.io-client-swift/issues/421#issuecomment-373453568","issue_url":"https://api.github.com/repos/socketio/socket.io-client-swift/issues/421","id":373453568,"user":{"login":"nuclearace","id":1211049,"avatar_url":"https://avatars0.githubusercontent.com/u/1211049?v=4","gravatar_id":"","url":"https://api.github.com/users/nuclearace","html_url":"https://github.com/nuclearace","followers_url":"https://api.github.com/users/nuclearace/followers","following_url":"https://api.github.com/users/nuclearace/following{/other_user}","gists_url":"https://api.github.com/users/nuclearace/gists{/gist_id}","starred_url":"https://api.github.com/users/nuclearace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuclearace/subscriptions","organizations_url":"https://api.github.com/users/nuclearace/orgs","repos_url":"https://api.github.com/users/nuclearace/repos","events_url":"https://api.github.com/users/nuclearace/events{/privacy}","received_events_url":"https://api.github.com/users/nuclearace/received_events","type":"User","site_admin":false},"created_at":"2018-03-15T17:12:51Z","updated_at":"2018-03-15T17:12:51Z","author_association":"MEMBER","body":"It's still blocked by the dependency."}}
{"actor":{"display_login":"nuclearace"}}