-
Notifications
You must be signed in to change notification settings - Fork 89
Description
Functional impact
If You configure only http_proxy + http_proxy.user + http_proxy.password, but the program gets a https_proxy URL from somewhere, Your settings will never be used and the restore function fails despite entering the right values.
I don't know how, but when debugging ProxySettings.cs, private IWebProxy TryConfigureProxy(), the line
if (_settings.TryGetValue(proxySettingName, out string proxyAddress)) (line 82)
returned a valid URL for https_proxy, even if it wasn't configured.
Therefore my own credentials were never used.
Minimal repro steps
-
configure:
https_proxy (with no credentials)
http_proxy
http_proxy.user
http_proxy.password -
Execute
libman restore -
You will get lots of errors, like
[LIB002]: The "jquery-easing@1.4.1" library could not be resolved by the "cdnjs" provider
Expected result
I would expect that the credentials I entered would make restore possible
I can understand that not every proxy needs user name + password
It would help, if at least in the documentation, the user would be instructed to set https_proxy + credentials first.
Unfortunately, the current documentation only mentions http_proxy settings.