{"action":"created","issue":{"url":"https://api.github.com/repos/jrief/django-websocket-redis/issues/123","labels_url":"https://api.github.com/repos/jrief/django-websocket-redis/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/jrief/django-websocket-redis/issues/123/comments","events_url":"https://api.github.com/repos/jrief/django-websocket-redis/issues/123/events","html_url":"https://github.com/jrief/django-websocket-redis/issues/123","id":119694020,"number":123,"title":"Heartbeat failing to keep session alive?","user":{"login":"danieleden","id":4635687,"avatar_url":"https://avatars.githubusercontent.com/u/4635687?v=3","gravatar_id":"","url":"https://api.github.com/users/danieleden","html_url":"https://github.com/danieleden","followers_url":"https://api.github.com/users/danieleden/followers","following_url":"https://api.github.com/users/danieleden/following{/other_user}","gists_url":"https://api.github.com/users/danieleden/gists{/gist_id}","starred_url":"https://api.github.com/users/danieleden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieleden/subscriptions","organizations_url":"https://api.github.com/users/danieleden/orgs","repos_url":"https://api.github.com/users/danieleden/repos","events_url":"https://api.github.com/users/danieleden/events{/privacy}","received_events_url":"https://api.github.com/users/danieleden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-12-01T11:05:02Z","updated_at":"2015-12-03T21:36:36Z","closed_at":null,"body":"Hi Jrief,\r\n\r\nMany thanks for an excellent library for websocket integration with django, ive setup the system and im 99% happy so far, just 1 small issue.\r\n\r\nIm able to load up a connection via nginx, im using a uswgi unix socket (tried TCP as well), ive setup the nginx conf exactly how you described on your docs (split uwsgi+websocket setup). My browser makes the connection into /ws?subscribe-broadcast, i can see the \"--heartbeats--\" being sent in and out of the websocket, then about 1:45s into the session it gets dropped with a \"1006\" close code. Im able to send a subscribe message and i can see all my test browsers receiving the message.\r\n\r\nI have tried to set the proxy_read_timeout to no avail, ive tried the send_timeout too, keepalive_timeout, nothing is working for me. Its had me stumped for a while now, im reaching out for some assistance. Ive searched far and wide and everyone suggests that i set proxy_read_timeout but this does not do anything for me. I was wondering if there was an issue running a UDS as the read_timeout might be set via a TCP flag but i swapped over to TCP on localhost and same thing, 1.45second in the websocket ends.\r\n\r\nIve tried sending messages from the redis bus continually to make sure data is moving over the wire, no luck.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/jrief/django-websocket-redis/issues/comments/161791823","html_url":"https://github.com/jrief/django-websocket-redis/issues/123#issuecomment-161791823","issue_url":"https://api.github.com/repos/jrief/django-websocket-redis/issues/123","id":161791823,"user":{"login":"danieleden","id":4635687,"avatar_url":"https://avatars.githubusercontent.com/u/4635687?v=3","gravatar_id":"","url":"https://api.github.com/users/danieleden","html_url":"https://github.com/danieleden","followers_url":"https://api.github.com/users/danieleden/followers","following_url":"https://api.github.com/users/danieleden/following{/other_user}","gists_url":"https://api.github.com/users/danieleden/gists{/gist_id}","starred_url":"https://api.github.com/users/danieleden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieleden/subscriptions","organizations_url":"https://api.github.com/users/danieleden/orgs","repos_url":"https://api.github.com/users/danieleden/repos","events_url":"https://api.github.com/users/danieleden/events{/privacy}","received_events_url":"https://api.github.com/users/danieleden/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T21:36:36Z","updated_at":"2015-12-03T21:36:36Z","body":"@jrief - Issue solved : \r\n\r\nSetting harakiri on uwsgi was not playing nice with the service, im now inside the websocket with no disconnects! "}}