{"action":"created","issue":{"url":"https://api.github.com/repos/django/channels_redis/issues/79","repository_url":"https://api.github.com/repos/django/channels_redis","labels_url":"https://api.github.com/repos/django/channels_redis/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/django/channels_redis/issues/79/comments","events_url":"https://api.github.com/repos/django/channels_redis/issues/79/events","html_url":"https://github.com/django/channels_redis/issues/79","id":299996849,"number":79,"title":"Problems with maintaining open websocket connections and sending group messages","user":{"login":"ploggingdev","id":23113993,"avatar_url":"https://avatars3.githubusercontent.com/u/23113993?v=4","gravatar_id":"","url":"https://api.github.com/users/ploggingdev","html_url":"https://github.com/ploggingdev","followers_url":"https://api.github.com/users/ploggingdev/followers","following_url":"https://api.github.com/users/ploggingdev/following{/other_user}","gists_url":"https://api.github.com/users/ploggingdev/gists{/gist_id}","starred_url":"https://api.github.com/users/ploggingdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ploggingdev/subscriptions","organizations_url":"https://api.github.com/users/ploggingdev/orgs","repos_url":"https://api.github.com/users/ploggingdev/repos","events_url":"https://api.github.com/users/ploggingdev/events{/privacy}","received_events_url":"https://api.github.com/users/ploggingdev/received_events","type":"User","site_admin":false},"labels":[{"id":439598340,"url":"https://api.github.com/repos/django/channels_redis/labels/blocked/user-response","name":"blocked/user-response","color":"f9d0c4","default":false},{"id":306130338,"url":"https://api.github.com/repos/django/channels_redis/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-25T04:22:38Z","updated_at":"2018-02-25T07:40:07Z","closed_at":null,"author_association":"NONE","body":"After upgrading from channels-redis 2.0.3 to 2.1.0 I noticed that users that connect to my chat room site frequently see dropped group messages and have trouble maintaining open websocket connections. Usually even if a user disconnects from the server, the reconnecting websocket code takes care of opening another connection and it used to work fine before the upgrade. I'm not able to reliably reproduce the bug since it happens randomly and there are no exceptions raised. It usually occurs after a websocket connection has been open for a few minutes. Group message delivery is very unreliable after the upgrade. Could it be related to moving away from connection pools and instead opening and closing connections every time? Unfortunately I don't have a reliable way of reproducing the bug and no relevant traceback or logs to share. Anyone else facing this issue after the upgrade?\r\n\r\nEdit : it looks like there's no issue maintaining an open websocket connection. After a few minutes I am able to send messages and they get saved to the database, but sending group messages from the consumer does not work."},"comment":{"url":"https://api.github.com/repos/django/channels_redis/issues/comments/368289977","html_url":"https://github.com/django/channels_redis/issues/79#issuecomment-368289977","issue_url":"https://api.github.com/repos/django/channels_redis/issues/79","id":368289977,"user":{"login":"ploggingdev","id":23113993,"avatar_url":"https://avatars3.githubusercontent.com/u/23113993?v=4","gravatar_id":"","url":"https://api.github.com/users/ploggingdev","html_url":"https://github.com/ploggingdev","followers_url":"https://api.github.com/users/ploggingdev/followers","following_url":"https://api.github.com/users/ploggingdev/following{/other_user}","gists_url":"https://api.github.com/users/ploggingdev/gists{/gist_id}","starred_url":"https://api.github.com/users/ploggingdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ploggingdev/subscriptions","organizations_url":"https://api.github.com/users/ploggingdev/orgs","repos_url":"https://api.github.com/users/ploggingdev/repos","events_url":"https://api.github.com/users/ploggingdev/events{/privacy}","received_events_url":"https://api.github.com/users/ploggingdev/received_events","type":"User","site_admin":false},"created_at":"2018-02-25T07:40:07Z","updated_at":"2018-02-25T07:40:07Z","author_association":"NONE","body":"Take your time! I will try and understand what's happening and hopefully will have something useful to share."}}
{"actor":{"display_login":"ploggingdev"}}