{"action":"created","issue":{"url":"https://api.github.com/repos/crossbario/autobahn-python/issues/936","repository_url":"https://api.github.com/repos/crossbario/autobahn-python","labels_url":"https://api.github.com/repos/crossbario/autobahn-python/issues/936/labels{/name}","comments_url":"https://api.github.com/repos/crossbario/autobahn-python/issues/936/comments","events_url":"https://api.github.com/repos/crossbario/autobahn-python/issues/936/events","html_url":"https://github.com/crossbario/autobahn-python/issues/936","id":281925095,"number":936,"title":"Secure WebSocket connection error on twisted version","user":{"login":"spiiin","id":1622049,"avatar_url":"https://avatars0.githubusercontent.com/u/1622049?v=4","gravatar_id":"","url":"https://api.github.com/users/spiiin","html_url":"https://github.com/spiiin","followers_url":"https://api.github.com/users/spiiin/followers","following_url":"https://api.github.com/users/spiiin/following{/other_user}","gists_url":"https://api.github.com/users/spiiin/gists{/gist_id}","starred_url":"https://api.github.com/users/spiiin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spiiin/subscriptions","organizations_url":"https://api.github.com/users/spiiin/orgs","repos_url":"https://api.github.com/users/spiiin/repos","events_url":"https://api.github.com/users/spiiin/events{/privacy}","received_events_url":"https://api.github.com/users/spiiin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-12-13T22:54:24Z","updated_at":"2017-12-14T00:41:36Z","closed_at":null,"author_association":"NONE","body":"I try to connect to my remote router:\r\nhttps://gist.github.com/spiiin/5f425e2c769e766bb5fb8d4a51b65bbc\r\nI have ssl-certificate on router valid for name \"example.com\", but looks like this code, try to connect via IP-address, not via server name so I have ssl verification error (I think, i see any logs, but only forever connection attempt)\r\n\r\nI check code with Python 2.7 & Python 3.6 on windows and ubuntu, using version of autobahn installed via pip, nothing works.\r\n\r\nIf I change first line of code to:\r\n`from autobahn.asyncio.wamp import ApplicationRunner`\r\nconnection established as expected, so, possible, bug in twisted library. I normally connects to remote router via domain name, but not via ip (as expected - certificate valid for domain name only).\r\n\r\nI also check this idea with autobahn-js - default router page https://example.com:8080/frontend.html connects as expected, but http://1.2.3.4:8080/frontend.html (where 1.2.3.4 - ip of my example server) shows me \"SSL_ERROR_BAD_CERT_DOMAIN - certificate valid only for name: example.com\"\r\n"},"comment":{"url":"https://api.github.com/repos/crossbario/autobahn-python/issues/comments/351571914","html_url":"https://github.com/crossbario/autobahn-python/issues/936#issuecomment-351571914","issue_url":"https://api.github.com/repos/crossbario/autobahn-python/issues/936","id":351571914,"user":{"login":"oberstet","id":233340,"avatar_url":"https://avatars3.githubusercontent.com/u/233340?v=4","gravatar_id":"","url":"https://api.github.com/users/oberstet","html_url":"https://github.com/oberstet","followers_url":"https://api.github.com/users/oberstet/followers","following_url":"https://api.github.com/users/oberstet/following{/other_user}","gists_url":"https://api.github.com/users/oberstet/gists{/gist_id}","starred_url":"https://api.github.com/users/oberstet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oberstet/subscriptions","organizations_url":"https://api.github.com/users/oberstet/orgs","repos_url":"https://api.github.com/users/oberstet/repos","events_url":"https://api.github.com/users/oberstet/events{/privacy}","received_events_url":"https://api.github.com/users/oberstet/received_events","type":"User","site_admin":false},"created_at":"2017-12-14T00:41:36Z","updated_at":"2017-12-14T00:41:36Z","author_association":"OWNER","body":"fun with x509;) here is a long shot: use \"example.com\" in url when contructing app runner, but patch in your IP for host below this line https://github.com/crossbario/autobahn-python/blob/master/autobahn/twisted/wamp.py#L264"}}
{"actor":{"display_login":"oberstet"}}