{"action":"created","issue":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/2771","repository_url":"https://api.github.com/repos/medic/medic-webapp","labels_url":"https://api.github.com/repos/medic/medic-webapp/issues/2771/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-webapp/issues/2771/comments","events_url":"https://api.github.com/repos/medic/medic-webapp/issues/2771/events","html_url":"https://github.com/medic/medic-webapp/issues/2771","id":178479125,"number":2771,"title":"Initial sync fails if server doesn't respond within 30 seconds","user":{"login":"garethbowen","id":2064938,"avatar_url":"https://avatars.githubusercontent.com/u/2064938?v=3","gravatar_id":"","url":"https://api.github.com/users/garethbowen","html_url":"https://github.com/garethbowen","followers_url":"https://api.github.com/users/garethbowen/followers","following_url":"https://api.github.com/users/garethbowen/following{/other_user}","gists_url":"https://api.github.com/users/garethbowen/gists{/gist_id}","starred_url":"https://api.github.com/users/garethbowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethbowen/subscriptions","organizations_url":"https://api.github.com/users/garethbowen/orgs","repos_url":"https://api.github.com/users/garethbowen/repos","events_url":"https://api.github.com/users/garethbowen/events{/privacy}","received_events_url":"https://api.github.com/users/garethbowen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/medic/medic-webapp/labels/3%20-%20Code%20Review","name":"3 - Code Review","color":"fad8c7"},{"url":"https://api.github.com/repos/medic/medic-webapp/labels/Bug","name":"Bug","color":"c10c02"}],"state":"closed","locked":false,"assignee":{"login":"SCdF","id":583851,"avatar_url":"https://avatars.githubusercontent.com/u/583851?v=3","gravatar_id":"","url":"https://api.github.com/users/SCdF","html_url":"https://github.com/SCdF","followers_url":"https://api.github.com/users/SCdF/followers","following_url":"https://api.github.com/users/SCdF/following{/other_user}","gists_url":"https://api.github.com/users/SCdF/gists{/gist_id}","starred_url":"https://api.github.com/users/SCdF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCdF/subscriptions","organizations_url":"https://api.github.com/users/SCdF/orgs","repos_url":"https://api.github.com/users/SCdF/repos","events_url":"https://api.github.com/users/SCdF/events{/privacy}","received_events_url":"https://api.github.com/users/SCdF/received_events","type":"User","site_admin":false},"assignees":[{"login":"SCdF","id":583851,"avatar_url":"https://avatars.githubusercontent.com/u/583851?v=3","gravatar_id":"","url":"https://api.github.com/users/SCdF","html_url":"https://github.com/SCdF","followers_url":"https://api.github.com/users/SCdF/followers","following_url":"https://api.github.com/users/SCdF/following{/other_user}","gists_url":"https://api.github.com/users/SCdF/gists{/gist_id}","starred_url":"https://api.github.com/users/SCdF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCdF/subscriptions","organizations_url":"https://api.github.com/users/SCdF/orgs","repos_url":"https://api.github.com/users/SCdF/repos","events_url":"https://api.github.com/users/SCdF/events{/privacy}","received_events_url":"https://api.github.com/users/SCdF/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/medic/medic-webapp/milestones/61","html_url":"https://github.com/medic/medic-webapp/milestones/September%2019th%20-%20October%203rd","labels_url":"https://api.github.com/repos/medic/medic-webapp/milestones/61/labels","id":2008116,"number":61,"title":"September 19th - October 3rd","description":"","creator":{"login":"garethbowen","id":2064938,"avatar_url":"https://avatars.githubusercontent.com/u/2064938?v=3","gravatar_id":"","url":"https://api.github.com/users/garethbowen","html_url":"https://github.com/garethbowen","followers_url":"https://api.github.com/users/garethbowen/followers","following_url":"https://api.github.com/users/garethbowen/following{/other_user}","gists_url":"https://api.github.com/users/garethbowen/gists{/gist_id}","starred_url":"https://api.github.com/users/garethbowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethbowen/subscriptions","organizations_url":"https://api.github.com/users/garethbowen/orgs","repos_url":"https://api.github.com/users/garethbowen/repos","events_url":"https://api.github.com/users/garethbowen/events{/privacy}","received_events_url":"https://api.github.com/users/garethbowen/received_events","type":"User","site_admin":false},"open_issues":45,"closed_issues":9,"state":"open","created_at":"2016-09-15T23:54:51Z","updated_at":"2016-09-22T09:03:54Z","due_on":"2016-10-03T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-09-21T22:34:21Z","updated_at":"2016-09-22T09:03:54Z","closed_at":"2016-09-22T09:03:54Z","body":"With some users initial replication isn't responding quickly enough and the request times out. This means the app loads with lots of errors. Eventually the background replication should fix the app and a refresh will get back to normal but it's a jarring experience. It should have a heartbeat so timeout doesn't occur unless the server is unreachable.\r\n\r\nAffects 2.8.0\r\n\r\nCauses #2770"},"comment":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/comments/248848421","html_url":"https://github.com/medic/medic-webapp/issues/2771#issuecomment-248848421","issue_url":"https://api.github.com/repos/medic/medic-webapp/issues/2771","id":248848421,"user":{"login":"SCdF","id":583851,"avatar_url":"https://avatars.githubusercontent.com/u/583851?v=3","gravatar_id":"","url":"https://api.github.com/users/SCdF","html_url":"https://github.com/SCdF","followers_url":"https://api.github.com/users/SCdF/followers","following_url":"https://api.github.com/users/SCdF/following{/other_user}","gists_url":"https://api.github.com/users/SCdF/gists{/gist_id}","starred_url":"https://api.github.com/users/SCdF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCdF/subscriptions","organizations_url":"https://api.github.com/users/SCdF/orgs","repos_url":"https://api.github.com/users/SCdF/repos","events_url":"https://api.github.com/users/SCdF/events{/privacy}","received_events_url":"https://api.github.com/users/SCdF/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T09:03:54Z","updated_at":"2016-09-22T09:03:54Z","body":"So wow it took 1min to get an initial response at all, i.e. before the heartbeat could even kick in? Crazy.\r\n\r\nLGTM."}}
{"actor":{"display_login":"SCdF"}}