{"action":"created","issue":{"url":"https://api.github.com/repos/sta/websocket-sharp/issues/219","repository_url":"https://api.github.com/repos/sta/websocket-sharp","labels_url":"https://api.github.com/repos/sta/websocket-sharp/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/sta/websocket-sharp/issues/219/comments","events_url":"https://api.github.com/repos/sta/websocket-sharp/issues/219/events","html_url":"https://github.com/sta/websocket-sharp/issues/219","id":134761292,"number":219,"title":"An error has occurred during a TLS handshake. (wss)","user":{"login":"teize001","id":3090799,"avatar_url":"https://avatars.githubusercontent.com/u/3090799?v=3","gravatar_id":"","url":"https://api.github.com/users/teize001","html_url":"https://github.com/teize001","followers_url":"https://api.github.com/users/teize001/followers","following_url":"https://api.github.com/users/teize001/following{/other_user}","gists_url":"https://api.github.com/users/teize001/gists{/gist_id}","starred_url":"https://api.github.com/users/teize001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teize001/subscriptions","organizations_url":"https://api.github.com/users/teize001/orgs","repos_url":"https://api.github.com/users/teize001/repos","events_url":"https://api.github.com/users/teize001/events{/privacy}","received_events_url":"https://api.github.com/users/teize001/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-19T03:26:36Z","updated_at":"2016-02-19T03:29:15Z","closed_at":null,"body":"Server: Node + ws (npm)\r\nClient: Unity3D (4.6) + websocket-sharp\r\n\r\nUsually the connection is good. But sometimes (5-10%) you receive this message.\r\n(An error has occurred during a TLS handshake. )\r\nWhen receive this message, handshake is hanged for 3 minutes.\r\n\r\nI found the code.\r\nWebSocket.cs \r\n`\r\nprivate void setClientStream() {\r\n...\r\nsslStream.AuthenticateAsClient(...) <== hang\r\n...\r\n}\r\n`\r\n\r\nIt Is Secured WebSocket has this chronic problem? (.net's bug??... unity3d's old framework)\r\n(https://www.google.co.jp/webhp?sourceid=chrome-instant&ion=1&espv=2&es_th=1&ie=UTF-8#q=AuthenticateAsClient+hang)\r\n\r\nOr, the server's the problem?"},"comment":{"url":"https://api.github.com/repos/sta/websocket-sharp/issues/comments/186030378","html_url":"https://github.com/sta/websocket-sharp/issues/219#issuecomment-186030378","issue_url":"https://api.github.com/repos/sta/websocket-sharp/issues/219","id":186030378,"user":{"login":"pjc0247","id":1961216,"avatar_url":"https://avatars.githubusercontent.com/u/1961216?v=3","gravatar_id":"","url":"https://api.github.com/users/pjc0247","html_url":"https://github.com/pjc0247","followers_url":"https://api.github.com/users/pjc0247/followers","following_url":"https://api.github.com/users/pjc0247/following{/other_user}","gists_url":"https://api.github.com/users/pjc0247/gists{/gist_id}","starred_url":"https://api.github.com/users/pjc0247/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjc0247/subscriptions","organizations_url":"https://api.github.com/users/pjc0247/orgs","repos_url":"https://api.github.com/users/pjc0247/repos","events_url":"https://api.github.com/users/pjc0247/events{/privacy}","received_events_url":"https://api.github.com/users/pjc0247/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T03:29:15Z","updated_at":"2016-02-19T03:29:15Z","body":"I had the same issue, and still being stucked with it.\r\n"}}