{"action":"created","issue":{"url":"https://api.github.com/repos/getlantern/flashlight-build/issues/30","labels_url":"https://api.github.com/repos/getlantern/flashlight-build/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/getlantern/flashlight-build/issues/30/comments","events_url":"https://api.github.com/repos/getlantern/flashlight-build/issues/30/events","html_url":"https://github.com/getlantern/flashlight-build/pull/30","id":54280429,"number":30,"title":"Enproxy intf cleanup","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":[],"state":"open","locked":false,"assignee":{"login":"aranhoide","id":2204867,"avatar_url":"https://avatars.githubusercontent.com/u/2204867?v=3","gravatar_id":"","url":"https://api.github.com/users/aranhoide","html_url":"https://github.com/aranhoide","followers_url":"https://api.github.com/users/aranhoide/followers","following_url":"https://api.github.com/users/aranhoide/following{/other_user}","gists_url":"https://api.github.com/users/aranhoide/gists{/gist_id}","starred_url":"https://api.github.com/users/aranhoide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aranhoide/subscriptions","organizations_url":"https://api.github.com/users/aranhoide/orgs","repos_url":"https://api.github.com/users/aranhoide/repos","events_url":"https://api.github.com/users/aranhoide/events{/privacy}","received_events_url":"https://api.github.com/users/aranhoide/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-01-14T03:35:51Z","updated_at":"2015-01-20T22:58:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/getlantern/flashlight-build/pulls/30","html_url":"https://github.com/getlantern/flashlight-build/pull/30","diff_url":"https://github.com/getlantern/flashlight-build/pull/30.diff","patch_url":"https://github.com/getlantern/flashlight-build/pull/30.patch"},"body":"While prepping my presentation for Thursday, I realized that the API for opening an enproxy.Conn isn't very standard.  I've updated it to look more like a normal net.Conn, namely using a Dial function."},"comment":{"url":"https://api.github.com/repos/getlantern/flashlight-build/issues/comments/70752203","html_url":"https://github.com/getlantern/flashlight-build/pull/30#issuecomment-70752203","issue_url":"https://api.github.com/repos/getlantern/flashlight-build/issues/30","id":70752203,"user":{"login":"aranhoide","id":2204867,"avatar_url":"https://avatars.githubusercontent.com/u/2204867?v=3","gravatar_id":"","url":"https://api.github.com/users/aranhoide","html_url":"https://github.com/aranhoide","followers_url":"https://api.github.com/users/aranhoide/followers","following_url":"https://api.github.com/users/aranhoide/following{/other_user}","gists_url":"https://api.github.com/users/aranhoide/gists{/gist_id}","starred_url":"https://api.github.com/users/aranhoide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aranhoide/subscriptions","organizations_url":"https://api.github.com/users/aranhoide/orgs","repos_url":"https://api.github.com/users/aranhoide/repos","events_url":"https://api.github.com/users/aranhoide/events{/privacy}","received_events_url":"https://api.github.com/users/aranhoide/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T22:58:21Z","updated_at":"2015-01-20T22:58:21Z","body":"Pulling only gave me an update: a test file in fronted.  I get a different failure:\r\n\r\n```\r\naranhoide@duna:~/src/flashlight-build/src/github.com/getlantern/fronted$ git pull\r\nremote: Counting objects: 15, done.\r\nremote: Compressing objects: 100% (15/15), done.\r\nremote: Total 15 (delta 3), reused 0 (delta 0)\r\nUnpacking objects: 100% (15/15), done.\r\nFrom github.com:getlantern/flashlight-build\r\n   5ea815d..a267e1a  peerscanner -> origin/peerscanner\r\n   9cc954c..e8aa694  issue-2174 -> origin/issue-2174\r\nUpdating 5ea815d..a267e1a\r\nFast-forward\r\n src/github.com/getlantern/fronted/fronted_test.go | 4 +++-\r\n 1 file changed, 3 insertions(+), 1 deletion(-)\r\naranhoide@duna:~/src/flashlight-build/src/github.com/getlantern/fronted$ go test\r\nfronted: Creating new PK at: \r\nfronted: Creating new server cert at: \r\nfronted: Creating new server cert at: testcert.pem\r\nfronted: About to start server (https) proxy at localhost:0\r\nfronted: Not accepting connections to non-global address: 127.0.0.1:49803\r\nenproxy: Responding Bad Gateway: Unable to get connOut: Unable to dial out to 127.0.0.1:49803: Not accepting connections to non-global address: 127.0.0.1:49803\r\nenproxy: Failing on Dest: 127.0.0.1:49803    ProxyHost:     Unable to issue write request: Bad response status for read: 502 Bad Gateway\r\nenproxy: Failing on Bad response status for read: 502 Bad Gateway\r\nfronted: Creating new server cert at: testcert.pem\r\nfronted: About to start server (https) proxy at localhost:0\r\n--- FAIL: TestNonGlobalAddressNoPort (0.37s)\r\n\tfronted_test.go:119: Unable to dial localhost: Unable to resolve TCP addr localhost: missing port in address localhost\r\nfronted: Creating new server cert at: testcert.pem\r\nfronted: About to start server (https) proxy at localhost:0\r\nfronted: Unable to resolve destination IP addr : <nil>\r\nenproxy: Responding Bad Gateway: Unable to get connOut: Unable to dial out to :0: Unable to resolve destination IP addr : <nil>\r\nenproxy: Failing on Dest: :0    ProxyHost:     Unable to issue write request: Bad response status for read: 502 Bad Gateway\r\nenproxy: Failing on Bad response status for read: 502 Bad Gateway\r\nfronted: Creating new server cert at: testcert.pem\r\nfronted: About to start server (https) proxy at localhost:0\r\nfronted: Not accepting connections to port 46835\r\nenproxy: Responding Bad Gateway: Unable to get connOut: Unable to dial out to 127.0.0.1:46835: Not accepting connections to port 46835\r\nenproxy: Failing on Dest: 127.0.0.1:46835    ProxyHost:     Unable to issue write request: Bad response status for read: 502 Bad Gateway\r\nenproxy: Failing on Bad response status for read: 502 Bad Gateway\r\nfronted: Creating new server cert at: testcert.pem\r\nfronted: About to start server (https) proxy at localhost:0\r\nfronted: Creating new server cert at: testcert.pem\r\nfronted: About to start server (https) proxy at localhost:0\r\nFAIL\r\nexit status 1\r\nFAIL\tgithub.com/getlantern/fronted\t14.495s\r\n```"}}