You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.
We have an internal web server setup that provides various internal installers. It requires Windows authentication to log onto the site. I started playing around with creating Chocolatey packages that will pull down an installer from this web site and install it on a machine. That is all going very well using Chocolatey 0.9.9.8. However when I try to install the same package using WMF 5 April Preview, I get this error:
If I monitor a working choco install AcmeServer -y session with Fiddler, I see that the downloads web server returns a 401 auth error but choco tries again using my default Windows credentials. And the download succeeds. The Chocolatey provider on the other hand, does not try again after it receives the 401 auth error. It just bombs out. It seems to me that the provider should behave like choco.exe and upon receiving a 401 error, it should retry using the current user's default credentials.
The text was updated successfully, but these errors were encountered:
We have an internal web server setup that provides various internal installers. It requires Windows authentication to log onto the site. I started playing around with creating Chocolatey packages that will pull down an installer from this web site and install it on a machine. That is all going very well using Chocolatey 0.9.9.8. However when I try to install the same package using WMF 5 April Preview, I get this error:
22# Install-Package AcmeServer -Source ChocoAcme
WARNING: Unable to download from URI 'http://downloads.den.acme.com Yada yada yada
If I monitor a working choco install AcmeServer -y session with Fiddler, I see that the downloads web server returns a 401 auth error but choco tries again using my default Windows credentials. And the download succeeds. The Chocolatey provider on the other hand, does not try again after it receives the 401 auth error. It just bombs out. It seems to me that the provider should behave like choco.exe and upon receiving a 401 error, it should retry using the current user's default credentials.
The text was updated successfully, but these errors were encountered: