{"action":"created","issue":{"url":"https://api.github.com/repos/kerryjiang/WebSocket4Net/issues/40","repository_url":"https://api.github.com/repos/kerryjiang/WebSocket4Net","labels_url":"https://api.github.com/repos/kerryjiang/WebSocket4Net/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/kerryjiang/WebSocket4Net/issues/40/comments","events_url":"https://api.github.com/repos/kerryjiang/WebSocket4Net/issues/40/events","html_url":"https://github.com/kerryjiang/WebSocket4Net/issues/40","id":109377068,"number":40,"title":"TLS Example","user":{"login":"NVentimiglia","id":125889,"avatar_url":"https://avatars0.githubusercontent.com/u/125889?v=4","gravatar_id":"","url":"https://api.github.com/users/NVentimiglia","html_url":"https://github.com/NVentimiglia","followers_url":"https://api.github.com/users/NVentimiglia/followers","following_url":"https://api.github.com/users/NVentimiglia/following{/other_user}","gists_url":"https://api.github.com/users/NVentimiglia/gists{/gist_id}","starred_url":"https://api.github.com/users/NVentimiglia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NVentimiglia/subscriptions","organizations_url":"https://api.github.com/users/NVentimiglia/orgs","repos_url":"https://api.github.com/users/NVentimiglia/repos","events_url":"https://api.github.com/users/NVentimiglia/events{/privacy}","received_events_url":"https://api.github.com/users/NVentimiglia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2015-10-01T20:29:33Z","updated_at":"2018-03-08T15:28:49Z","closed_at":null,"author_association":"NONE","body":"I am trying to connect to a websocket server using TLS and I am receiving a exception \"The authentication or decryption has failed.\"\n\nThe URI I am passing is :\n\n> \"wss://ortc-developers2-uswest2-s0001.realtime.co:443/broadcast/926/WNWJYJUQ/websocket\"\n\nMy constructor looks like\n\n> _websocket = new WebSocket(uri, SslProtocols.Tls12.ToString(), WebSocketVersion.Rfc6455);\n\n(I am pretty sure this is wrong, but I do not see any docs)\n"},"comment":{"url":"https://api.github.com/repos/kerryjiang/WebSocket4Net/issues/comments/371521501","html_url":"https://github.com/kerryjiang/WebSocket4Net/issues/40#issuecomment-371521501","issue_url":"https://api.github.com/repos/kerryjiang/WebSocket4Net/issues/40","id":371521501,"user":{"login":"lumizila","id":12399493,"avatar_url":"https://avatars2.githubusercontent.com/u/12399493?v=4","gravatar_id":"","url":"https://api.github.com/users/lumizila","html_url":"https://github.com/lumizila","followers_url":"https://api.github.com/users/lumizila/followers","following_url":"https://api.github.com/users/lumizila/following{/other_user}","gists_url":"https://api.github.com/users/lumizila/gists{/gist_id}","starred_url":"https://api.github.com/users/lumizila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lumizila/subscriptions","organizations_url":"https://api.github.com/users/lumizila/orgs","repos_url":"https://api.github.com/users/lumizila/repos","events_url":"https://api.github.com/users/lumizila/events{/privacy}","received_events_url":"https://api.github.com/users/lumizila/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T15:28:48Z","updated_at":"2018-03-08T15:28:48Z","author_association":"NONE","body":"@kerryjiang \r\nHello Kerry, I am trying to use Websocket4net on Unity monodevelop using the following: \r\nwebsocket = new WebSocket(\"wss://emotivcortex.com:54321\")\r\n\r\nThis is giving me the runtime errors:\r\nRemoteCertificateNotAvailable, RemoteCertificateChainErrors\r\nThe authentication or decryption has failed.\r\n\r\nI am new to this, but I think it has something to do with the \"wss\" because when I tried the connection on a \"ws\" server, it worked. \r\nCan you please help me? This was the page that came the closest to my problem, that's why I'm commenting here. Thank you. \r\n"}}
{"actor":{"display_login":"lumizila"}}