-
Notifications
You must be signed in to change notification settings - Fork 139
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
Install-Module is not working properly with -Proxy #652
Comments
@brunosaboia Please open issue in PowerShellGet repository. |
Hi, is there any workaround for this problem? I am facing the same issue in our corporate environment for our servers.
|
Hi @astaruch, thanks for sharing this. Are you facing any issues when you run this command without the |
the ping results are 100% timeout btw |
@quatis can you try registering the PSGallery Repository with |
Hi, same issue here. Corporate proxies are going to be pretty common with their customer base, seems like an odd oversight by Microsoft.
|
Thanks @floptical! We noticed you are also running PowerShellGet Can you try run |
Steps to reproduce
Run
Install-Module
behind a proxy:Expected behavior
Installed-Module
should use the specified proxy, such as inInvoke-WebRequest
:Actual behavior
Proxy setting is ignored or incorrectly used (the DNS failure is an indication of that, as I have the same issue if I try
ping www.powershellgallery.com
):Environment data
The text was updated successfully, but these errors were encountered: