{"action":"created","issue":{"url":"https://api.github.com/repos/DoSomething/voting-app/issues/482","labels_url":"https://api.github.com/repos/DoSomething/voting-app/issues/482/labels{/name}","comments_url":"https://api.github.com/repos/DoSomething/voting-app/issues/482/comments","events_url":"https://api.github.com/repos/DoSomething/voting-app/issues/482/events","html_url":"https://github.com/DoSomething/voting-app/issues/482","id":119763485,"number":482,"title":"Missing country code for some users","user":{"login":"DFurnes","id":583202,"avatar_url":"https://avatars.githubusercontent.com/u/583202?v=3","gravatar_id":"","url":"https://api.github.com/users/DFurnes","html_url":"https://github.com/DFurnes","followers_url":"https://api.github.com/users/DFurnes/followers","following_url":"https://api.github.com/users/DFurnes/following{/other_user}","gists_url":"https://api.github.com/users/DFurnes/gists{/gist_id}","starred_url":"https://api.github.com/users/DFurnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DFurnes/subscriptions","organizations_url":"https://api.github.com/users/DFurnes/orgs","repos_url":"https://api.github.com/users/DFurnes/repos","events_url":"https://api.github.com/users/DFurnes/events{/privacy}","received_events_url":"https://api.github.com/users/DFurnes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DoSomething/voting-app/labels/bug","name":"bug","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-01T17:08:29Z","updated_at":"2015-12-02T18:05:48Z","closed_at":null,"body":"Some users don't seem to be getting their country code applied correctly (being shown \"global\" experience, even from the US) and getting `null` saved to their country code field.\r\n\r\nNot able to consistently reproduce, and continuing to investigate. :mag: "},"comment":{"url":"https://api.github.com/repos/DoSomething/voting-app/issues/comments/161383711","html_url":"https://github.com/DoSomething/voting-app/issues/482#issuecomment-161383711","issue_url":"https://api.github.com/repos/DoSomething/voting-app/issues/482","id":161383711,"user":{"login":"DFurnes","id":583202,"avatar_url":"https://avatars.githubusercontent.com/u/583202?v=3","gravatar_id":"","url":"https://api.github.com/users/DFurnes","html_url":"https://github.com/DFurnes","followers_url":"https://api.github.com/users/DFurnes/followers","following_url":"https://api.github.com/users/DFurnes/following{/other_user}","gists_url":"https://api.github.com/users/DFurnes/gists{/gist_id}","starred_url":"https://api.github.com/users/DFurnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DFurnes/subscriptions","organizations_url":"https://api.github.com/users/DFurnes/orgs","repos_url":"https://api.github.com/users/DFurnes/repos","events_url":"https://api.github.com/users/DFurnes/events{/privacy}","received_events_url":"https://api.github.com/users/DFurnes/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T18:05:48Z","updated_at":"2015-12-02T18:05:48Z","body":"And logs are coming in after deploying #486 to production:\r\n\r\n```\r\n2015-12-02 18:02:23] production.DEBUG: Received request with country header \"BR\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":\"BR\",\"IP\":\"10.100.60.224\",\"url\":\"https://www.celebsgonegood.com/candidates/jared-leto\",\"method\":\"GET\"} \r\n[2015-12-02 18:02:24] production.DEBUG: Received request with country header \"\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":null,\"IP\":\"10.100.60.224\",\"url\":\"https://celebsgonegood.com/votes\",\"method\":\"POST\"} \r\n[2015-12-02 18:02:24] production.DEBUG: Received request with country header \"\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":null,\"IP\":\"10.100.60.224\",\"url\":\"https://celebsgonegood.com/candidates/justin-bieber\",\"method\":\"GET\"} \r\n[2015-12-02 18:02:25] production.DEBUG: Received request with country header \"US\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":\"US\",\"IP\":\"10.100.60.224\",\"url\":\"https://www.celebsgonegood.com/candidates/shawn-mendes\",\"method\":\"GET\"} \r\n[2015-12-02 18:02:25] production.DEBUG: Received request with country header \"RU\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":\"RU\",\"IP\":\"10.100.60.224\",\"url\":\"https://www.celebsgonegood.com/candidates/jared-leto\",\"method\":\"GET\"} \r\n[2015-12-02 18:02:31] production.DEBUG: Received request with country header \"US\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":\"US\",\"IP\":\"10.100.60.224\",\"url\":\"https://www.celebsgonegood.com/candidates/jared-leto\",\"method\":\"GET\"} \r\n[2015-12-02 18:02:31] production.DEBUG: Received request with country header \"IT\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":\"IT\",\"IP\":\"10.100.60.224\",\"url\":\"https://www.celebsgonegood.com/votes\",\"method\":\"POST\"} \r\n[2015-12-02 18:02:31] production.DEBUG: Received request with country header \"US\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":\"US\",\"IP\":\"10.100.60.224\",\"url\":\"https://www.celebsgonegood.com/candidates/jared-leto\",\"method\":\"GET\"} \r\n[2015-12-02 18:02:31] production.DEBUG: Received request with country header \"US\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":\"US\",\"IP\":\"10.100.60.224\",\"url\":\"https://www.celebsgonegood.com\",\"method\":\"GET\"} \r\n[2015-12-02 18:02:31] production.DEBUG: Received request with country header \"US\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":\"US\",\"IP\":\"10.100.60.224\",\"url\":\"https://www.celebsgonegood.com/candidates/madison-beer\",\"method\":\"GET\"} \r\n[2015-12-02 18:02:32] production.DEBUG: Received request with country header \"IT\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":\"IT\",\"IP\":\"10.100.60.224\",\"url\":\"https://www.celebsgonegood.com/candidates/bella-thorne\",\"method\":\"GET\"} \r\n[2015-12-02 18:02:32] production.DEBUG: Received request with country header \"\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":null,\"IP\":\"10.100.60.224\",\"url\":\"https://celebsgonegood.com/candidates/rooster-teeth\",\"method\":\"GET\"}\r\n[2015-12-02 18:02:32] production.DEBUG: Received request with country header \"US\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":\"US\",\"IP\":\"10.100.60.224\",\"url\":\"https://www.celebsgonegood.com/candidates/jared-leto\",\"method\":\"GET\"}\r\n[2015-12-02 18:02:32] production.DEBUG: Received request with country header \"US\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":\"US\",\"IP\":\"10.100.60.224\",\"url\":\"https://www.celebsgonegood.com/candidates/jared-leto\",\"method\":\"GET\"}\r\n[2015-12-02 18:02:32] production.DEBUG: Received request with country header \"US\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":\"US\",\"IP\":\"10.100.60.224\",\"url\":\"https://www.celebsgonegood.com/candidates/jared-leto\",\"method\":\"GET\"}\r\n[2015-12-02 18:02:32] production.DEBUG: Received request with country header \"US\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":\"US\",\"IP\":\"10.100.60.224\",\"url\":\"https://www.celebsgonegood.com/candidates/jared-leto\",\"method\":\"GET\"}\r\n[2015-12-02 18:02:35] production.DEBUG: Received request with country header \"\". {\"HTTP_X_FASTLY_COUNTRY_CODE\":null,\"IP\":\"10.100.60.224\",\"url\":\"https://celebsgonegood.com/votes\",\"method\":\"POST\"}\r\n\r\n```\r\n\r\nNot seeing any patterns so far... but it's definitely still having trouble."}}