{"action":"created","issue":{"url":"https://api.github.com/repos/django/daphne/issues/206","repository_url":"https://api.github.com/repos/django/daphne","labels_url":"https://api.github.com/repos/django/daphne/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/django/daphne/issues/206/comments","events_url":"https://api.github.com/repos/django/daphne/issues/206/events","html_url":"https://github.com/django/daphne/issues/206","id":325975357,"number":206,"title":"AttributeError: 'NoneType' object has no attribute 'done'","user":{"login":"em1208","id":14072653,"avatar_url":"https://avatars0.githubusercontent.com/u/14072653?v=4","gravatar_id":"","url":"https://api.github.com/users/em1208","html_url":"https://github.com/em1208","followers_url":"https://api.github.com/users/em1208/followers","following_url":"https://api.github.com/users/em1208/following{/other_user}","gists_url":"https://api.github.com/users/em1208/gists{/gist_id}","starred_url":"https://api.github.com/users/em1208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/em1208/subscriptions","organizations_url":"https://api.github.com/users/em1208/orgs","repos_url":"https://api.github.com/users/em1208/repos","events_url":"https://api.github.com/users/em1208/events{/privacy}","received_events_url":"https://api.github.com/users/em1208/received_events","type":"User","site_admin":false},"labels":[{"id":439649777,"url":"https://api.github.com/repos/django/daphne/labels/blocked/user-response","name":"blocked/user-response","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-24T06:02:33Z","updated_at":"2018-05-24T08:43:11Z","closed_at":null,"author_association":"NONE","body":"I'm running daphne 2.1.1 under nginx proxy. When I connect to the websocket I get this error:\r\n\r\nERROR 2018-05-24 05:46:01,284 base_events 22 140015681480448 Exception in callback AsyncioSelectorReactor.callLater.<locals>.run() at /usr/local/lib/python3.5/site-packages/twisted/internet/asyncioreactor.py:287\r\nhandle: <TimerHandle when=599743.236895389 AsyncioSelectorReactor.callLater.<locals>.run() at /usr/local/lib/python3.5/site-packages/twisted/internet/asyncioreactor.py:287>\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.5/asyncio/events.py\", line 127, in _run\r\n    self._callback(*self._args)\r\n  File \"/usr/local/lib/python3.5/site-packages/twisted/internet/asyncioreactor.py\", line 290, in run\r\n    f(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.5/site-packages/daphne/server.py\", line 213, in application_checker\r\n    if not application_instance.done():\r\nAttributeError: 'NoneType' object has no attribute 'done'\r\n\r\nLooks like a bug in daphne. Any help please?"},"comment":{"url":"https://api.github.com/repos/django/daphne/issues/comments/391636994","html_url":"https://github.com/django/daphne/issues/206#issuecomment-391636994","issue_url":"https://api.github.com/repos/django/daphne/issues/206","id":391636994,"user":{"login":"em1208","id":14072653,"avatar_url":"https://avatars0.githubusercontent.com/u/14072653?v=4","gravatar_id":"","url":"https://api.github.com/users/em1208","html_url":"https://github.com/em1208","followers_url":"https://api.github.com/users/em1208/followers","following_url":"https://api.github.com/users/em1208/following{/other_user}","gists_url":"https://api.github.com/users/em1208/gists{/gist_id}","starred_url":"https://api.github.com/users/em1208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/em1208/subscriptions","organizations_url":"https://api.github.com/users/em1208/orgs","repos_url":"https://api.github.com/users/em1208/repos","events_url":"https://api.github.com/users/em1208/events{/privacy}","received_events_url":"https://api.github.com/users/em1208/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T08:43:11Z","updated_at":"2018-05-24T08:43:11Z","author_association":"NONE","body":"Hi Andrew, thanks for your quick reply! I'm using:\r\n\r\n- asgiref                     2.3.2       \r\n- channels                    2.1.1       \r\n- channels-redis              2.2.1       \r\n- daphne                      2.1.1       \r\n- Twisted                     18.4.0 \r\n\r\nThis error happens on every connections. I wrote a consumer using AsyncJsonWebsocketConsumer. I wrote a echo consumer using WebsocketConsumer and that works fine. "}}
{"actor":{"display_login":"em1208"}}