{"action":"created","issue":{"url":"https://api.github.com/repos/egret-labs/egret-ios-support/issues/6","repository_url":"https://api.github.com/repos/egret-labs/egret-ios-support","labels_url":"https://api.github.com/repos/egret-labs/egret-ios-support/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/egret-labs/egret-ios-support/issues/6/comments","events_url":"https://api.github.com/repos/egret-labs/egret-ios-support/issues/6/events","html_url":"https://github.com/egret-labs/egret-ios-support/issues/6","id":253079209,"number":6,"title":"ios wss connect error","user":{"login":"Daley","id":249557,"avatar_url":"https://avatars1.githubusercontent.com/u/249557?v=4","gravatar_id":"","url":"https://api.github.com/users/Daley","html_url":"https://github.com/Daley","followers_url":"https://api.github.com/users/Daley/followers","following_url":"https://api.github.com/users/Daley/following{/other_user}","gists_url":"https://api.github.com/users/Daley/gists{/gist_id}","starred_url":"https://api.github.com/users/Daley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daley/subscriptions","organizations_url":"https://api.github.com/users/Daley/orgs","repos_url":"https://api.github.com/users/Daley/repos","events_url":"https://api.github.com/users/Daley/events{/privacy}","received_events_url":"https://api.github.com/users/Daley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-08-26T09:40:40Z","updated_at":"2017-08-30T03:25:30Z","closed_at":null,"author_association":"NONE","body":"         this.socket = new egret_native.WebSocket(\"wss://zc.wokac.com:3080\");\r\n//         this.socket = new egret_native.WebSocket(\"ws://192.168.0.155:3080\");\r\n            var skt = this.socket;\r\n            skt['onOpen'] = function (e) {\r\n                console.log(\"daley 连接1\" + e);\r\n            };\r\n            skt['onMessage'] = function (e) {            \r\n            };\r\n            skt['onError'] = function (e) {\r\n                console.log(\"daley 连接不上1\" + e);\r\n            };\r\n            skt['onClose'] = function (e) {\r\n                console.log(\"daley 关闭1\" + e);\r\n            };\r\n            console.log(\"daley hello\");"},"comment":{"url":"https://api.github.com/repos/egret-labs/egret-ios-support/issues/comments/325868949","html_url":"https://github.com/egret-labs/egret-ios-support/issues/6#issuecomment-325868949","issue_url":"https://api.github.com/repos/egret-labs/egret-ios-support/issues/6","id":325868949,"user":{"login":"lijianegret","id":18157022,"avatar_url":"https://avatars1.githubusercontent.com/u/18157022?v=4","gravatar_id":"","url":"https://api.github.com/users/lijianegret","html_url":"https://github.com/lijianegret","followers_url":"https://api.github.com/users/lijianegret/followers","following_url":"https://api.github.com/users/lijianegret/following{/other_user}","gists_url":"https://api.github.com/users/lijianegret/gists{/gist_id}","starred_url":"https://api.github.com/users/lijianegret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lijianegret/subscriptions","organizations_url":"https://api.github.com/users/lijianegret/orgs","repos_url":"https://api.github.com/users/lijianegret/repos","events_url":"https://api.github.com/users/lijianegret/events{/privacy}","received_events_url":"https://api.github.com/users/lijianegret/received_events","type":"User","site_admin":false},"created_at":"2017-08-30T03:25:30Z","updated_at":"2017-08-30T03:25:30Z","author_association":"CONTRIBUTOR","body":"@Daley 我们用的是libWebSocket库（https://github.com/warmcat/libwebsockets），我直接用它创建了一个工程，您提供的两个地址都不能连接，客户端这边我们不能进行兼容。\r\n建议您在服务端排查一下，我们已知不能连接的原因有两个：1、有脏数据粘到了请求上。2、对某些头部信息进行了检查，但是iOS中不能提供。"}}
{"actor":{"display_login":"lijianegret"}}