cli icon indicating copy to clipboard operation
cli copied to clipboard

[BUG] 429 Too Many Requests

Open raphaelyancey opened this issue 6 years ago • 266 comments

What / Why

I'm getting E429 error

When

  • Everytime I run npm ci (since today at least)

Where

  • npm public registry

Current Behavior

  • The npm ci command returns E429 error (Too Many Requests) and doesn't complete packages installation

Steps to Reproduce

  • npm ci

Expected Behavior

  • It should install packages

raphaelyancey avatar Feb 17 '20 11:02 raphaelyancey

Same here, but with npm -g install @vue/cli.

npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code E429
npm ERR! 429 Too Many Requests - GET https://registry.npmjs.org/lowdb/-/lowdb-1.0.0.tgz

44kia244 avatar Feb 17 '20 11:02 44kia244

#805 similar isseue - random 403 or 429

hsmusz avatar Feb 17 '20 11:02 hsmusz

Having same issue on our pipelines. Responses vary between 403 Forbidden and 420 Too Many Requests

MatejBalantic avatar Feb 17 '20 11:02 MatejBalantic

We see this in any of our CI tasks running in AWS

Step 8/11 : RUN npm ci
 ---> Running in 87051ac87a51
npm ERR! code E429
npm ERR! 429 Too Many Requests - GET https://registry.npmjs.org/@types/xxhashjs/-/xxhashjs-0.2.1.tgz
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-02-17T11_49_35_151Z-debug.log
The command '/bin/sh -c npm ci' returned a non-zero code: 1
ERROR: Job failed: exit code 1

kurrestahlberg avatar Feb 17 '20 11:02 kurrestahlberg

Also for me on bamboo build:

error	17-feb-2020 12:49:46	npm ERR! code E429
error	17-feb-2020 12:49:46	npm ERR! 429 Too Many Requests - GET https://registry.npmjs.org/@snyk/configstore/-/configstore-3.2.0-rc1.tgz

m33ch avatar Feb 17 '20 11:02 m33ch

Centralized infrastructure :~( (waiting for the post-mortem, but not holding my breath...)

quite avatar Feb 17 '20 11:02 quite

It'd be useful to have a list of (verified) public registry mirrors. I found some but I can't trust them.

raphaelyancey avatar Feb 17 '20 12:02 raphaelyancey

Same, both locally and on Circle CI

pwright08 avatar Feb 17 '20 12:02 pwright08

Also seeing the same using Circle CI and locally

npm ERR! code E429 npm ERR! 429 Too Many Requests - GET https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz

Kellym-Kainos avatar Feb 17 '20 12:02 Kellym-Kainos

I'm seeing errors like..

"The owner of this website (registry.npmjs.org) has banned you temporarily from accessing this website"

and

"You are being rate limited"

I'm guessing this is all related?

jimhooker2002 avatar Feb 17 '20 12:02 jimhooker2002

We are also having this issue when deploying on Heroku.

npm ERR! code E429
npm ERR! 429 Too Many Requests - GET https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz

ymynem avatar Feb 17 '20 12:02 ymynem

Having the same errors when deploying on heroku.

bitqueenbr avatar Feb 17 '20 12:02 bitqueenbr

same here with AWS CodeBuild and npm i -g aws-cdk

npm ERR! code E429
28

general server issue?

codyfy avatar Feb 17 '20 12:02 codyfy

I also have same problem npm ERR! code E429 npm ERR! 429 Too Many Requests - GET https://registry.npmjs.org/silent-error

esrgrlk avatar Feb 17 '20 12:02 esrgrlk

Same here when installing packages locally. Sweden.

npm ERR! 429 Too Many Requests - GET https://registry.npmjs.org/lodash

vrease avatar Feb 17 '20 12:02 vrease

Yep, I'm seeing this on Travis too for npm audit:

npm ERR! audit Your configured registry (https://registry.npmjs.org/) may not support audit requests, or the audit endpoint may be temporarily unavailable.

npm ERR! audit The server said:

Access denied | registry.npmjs.org used Cloudflare to restrict access
You are being rate limited
The owner of this website (registry.npmjs.org) has banned you temporarily from accessing this website.

mattandrews avatar Feb 17 '20 12:02 mattandrews

Same thing happening over here. Getting the error when doing npm update

Franchi05 avatar Feb 17 '20 12:02 Franchi05

17-Feb-2020 11:47:48 npm ERR! code E429 17-Feb-2020 11:47:48 npm ERR! 429 Too Many Requests - GET https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.8.3.tgz

Same issue here. We are using bamboo ci. Own installation. The file is accessible from the server itself:

--2020-02-17 11:59:28--  https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.8.3.tgz
Resolving registry.npmjs.org (registry.npmjs.org)... 104.16.17.35, 104.16.24.35, 104.16.26.35, ...
Connecting to registry.npmjs.org (registry.npmjs.org)|104.16.17.35|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6735 (6.6K) [application/octet-stream]
Saving to: 'plugin-transform-block-scoping-7.8.3.tgz'

plugin-transform-block-scoping-7.8.3.tgz                 100%[================================================================================================================================>]   6.58K  --.-KB/s    in 0s

2020-02-17 11:59:28 (95.5 MB/s) - 'plugin-transform-block-scoping-7.8.3.tgz' saved [6735/6735]```

wiseelf avatar Feb 17 '20 12:02 wiseelf

Facing this issue too, is this a global thing or maybe region related? We just had something similar last year in Germany.

dtmzr avatar Feb 17 '20 12:02 dtmzr

Same here running on Gitlab CI

dorsharon avatar Feb 17 '20 12:02 dorsharon