{"action":"created","issue":{"url":"https://api.github.com/repos/Level/leveldown/issues/226","labels_url":"https://api.github.com/repos/Level/leveldown/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/Level/leveldown/issues/226/comments","events_url":"https://api.github.com/repos/Level/leveldown/issues/226/events","html_url":"https://github.com/Level/leveldown/issues/226","id":109262560,"number":226,"title":"prebuild --download hangs & fails behind proxy","user":{"login":"zaceno","id":2061445,"avatar_url":"https://avatars.githubusercontent.com/u/2061445?v=3","gravatar_id":"","url":"https://api.github.com/users/zaceno","html_url":"https://github.com/zaceno","followers_url":"https://api.github.com/users/zaceno/followers","following_url":"https://api.github.com/users/zaceno/following{/other_user}","gists_url":"https://api.github.com/users/zaceno/gists{/gist_id}","starred_url":"https://api.github.com/users/zaceno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaceno/subscriptions","organizations_url":"https://api.github.com/users/zaceno/orgs","repos_url":"https://api.github.com/users/zaceno/repos","events_url":"https://api.github.com/users/zaceno/events{/privacy}","received_events_url":"https://api.github.com/users/zaceno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-10-01T09:34:30Z","updated_at":"2015-10-20T15:35:16Z","closed_at":null,"body":"\r\nBest guess: prebuild isn’t using my proxy settings. Even though they are set in environment variables, npm config AND command line flags.\r\n\r\n\r\nCommand:\r\n\r\n~~~~~~\r\n\r\nsudo npm install leveldown --verbose --global --insecure --without-ssl --strict-ssl=false --proxy=http://xxxxx:3128 --https-proxy=http://xxxxxx:3128\r\n\r\n~~~~~~\r\n\r\n\r\nConsole output (just the last part)\r\n\r\n~~~~~~~\r\nnpm info install leveldown@1.4.1\r\n\r\n> leveldown@1.4.1 install /usr/local/lib/node_modules/leveldown\r\n> prebuild --download\r\n\r\nprebuild http request GET https://github.com/level/leveldown/releases/download/v1.4.1/leveldown-v1.4.1-node-v46-darwin-x64.tar.gz\r\nprebuild WARN install socket hang up\r\nprebuild info install Falling back to compilation\r\nprebuild http request https://nodejs.org/dist/v4.1.1/node-v4.1.1.tar.gz\r\nprebuild ERR! build connect ENETUNREACH 104.20.23.46:443\r\nnpm verb unsafe-perm in lifecycle false\r\nnpm info leveldown@1.4.1 Failed to exec install script\r\nnpm verb unlock done using /Users/zache/.npm/_locks/leveldown-8847a5c85fdd2424.lock for /usr/local/lib/node_modules/leveldown\r\nnpm verb stack Error: leveldown@1.4.1 install: `prebuild --download`\r\nnpm verb stack Exit status 2\r\nnpm verb stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:214:16)\r\nnpm verb stack     at emitTwo (events.js:87:13)\r\nnpm verb stack     at EventEmitter.emit (events.js:172:7)\r\nnpm verb stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)\r\nnpm verb stack     at emitTwo (events.js:87:13)\r\nnpm verb stack     at ChildProcess.emit (events.js:172:7)\r\nnpm verb stack     at maybeClose (internal/child_process.js:817:16)\r\nnpm verb stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\nnpm verb pkgid leveldown@1.4.1\r\nnpm verb cwd /Users/zache/Code/queues\r\nnpm ERR! Darwin 14.5.0\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"leveldown\" \"--verbose\" \"--global\" \"--insecure\" \"--without-ssl\" \"--strict-ssl=false\" \"--proxy=http://xxxx:3128\" \"--https-proxy=http://xxxxx:3128\"\r\nnpm ERR! node v4.1.1\r\nnpm ERR! npm  v2.14.4\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! leveldown@1.4.1 install: `prebuild --download`\r\nnpm ERR! Exit status 2\r\nnpm ERR!\r\nnpm ERR! Failed at the leveldown@1.4.1 install script 'prebuild --download'.\r\nnpm ERR! This is most likely a problem with the leveldown package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     prebuild --download\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls leveldown\r\nnpm ERR! There is likely additional logging output above.\r\nnpm verb exit [ 1, true ]\r\nnpm verb unbuild lib/node_modules/leveldown\r\nnpm info preuninstall leveldown@1.4.1\r\nnpm info uninstall leveldown@1.4.1\r\nnpm verb unbuild rmStuff leveldown@1.4.1 from /usr/local/lib/node_modules\r\nnpm info postuninstall leveldown@1.4.1\r\nnpm verb gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/leveldown\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/xxxx/Code/queues/npm-debug.log\r\n\r\n~~~~~~~~\r\n"},"comment":{"url":"https://api.github.com/repos/Level/leveldown/issues/comments/149605358","html_url":"https://github.com/Level/leveldown/issues/226#issuecomment-149605358","issue_url":"https://api.github.com/repos/Level/leveldown/issues/226","id":149605358,"user":{"login":"juice49","id":1454914,"avatar_url":"https://avatars.githubusercontent.com/u/1454914?v=3","gravatar_id":"","url":"https://api.github.com/users/juice49","html_url":"https://github.com/juice49","followers_url":"https://api.github.com/users/juice49/followers","following_url":"https://api.github.com/users/juice49/following{/other_user}","gists_url":"https://api.github.com/users/juice49/gists{/gist_id}","starred_url":"https://api.github.com/users/juice49/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juice49/subscriptions","organizations_url":"https://api.github.com/users/juice49/orgs","repos_url":"https://api.github.com/users/juice49/repos","events_url":"https://api.github.com/users/juice49/events{/privacy}","received_events_url":"https://api.github.com/users/juice49/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T15:35:16Z","updated_at":"2015-10-20T15:35:16Z","body":"I've just encountered this issue. Did you figure out the cause or a workaround?"}}