-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] npm http fetch GET 403 durign download from azure feed #7210
Comments
@stachupl try updating npm to 10.5.0 |
I updated npm to version 10.5.0
but unfortunately I still get the error ` ` Installation using 8.19.4 still works properly. |
@stachupl node 20.12.0/18.20.0 with npm 10.5.0 seem to have fixed this issue for me. Though 20.12.0 shows possible mem leak issue / max listeners exceeded warning. And 18.20.0 doesn't generate this warning in my tests as far i see now. But do see alot of open tcp connections when running npm install, which looks like another bug #7072 which for me seems there already in previous versions like npm 9.5.1 (with node 18.16.0). So, long story short, I can live with the latest version, so far. |
@gitnubster I tried it with node 20.12.0 and npm 10.5.0 and it's still doesn't work for me. I cleared cache and deleted package-lock.json. Can you send me output form npm config list? Maybe I'm missing some additional parameter in the configuration or I have some redundant parameter? |
I changed registry protocol from http to https and it started working. Thanks for your help :) |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
During donwload packages from azure feed using corporate proxy I got lots of 403 errors
npm http fetch GET 403 https://6wovsblobprodsu6weus74.blob.core.windows.net/...&rscd=attachment%3B%20filename%3D%22file-type-4.4.0.tgz%22 44421ms (cache skip)
and finally I got error
npm ERR! code E403
npm ERR! 403 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. - GET https://pyvvsblobprodsu6weus63.blob.core.windows.net/...&rscd=attachment%3B%20filename%3D%22worker-farm-1.7.0.tgz%22
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy, or
npm ERR! 403 on a server you do not have access to.
Downloading dependencies from the pkgs.dev.azure.com domain works fine. The problem does not occur on the Node.js version 16.20.2
Expected Behavior
Downloading dependencies correctly
Steps To Reproduce
npm ERR! code E403
npm ERR! 403 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. - GET https://pyvvsblobprodsu6weus63.blob.core.windows.net/...&rscd=attachment%3B%20filename%3D%22worker-farm-1.7.0.tgz%22
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy, or
npm ERR! 403 on a server you do not have access to.
Environment
The text was updated successfully, but these errors were encountered: