{"action":"created","issue":{"url":"https://api.github.com/repos/daltoniam/Starscream/issues/290","repository_url":"https://api.github.com/repos/daltoniam/Starscream","labels_url":"https://api.github.com/repos/daltoniam/Starscream/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/daltoniam/Starscream/issues/290/comments","events_url":"https://api.github.com/repos/daltoniam/Starscream/issues/290/events","html_url":"https://github.com/daltoniam/Starscream/issues/290","id":193949582,"number":290,"title":"Help needed - I get Error Domain=WebSocket Code=200 \"Invalid HTTP upgrade\"","user":{"login":"antwerpenR","id":400794,"avatar_url":"https://avatars.githubusercontent.com/u/400794?v=3","gravatar_id":"","url":"https://api.github.com/users/antwerpenR","html_url":"https://github.com/antwerpenR","followers_url":"https://api.github.com/users/antwerpenR/followers","following_url":"https://api.github.com/users/antwerpenR/following{/other_user}","gists_url":"https://api.github.com/users/antwerpenR/gists{/gist_id}","starred_url":"https://api.github.com/users/antwerpenR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antwerpenR/subscriptions","organizations_url":"https://api.github.com/users/antwerpenR/orgs","repos_url":"https://api.github.com/users/antwerpenR/repos","events_url":"https://api.github.com/users/antwerpenR/events{/privacy}","received_events_url":"https://api.github.com/users/antwerpenR/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-07T03:33:16Z","updated_at":"2016-12-07T03:44:39Z","closed_at":"2016-12-07T03:41:39Z","body":"I am trying to use the Meetup.com websocket interface.   Description [here](https://www.meetup.com/meetup_api/docs/stream/2/photos/#websockets)\r\n\r\nVery simple code:\r\n`  let socket = WebSocket(url: URL(string: \"ws://stream.meetup.com/2/photos\")!, protocols: [])\r\n  \r\n  override func viewDidLoad() {\r\n    super.viewDidLoad()\r\n    \r\n    socket.delegate = self\r\n    socket.connect()\r\n  }`\r\n\r\nThe `websocketDidDisconnect` delegate method is the only one to be called:\r\n`websocketDidDisconnect Optional(Error Domain=WebSocket Code=200 \"Invalid HTTP upgrade\" UserInfo={NSLocalizedDescription=Invalid HTTP upgrade})`\r\n\r\nI guess I am doing something wrong but no idea what and the previous issues with this error do not give much help...\r\n"},"comment":{"url":"https://api.github.com/repos/daltoniam/Starscream/issues/comments/265347752","html_url":"https://github.com/daltoniam/Starscream/issues/290#issuecomment-265347752","issue_url":"https://api.github.com/repos/daltoniam/Starscream/issues/290","id":265347752,"user":{"login":"antwerpenR","id":400794,"avatar_url":"https://avatars.githubusercontent.com/u/400794?v=3","gravatar_id":"","url":"https://api.github.com/users/antwerpenR","html_url":"https://github.com/antwerpenR","followers_url":"https://api.github.com/users/antwerpenR/followers","following_url":"https://api.github.com/users/antwerpenR/following{/other_user}","gists_url":"https://api.github.com/users/antwerpenR/gists{/gist_id}","starred_url":"https://api.github.com/users/antwerpenR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antwerpenR/subscriptions","organizations_url":"https://api.github.com/users/antwerpenR/orgs","repos_url":"https://api.github.com/users/antwerpenR/repos","events_url":"https://api.github.com/users/antwerpenR/events{/privacy}","received_events_url":"https://api.github.com/users/antwerpenR/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T03:44:39Z","updated_at":"2016-12-07T03:44:39Z","body":"Perfect - thanks and sorry for for my lack of understanding.  "}}
{"actor":{"display_login":"antwerpenR"}}