{"action":"created","issue":{"url":"https://api.github.com/repos/zkat/make-fetch-happen/issues/29","repository_url":"https://api.github.com/repos/zkat/make-fetch-happen","labels_url":"https://api.github.com/repos/zkat/make-fetch-happen/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/zkat/make-fetch-happen/issues/29/comments","events_url":"https://api.github.com/repos/zkat/make-fetch-happen/issues/29/events","html_url":"https://github.com/zkat/make-fetch-happen/issues/29","id":231140188,"number":29,"title":"proxy keeps node process alive","user":{"login":"zkat","id":17535,"avatar_url":"https://avatars2.githubusercontent.com/u/17535?v=3","gravatar_id":"","url":"https://api.github.com/users/zkat","html_url":"https://github.com/zkat","followers_url":"https://api.github.com/users/zkat/followers","following_url":"https://api.github.com/users/zkat/following{/other_user}","gists_url":"https://api.github.com/users/zkat/gists{/gist_id}","starred_url":"https://api.github.com/users/zkat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkat/subscriptions","organizations_url":"https://api.github.com/users/zkat/orgs","repos_url":"https://api.github.com/users/zkat/repos","events_url":"https://api.github.com/users/zkat/events{/privacy}","received_events_url":"https://api.github.com/users/zkat/received_events","type":"User","site_admin":false},"labels":[{"id":570649302,"url":"https://api.github.com/repos/zkat/make-fetch-happen/labels/bug","name":"bug","color":"ee0701","default":true},{"id":570649305,"url":"https://api.github.com/repos/zkat/make-fetch-happen/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-05-24T19:03:43Z","updated_at":"2017-05-25T04:08:26Z","closed_at":null,"body":"There's an issue, probably with the proxy libraries make-fetch-happen is using, where the node process is kept alive if you use m-f-h's proxying agent features. This is likely because some socket somewhere isn't closing, or the libraries are doing some keepalive thing without any timeouts.\r\n\r\nTo set up a local SOCKS proxy to test with:\r\n1. enable SSH (in OSX, System Preferences -> Sharing -> Remote login)\r\n2. ssh -vND 8888 \"$USER@localhost\"\r\n\r\nTo set up a local http(s) proxy to test with:\r\n1. install a reverse proxy, such as Squid\r\n2. Configure and run the proxy locally\r\n\r\nYou can use `PROXY={socks,http}://localhost:8888 node` to have make-fetch-happen pick it up. You should be able to hit any http or https service with m-f-h after that."},"comment":{"url":"https://api.github.com/repos/zkat/make-fetch-happen/issues/comments/303917185","html_url":"https://github.com/zkat/make-fetch-happen/issues/29#issuecomment-303917185","issue_url":"https://api.github.com/repos/zkat/make-fetch-happen/issues/29","id":303917185,"user":{"login":"zkat","id":17535,"avatar_url":"https://avatars2.githubusercontent.com/u/17535?v=3","gravatar_id":"","url":"https://api.github.com/users/zkat","html_url":"https://github.com/zkat","followers_url":"https://api.github.com/users/zkat/followers","following_url":"https://api.github.com/users/zkat/following{/other_user}","gists_url":"https://api.github.com/users/zkat/gists{/gist_id}","starred_url":"https://api.github.com/users/zkat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkat/subscriptions","organizations_url":"https://api.github.com/users/zkat/orgs","repos_url":"https://api.github.com/users/zkat/repos","events_url":"https://api.github.com/users/zkat/events{/privacy}","received_events_url":"https://api.github.com/users/zkat/received_events","type":"User","site_admin":false},"created_at":"2017-05-25T04:08:26Z","updated_at":"2017-05-25T04:08:26Z","body":"Heads-up: The npm-side repro case is going away as of the latest beta 'cause I worked around the dangling socket issue. This is still an issue for `make-fetch-happen` itself, though."}}
{"actor":{"display_login":"zkat"}}