{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/4306","labels_url":"https://api.github.com/repos/npm/npm/issues/4306/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/4306/comments","events_url":"https://api.github.com/repos/npm/npm/issues/4306/events","html_url":"https://github.com/npm/npm/issues/4306","id":24204905,"number":4306,"title":"Repeated ETIMEDOUT","user":{"login":"gregsandell","id":777014,"avatar_url":"https://avatars.githubusercontent.com/u/777014?v=3","gravatar_id":"","url":"https://api.github.com/users/gregsandell","html_url":"https://github.com/gregsandell","followers_url":"https://api.github.com/users/gregsandell/followers","following_url":"https://api.github.com/users/gregsandell/following{/other_user}","gists_url":"https://api.github.com/users/gregsandell/gists{/gist_id}","starred_url":"https://api.github.com/users/gregsandell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregsandell/subscriptions","organizations_url":"https://api.github.com/users/gregsandell/orgs","repos_url":"https://api.github.com/users/gregsandell/repos","events_url":"https://api.github.com/users/gregsandell/events{/privacy}","received_events_url":"https://api.github.com/users/gregsandell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/support","name":"support","color":"FF91AF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-12-12T20:10:43Z","updated_at":"2015-01-06T13:09:57Z","closed_at":null,"body":"I am installing grunt-cli with the command:\r\n\r\nsudo npm install -g grunt-cli\r\n\r\n...and every time I try I get this timeout error.  Suggestions?\r\n```\r\nnpm http GET https://registry.npmjs.org/grunt-cli\r\nnpm http GET https://registry.npmjs.org/grunt-cli\r\nnpm http GET https://registry.npmjs.org/grunt-cli\r\nnpm ERR! Error: connect ETIMEDOUT\r\nnpm ERR!     at errnoException (net.js:770:11)\r\nnpm ERR!     at Object.afterConnect [as oncomplete] (net.js:761:19)\r\nnpm ERR! If you need help, you may report this log at:\r\nnpm ERR!     <http://github.com/isaacs/npm/issues>\r\nnpm ERR! or email it to:\r\nnpm ERR!     <npm-@googlegroups.com>\r\n\r\nnpm ERR! System Darwin 12.5.0\r\nnpm ERR! command \"node\" \"/usr/local/bin/npm\" \"install\" \"-g\" \"grunt-cli\"\r\nnpm ERR! cwd /Users/gsandel/Documents/projects/swordfish-gsandell\r\nnpm ERR! node -v v0.8.20\r\nnpm ERR! npm -v 1.2.11\r\nnpm ERR! syscall connect\r\nnpm ERR! code ETIMEDOUT\r\nnpm ERR! errno ETIMEDOUT\r\nnpm ERR! \r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /Users/gsandel/Documents/projects/swordfish-gsandell/npm-debug.log\r\nnpm ERR! not ok code 0\r\n```\r\nThank you,\r\nGreg"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/68862928","html_url":"https://github.com/npm/npm/issues/4306#issuecomment-68862928","issue_url":"https://api.github.com/repos/npm/npm/issues/4306","id":68862928,"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-01-06T13:09:57Z","updated_at":"2015-01-06T13:09:57Z","body":"@gregsandell , Is this still a problem for you?\r\n\r\nThis looks like it might have been a transient problem with the registry from December 2013; since then the registry has become faster and more stable.\r\n\r\nThere have been a lot of improvements to npm -- especially around conflicts and race conditions during install -- since 1.2.11. Can you try updating your npm installation?\r\n\r\nTo update npm, run `npm -g install npm@latest`\r\n\r\nFor some Linux distributions (Debian/Ubuntu and RedHat/CentOS), the latest node version provided by the distribution may lag behind the stable version. [Here are instructions from NodeSource](https://github.com/nodesource/distributions) on getting the latest node.\r\n\r\nWe are trying to clean up older npm issues, so if we don't hear back from you within a week, we will close this issue. (Don't worry -- you can always come back again and open a new issue!)\r\n\r\nThanks!\r\n"}}