{"action":"created","issue":{"url":"https://api.github.com/repos/getlantern/lantern/issues/4005","repository_url":"https://api.github.com/repos/getlantern/lantern","labels_url":"https://api.github.com/repos/getlantern/lantern/issues/4005/labels{/name}","comments_url":"https://api.github.com/repos/getlantern/lantern/issues/4005/comments","events_url":"https://api.github.com/repos/getlantern/lantern/issues/4005/events","html_url":"https://github.com/getlantern/lantern/issues/4005","id":149269800,"number":4005,"title":"Bad response code accessing config server","user":{"login":"myleshorton","id":1143966,"avatar_url":"https://avatars.githubusercontent.com/u/1143966?v=3","gravatar_id":"","url":"https://api.github.com/users/myleshorton","html_url":"https://github.com/myleshorton","followers_url":"https://api.github.com/users/myleshorton/followers","following_url":"https://api.github.com/users/myleshorton/following{/other_user}","gists_url":"https://api.github.com/users/myleshorton/gists{/gist_id}","starred_url":"https://api.github.com/users/myleshorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myleshorton/subscriptions","organizations_url":"https://api.github.com/users/myleshorton/orgs","repos_url":"https://api.github.com/users/myleshorton/repos","events_url":"https://api.github.com/users/myleshorton/events{/privacy}","received_events_url":"https://api.github.com/users/myleshorton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/getlantern/lantern/labels/P2","name":"P2","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/getlantern/lantern/milestones/104","html_url":"https://github.com/getlantern/lantern/milestones/2.2.1","labels_url":"https://api.github.com/repos/getlantern/lantern/milestones/104/labels","id":1340801,"number":104,"title":"2.2.1","description":"","creator":{"login":"myleshorton","id":1143966,"avatar_url":"https://avatars.githubusercontent.com/u/1143966?v=3","gravatar_id":"","url":"https://api.github.com/users/myleshorton","html_url":"https://github.com/myleshorton","followers_url":"https://api.github.com/users/myleshorton/followers","following_url":"https://api.github.com/users/myleshorton/following{/other_user}","gists_url":"https://api.github.com/users/myleshorton/gists{/gist_id}","starred_url":"https://api.github.com/users/myleshorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myleshorton/subscriptions","organizations_url":"https://api.github.com/users/myleshorton/orgs","repos_url":"https://api.github.com/users/myleshorton/repos","events_url":"https://api.github.com/users/myleshorton/events{/privacy}","received_events_url":"https://api.github.com/users/myleshorton/received_events","type":"User","site_admin":false},"open_issues":73,"closed_issues":15,"state":"open","created_at":"2015-10-06T17:11:44Z","updated_at":"2016-04-22T21:45:05Z","due_on":"2016-04-28T07:00:00Z","closed_at":null},"comments":23,"created_at":"2016-04-18T21:00:32Z","updated_at":"2016-04-24T02:05:48Z","closed_at":null,"body":"Note the line number is off (as well as the more detailed comment) because I've been making local changes to debug it...\r\n\r\n```\r\nApr 18 20:10:57.319 - 0m0s ERROR flashlight.util: http.go:128 Bad response code: 400 Bad Request accessing URL 'http://config.getiantem.org/cloud.yaml.gz?ad69346b-b9fc-405e-bc98-792491238195' and headers\r\nHTTP/1.1 400 Bad Request\r\nConnection: close\r\nContent-Type: text/plain\r\n```\r\n\r\nI wonder if you're able to reproduce this @oxtoacart?"},"comment":{"url":"https://api.github.com/repos/getlantern/lantern/issues/comments/213866627","html_url":"https://github.com/getlantern/lantern/issues/4005#issuecomment-213866627","issue_url":"https://api.github.com/repos/getlantern/lantern/issues/4005","id":213866627,"user":{"login":"fffw","id":10410437,"avatar_url":"https://avatars.githubusercontent.com/u/10410437?v=3","gravatar_id":"","url":"https://api.github.com/users/fffw","html_url":"https://github.com/fffw","followers_url":"https://api.github.com/users/fffw/followers","following_url":"https://api.github.com/users/fffw/following{/other_user}","gists_url":"https://api.github.com/users/fffw/gists{/gist_id}","starred_url":"https://api.github.com/users/fffw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fffw/subscriptions","organizations_url":"https://api.github.com/users/fffw/orgs","repos_url":"https://api.github.com/users/fffw/repos","events_url":"https://api.github.com/users/fffw/events{/privacy}","received_events_url":"https://api.github.com/users/fffw/received_events","type":"User","site_admin":false},"created_at":"2016-04-24T02:05:48Z","updated_at":"2016-04-24T02:05:48Z","body":"The cause of \"400 bad request\" is [fetcher.go#L115](https://github.com/getlantern/lantern/blob/release-2.1.2/src/github.com/getlantern/flashlight/config/fetcher.go#L115). We should use `strconv` instead of type conversion directly."}}