{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/2956","labels_url":"https://api.github.com/repos/npm/npm/issues/2956/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/2956/comments","events_url":"https://api.github.com/repos/npm/npm/issues/2956/events","html_url":"https://github.com/npm/npm/issues/2956","id":8616208,"number":2956,"title":"npm leaks DNS requests when using proxy","user":{"login":"m0khtar","id":621776,"avatar_url":"https://avatars.githubusercontent.com/u/621776?v=3","gravatar_id":"","url":"https://api.github.com/users/m0khtar","html_url":"https://github.com/m0khtar","followers_url":"https://api.github.com/users/m0khtar/followers","following_url":"https://api.github.com/users/m0khtar/following{/other_user}","gists_url":"https://api.github.com/users/m0khtar/gists{/gist_id}","starred_url":"https://api.github.com/users/m0khtar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m0khtar/subscriptions","organizations_url":"https://api.github.com/users/m0khtar/orgs","repos_url":"https://api.github.com/users/m0khtar/repos","events_url":"https://api.github.com/users/m0khtar/events{/privacy}","received_events_url":"https://api.github.com/users/m0khtar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/bug","name":"bug","color":"C40233"}],"state":"open","locked":false,"assignee":{"login":"nathan7","id":50854,"avatar_url":"https://avatars.githubusercontent.com/u/50854?v=3","gravatar_id":"","url":"https://api.github.com/users/nathan7","html_url":"https://github.com/nathan7","followers_url":"https://api.github.com/users/nathan7/followers","following_url":"https://api.github.com/users/nathan7/following{/other_user}","gists_url":"https://api.github.com/users/nathan7/gists{/gist_id}","starred_url":"https://api.github.com/users/nathan7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathan7/subscriptions","organizations_url":"https://api.github.com/users/nathan7/orgs","repos_url":"https://api.github.com/users/nathan7/repos","events_url":"https://api.github.com/users/nathan7/events{/privacy}","received_events_url":"https://api.github.com/users/nathan7/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2012-11-23T20:34:31Z","updated_at":"2015-02-09T17:09:55Z","closed_at":null,"body":"Hi,\r\n\r\nI'm in a corporate environment and trying to install socket.io, no chance so far.\r\n\r\nnpm install socket.io\r\n\r\nI already did \r\n\tnpm config set proxy http://user:pass@xx.xx.xx.xx:xxxx to update the proxy\r\n\tnpm config set registry \"http://registry.npmjs.org/\"\r\n\tnpm cache clean\r\n\t\r\ni also deleted the .npmrc file just to be sure.\r\n\r\nI am able to run \"npm update\" because it generates 0 errors.\r\ni see a double slash \"\\\\\" on line 34. could it be that?\r\n\r\nAny help would be appreciated :)\r\n\r\nLog :\r\n\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ 'C:\\\\Program Files\\\\nodejs\\\\\\\\node.exe',\r\n1 verbose cli   'C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js',\r\n1 verbose cli   'install',\r\n1 verbose cli   'socket.io' ]\r\n2 info using npm@1.1.65\r\n3 info using node@v0.8.14\r\n4 verbose node symlink C:\\Program Files\\nodejs\\\\node.exe\r\n5 verbose read json C:\\Program Files\\nodejs\\package.json\r\n6 verbose read json C:\\Program Files\\nodejs\\node_modules\\npm\\package.json\r\n7 verbose read json C:\\Program Files\\nodejs\\package.json\r\n8 verbose cache add [ 'socket.io', null ]\r\n9 silly cache add name=undefined spec=\"socket.io\" args=[\"socket.io\",null]\r\n10 verbose parsed url { pathname: 'socket.io', path: 'socket.io', href: 'socket.io' }\r\n11 silly lockFile 71475bfd-socket-io socket.io\r\n12 verbose lock socket.io C:\\Documents and Settings\\xxx\\Application Data\\npm-cache\\71475bfd-socket-io.lock\r\n13 silly lockFile 71475bfd-socket-io socket.io\r\n14 verbose addNamed [ 'socket.io', '' ]\r\n15 verbose addNamed [ null, '' ]\r\n16 silly lockFile c03de861-socket-io socket.io@\r\n17 verbose lock socket.io@ C:\\Documents and Settings\\xxx\\Application Data\\npm-cache\\c03de861-socket-io.lock\r\n18 silly addNameRange { name: 'socket.io', range: '', hasData: false }\r\n19 verbose url raw socket.io\r\n20 verbose url resolving [ 'http://registry.npmjs.org/', './socket.io' ]\r\n21 verbose url resolved http://registry.npmjs.org/socket.io\r\n22 info trying registry request attempt 1 at 14:58:42\r\n23 http GET http://registry.npmjs.org/socket.io\r\n24 info retry will retry, error on last attempt: Error: getaddrinfo ENOENT\r\n25 info trying registry request attempt 2 at 14:58:54\r\n26 http GET http://registry.npmjs.org/socket.io\r\n27 info retry will retry, error on last attempt: Error: getaddrinfo ENOENT\r\n28 info trying registry request attempt 3 at 14:59:57\r\n29 http GET http://registry.npmjs.org/socket.io\r\n30 silly lockFile c03de861-socket-io socket.io@\r\n31 error Error: getaddrinfo ENOENT\r\n31 error     at errnoException (dns.js:31:11)\r\n31 error     at Object.onanswer [as oncomplete] (dns.js:123:16)\r\n32 error If you need help, you may report this log at:\r\n32 error     <http://github.com/isaacs/npm/issues>\r\n32 error or email it to:\r\n32 error     <npm-@googlegroups.com>\r\n33 error System Windows_NT 5.2.3790\r\n34 error command \"C:\\\\Program Files\\\\nodejs\\\\\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"install\" \"socket.io\"\r\n35 error cwd C:\\Program Files\\nodejs\r\n36 error node -v v0.8.14\r\n37 error npm -v 1.1.65\r\n38 error syscall getaddrinfo\r\n39 error code ENOTFOUND\r\n40 error errno ENOTFOUND\r\n41 verbose exit [ 1, true ]"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/73547488","html_url":"https://github.com/npm/npm/issues/2956#issuecomment-73547488","issue_url":"https://api.github.com/repos/npm/npm/issues/2956","id":73547488,"user":{"login":"smikes","id":5124609,"avatar_url":"https://avatars.githubusercontent.com/u/5124609?v=3","gravatar_id":"","url":"https://api.github.com/users/smikes","html_url":"https://github.com/smikes","followers_url":"https://api.github.com/users/smikes/followers","following_url":"https://api.github.com/users/smikes/following{/other_user}","gists_url":"https://api.github.com/users/smikes/gists{/gist_id}","starred_url":"https://api.github.com/users/smikes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smikes/subscriptions","organizations_url":"https://api.github.com/users/smikes/orgs","repos_url":"https://api.github.com/users/smikes/repos","events_url":"https://api.github.com/users/smikes/events{/privacy}","received_events_url":"https://api.github.com/users/smikes/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T17:09:55Z","updated_at":"2015-02-09T17:09:55Z","body":"Do we know whether this is a bug in `npm` or in `request` ?"}}