{"action":"closed","issue":{"url":"https://api.github.com/repos/Medium/phantomjs/issues/493","repository_url":"https://api.github.com/repos/Medium/phantomjs","labels_url":"https://api.github.com/repos/Medium/phantomjs/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/Medium/phantomjs/issues/493/comments","events_url":"https://api.github.com/repos/Medium/phantomjs/issues/493/events","html_url":"https://github.com/Medium/phantomjs/issues/493","id":141371070,"number":493,"title":"Fails to download from bitbucket","user":{"login":"btmash","id":109608,"avatar_url":"https://avatars.githubusercontent.com/u/109608?v=3","gravatar_id":"","url":"https://api.github.com/users/btmash","html_url":"https://github.com/btmash","followers_url":"https://api.github.com/users/btmash/followers","following_url":"https://api.github.com/users/btmash/following{/other_user}","gists_url":"https://api.github.com/users/btmash/gists{/gist_id}","starred_url":"https://api.github.com/users/btmash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btmash/subscriptions","organizations_url":"https://api.github.com/users/btmash/orgs","repos_url":"https://api.github.com/users/btmash/repos","events_url":"https://api.github.com/users/btmash/events{/privacy}","received_events_url":"https://api.github.com/users/btmash/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-16T19:03:11Z","updated_at":"2016-03-16T19:12:35Z","closed_at":"2016-03-16T19:12:35Z","body":"Hi,\r\n\r\nWhen I try to install phantomjs in our test env (which has to happen on every container atm), phantom sometimes fails to download. When I go to visit the resource at https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2, I will tend to see the following message:\r\n\r\n> Rate limit for this resource has been exceeded\r\n\r\nI'm not sure what the resolution to this would be.\r\n\r\nc/p of the full log below:\r\n\r\n```\r\n$ npm install\r\n\r\n> phantomjs-prebuilt@2.1.5 install /src/sites/all/tests/node_modules/phantomjs-prebuilt\r\n\r\n> node install.js\r\n\r\nPhantomJS not found on PATH\r\n\r\nDownloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2\r\n\r\nSaving to /src/sites/all/tests/node_modules/phantomjs-prebuilt/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2\r\n\r\nReceiving...\r\n\r\nError requesting archive.\r\n\r\nStatus: 429\r\n\r\nRequest options: {\r\n\r\n\"uri\": \"https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2\",\r\n\r\n\"encoding\": null,\r\n\r\n\"followRedirect\": true,\r\n\r\n\"headers\": {\r\n\r\n\"User-Agent\": \"npm/1.4.29 node/v0.10.41 linux x64\"\r\n\r\n},\r\n\r\n\"strictSSL\": true\r\n\r\n}\r\n\r\nResponse headers: {\r\n\r\n\"server\": \"nginx/1.6.2\",\r\n\r\n\"vary\": \"Accept-Language, Cookie\",\r\n\r\n\"cache-control\": \"max-age=900\",\r\n\r\n\"content-type\": \"text/plain\",\r\n\r\n\"strict-transport-security\": \"max-age=31536000\",\r\n\r\n\"date\": \"Wed, 16 Mar 2016 18:44:34 GMT\",\r\n\r\n\"x-served-by\": \"app-106\",\r\n\r\n\"expires\": \"Wed, 16 Mar 2016 18:44:34 GMT\",\r\n\r\n\"content-language\": \"en\",\r\n\r\n\"etag\": \"\\\"62dcd5481fd29816ecc5ae00be2da0b0\\\"\",\r\n\r\n\"x-static-version\": \"16305c19e23f\",\r\n\r\n\"x-render-time\": \"0.0163068771362\",\r\n\r\n\"connection\": \"keep-alive\",\r\n\r\n\"x-request-count\": \"342\",\r\n\r\n\"x-frame-options\": \"SAMEORIGIN\",\r\n\r\n\"last-modified\": \"Wed, 16 Mar 2016 18:44:34 GMT\",\r\n\r\n\"x-version\": \"16305c19e23f\",\r\n\r\n\"content-length\": \"46\"\r\n\r\n}\r\n\r\nMake sure your network and proxy settings are correct.\r\n\r\nIf you continue to have issues, please report this full log at https://github.com/Medium/phantomjs\r\n\r\nnpm ERR! phantomjs-prebuilt@2.1.5 install: `node install.js`\r\n\r\nnpm ERR! Exit status 1\r\n\r\nnpm ERR!\r\n\r\nnpm ERR! Failed at the phantomjs-prebuilt@2.1.5 install script.\r\n\r\nnpm ERR! This is most likely a problem with the phantomjs-prebuilt package,\r\n\r\nnpm ERR! not with npm itself.\r\n\r\nnpm ERR! Tell the author that this fails on your system:\r\n\r\nnpm ERR! node install.js\r\n\r\nnpm ERR! You can get their info via:\r\n\r\nnpm ERR! npm owner ls phantomjs-prebuilt\r\n\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! System Linux 3.13.0-62-generic\r\n\r\nnpm ERR! command \"/usr/bin/node\" \"/usr/bin/npm\" \"install\"\r\n\r\nnpm ERR! cwd /src/sites/all/tests\r\n\r\nnpm ERR! node -v v0.10.41\r\n\r\nnpm ERR! npm -v 1.4.29\r\n\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! not ok code 0 \r\n```"}}