{"action":"opened","issue":{"url":"https://api.github.com/repos/getlantern/lantern/issues/2165","labels_url":"https://api.github.com/repos/getlantern/lantern/issues/2165/labels{/name}","comments_url":"https://api.github.com/repos/getlantern/lantern/issues/2165/comments","events_url":"https://api.github.com/repos/getlantern/lantern/issues/2165/events","html_url":"https://github.com/getlantern/lantern/issues/2165","id":54102516,"number":2165,"title":"[flashlight/enproxy] User agent hangs when enproxy encounters a Bad Gateway response","user":{"login":"oxtoacart","id":5000654,"avatar_url":"https://avatars.githubusercontent.com/u/5000654?v=3","gravatar_id":"","url":"https://api.github.com/users/oxtoacart","html_url":"https://github.com/oxtoacart","followers_url":"https://api.github.com/users/oxtoacart/followers","following_url":"https://api.github.com/users/oxtoacart/following{/other_user}","gists_url":"https://api.github.com/users/oxtoacart/gists{/gist_id}","starred_url":"https://api.github.com/users/oxtoacart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oxtoacart/subscriptions","organizations_url":"https://api.github.com/users/oxtoacart/orgs","repos_url":"https://api.github.com/users/oxtoacart/repos","events_url":"https://api.github.com/users/oxtoacart/events{/privacy}","received_events_url":"https://api.github.com/users/oxtoacart/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/getlantern/lantern/labels/P1","name":"P1","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/getlantern/lantern/milestones/64","labels_url":"https://api.github.com/repos/getlantern/lantern/milestones/64/labels","id":779013,"number":64,"title":"Short-term","description":"","creator":{"login":"scouttle","id":245240,"avatar_url":"https://avatars.githubusercontent.com/u/245240?v=3","gravatar_id":"","url":"https://api.github.com/users/scouttle","html_url":"https://github.com/scouttle","followers_url":"https://api.github.com/users/scouttle/followers","following_url":"https://api.github.com/users/scouttle/following{/other_user}","gists_url":"https://api.github.com/users/scouttle/gists{/gist_id}","starred_url":"https://api.github.com/users/scouttle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scouttle/subscriptions","organizations_url":"https://api.github.com/users/scouttle/orgs","repos_url":"https://api.github.com/users/scouttle/repos","events_url":"https://api.github.com/users/scouttle/events{/privacy}","received_events_url":"https://api.github.com/users/scouttle/received_events","type":"User","site_admin":false},"open_issues":132,"closed_issues":7,"state":"open","created_at":"2014-09-04T20:45:49Z","updated_at":"2015-01-12T20:28:53Z","due_on":"2015-03-02T08:00:00Z","closed_at":null},"comments":0,"created_at":"2015-01-12T20:28:53Z","updated_at":"2015-01-12T20:28:53Z","closed_at":null,"body":"After implementing #2162, try the following:\r\n\r\n`curl -x localhost:10080 https://www.google.com:444/humans.txt`\r\n\r\nYou'll see enproxy report an error like the following:\r\n\r\n`enproxy: Dest: www.google.com:444    ProxyHost:     Unable to issue write request: Bad response status for read: 502 Bad Gateway`\r\n\r\nBut curl just hangs."}}