{"action":"created","issue":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/1108","labels_url":"https://api.github.com/repos/medic/medic-webapp/issues/1108/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-webapp/issues/1108/comments","events_url":"https://api.github.com/repos/medic/medic-webapp/issues/1108/events","html_url":"https://github.com/medic/medic-webapp/issues/1108","id":98452044,"number":1108,"title":"Chrome/Chromium: Infinite redirect after login","user":{"login":"browndav","id":763977,"avatar_url":"https://avatars.githubusercontent.com/u/763977?v=3","gravatar_id":"","url":"https://api.github.com/users/browndav","html_url":"https://github.com/browndav","followers_url":"https://api.github.com/users/browndav/followers","following_url":"https://api.github.com/users/browndav/following{/other_user}","gists_url":"https://api.github.com/users/browndav/gists{/gist_id}","starred_url":"https://api.github.com/users/browndav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/browndav/subscriptions","organizations_url":"https://api.github.com/users/browndav/orgs","repos_url":"https://api.github.com/users/browndav/repos","events_url":"https://api.github.com/users/browndav/events{/privacy}","received_events_url":"https://api.github.com/users/browndav/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/medic/medic-webapp/labels/3%20-%20Acceptance%20testing","name":"3 - Acceptance testing","color":"bfdadc"},{"url":"https://api.github.com/repos/medic/medic-webapp/labels/Bug","name":"Bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/medic/medic-webapp/milestones/32","html_url":"https://github.com/medic/medic-webapp/milestones/Iteration%202015-34:%20CHW%20Mobile%20Application","labels_url":"https://api.github.com/repos/medic/medic-webapp/milestones/32/labels","id":1217008,"number":32,"title":"Iteration 2015-34: CHW Mobile Application","description":"Provisioning the app. Logging in and viewing demo data. Create new reports and generate new tasks. Minimal patient profiles. Verify that the contacts screen meets requirements. Demonstrate all of this running in a native Android container.","creator":{"login":"browndav","id":763977,"avatar_url":"https://avatars.githubusercontent.com/u/763977?v=3","gravatar_id":"","url":"https://api.github.com/users/browndav","html_url":"https://github.com/browndav","followers_url":"https://api.github.com/users/browndav/followers","following_url":"https://api.github.com/users/browndav/following{/other_user}","gists_url":"https://api.github.com/users/browndav/gists{/gist_id}","starred_url":"https://api.github.com/users/browndav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/browndav/subscriptions","organizations_url":"https://api.github.com/users/browndav/orgs","repos_url":"https://api.github.com/users/browndav/repos","events_url":"https://api.github.com/users/browndav/events{/privacy}","received_events_url":"https://api.github.com/users/browndav/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":1,"state":"open","created_at":"2015-07-20T22:25:35Z","updated_at":"2015-08-18T20:10:26Z","due_on":"2015-08-30T07:00:00Z","closed_at":null},"comments":6,"created_at":"2015-07-31T19:01:17Z","updated_at":"2015-08-18T20:12:43Z","closed_at":null,"body":"On Chrome and Chromium (but not Firefox), I'm finally able to reproduce the infinite-redirect-after-login that Alex reported a few weeks ago.\r\n\r\nSteps to reproduce: check out the `develop` branch of medic-webapp, push the app to an empty database using `grunt dev`, start `medic-api`, and visit `http://localhost:5988/medic/_design/medic/_rewrite` to log in. After a successful login, you'll see repeated reloads.\r\n"},"comment":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/comments/132336123","html_url":"https://github.com/medic/medic-webapp/issues/1108#issuecomment-132336123","issue_url":"https://api.github.com/repos/medic/medic-webapp/issues/1108","id":132336123,"user":{"login":"browndav","id":763977,"avatar_url":"https://avatars.githubusercontent.com/u/763977?v=3","gravatar_id":"","url":"https://api.github.com/users/browndav","html_url":"https://github.com/browndav","followers_url":"https://api.github.com/users/browndav/followers","following_url":"https://api.github.com/users/browndav/following{/other_user}","gists_url":"https://api.github.com/users/browndav/gists{/gist_id}","starred_url":"https://api.github.com/users/browndav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/browndav/subscriptions","organizations_url":"https://api.github.com/users/browndav/orgs","repos_url":"https://api.github.com/users/browndav/repos","events_url":"https://api.github.com/users/browndav/events{/privacy}","received_events_url":"https://api.github.com/users/browndav/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T20:12:43Z","updated_at":"2015-08-18T20:12:43Z","body":"Have you been able to reproduce with a direct push of `develop`, i.e. without an update? I'm almost certain this is update-related, and either API or nginx is returning an error page that (obviously) isn't valid JSON."}}