{"action":"created","issue":{"url":"https://api.github.com/repos/crossbario/autobahn-python/issues/547","labels_url":"https://api.github.com/repos/crossbario/autobahn-python/issues/547/labels{/name}","comments_url":"https://api.github.com/repos/crossbario/autobahn-python/issues/547/comments","events_url":"https://api.github.com/repos/crossbario/autobahn-python/issues/547/events","html_url":"https://github.com/crossbario/autobahn-python/issues/547","id":116728066,"number":547,"title":"Wrong txaio backend is used","user":{"login":"hlamer","id":419720,"avatar_url":"https://avatars.githubusercontent.com/u/419720?v=3","gravatar_id":"","url":"https://api.github.com/users/hlamer","html_url":"https://github.com/hlamer","followers_url":"https://api.github.com/users/hlamer/followers","following_url":"https://api.github.com/users/hlamer/following{/other_user}","gists_url":"https://api.github.com/users/hlamer/gists{/gist_id}","starred_url":"https://api.github.com/users/hlamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlamer/subscriptions","organizations_url":"https://api.github.com/users/hlamer/orgs","repos_url":"https://api.github.com/users/hlamer/repos","events_url":"https://api.github.com/users/hlamer/events{/privacy}","received_events_url":"https://api.github.com/users/hlamer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-13T09:05:42Z","updated_at":"2015-11-13T16:11:02Z","closed_at":null,"body":"I got a very interesting bug.\r\n\r\nThe project works on Python3 and asyncio. But Twisted is also installed. txaio chose twisted as default backend.\r\nI use `autobahn.asyncio.websocket`. It works at most fine. Only autoping functionality got broken because autoping is scheduled with twisted version of call_later. The bug was discovered a few month after it has appeared.\r\n\r\nI fixed this situation with manual `txaio.use_asyncio()` call, however would be better if `autobahn.asyncio.websocket` checks if txaio `using_asyncio()` and either configures txaio or fails loudly."},"comment":{"url":"https://api.github.com/repos/crossbario/autobahn-python/issues/comments/156475599","html_url":"https://github.com/crossbario/autobahn-python/issues/547#issuecomment-156475599","issue_url":"https://api.github.com/repos/crossbario/autobahn-python/issues/547","id":156475599,"user":{"login":"meejah","id":145599,"avatar_url":"https://avatars.githubusercontent.com/u/145599?v=3","gravatar_id":"","url":"https://api.github.com/users/meejah","html_url":"https://github.com/meejah","followers_url":"https://api.github.com/users/meejah/followers","following_url":"https://api.github.com/users/meejah/following{/other_user}","gists_url":"https://api.github.com/users/meejah/gists{/gist_id}","starred_url":"https://api.github.com/users/meejah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meejah/subscriptions","organizations_url":"https://api.github.com/users/meejah/orgs","repos_url":"https://api.github.com/users/meejah/repos","events_url":"https://api.github.com/users/meejah/events{/privacy}","received_events_url":"https://api.github.com/users/meejah/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T16:11:02Z","updated_at":"2015-11-13T16:11:02Z","body":"(Either way, though, there should probably be some kind of check in ``autobahn.asyncio.*`` somewhere)"}}