[BUG] Various parts of UniGetUI need different representations for proxy information
Please confirm these before moving forward
- [x] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
- [x] I have tested that this issue has not been fixed in the latest (beta or stable) release.
- [x] I have checked the FAQ section for solutions.
- [x] This issue is about a bug (if it is not, please use the correct template).
UniGetUI Version
3.3.6
Windows version, edition, and architecture
Microsoft Windows [Version 10.0.17763.316]
Describe your issue
If within UniGetUI "Configuration -> Internet connection -> Proxy -> Proxy-URL" is configured to hold "http://127.0.0.1:3128" it will break some packet managers:
- UniGetUI: works as expected.
- WinGet: uses setting, does not work any more.
- Scoop: ignores setting.
- Chocolatey: uses setting, works
- NPM: ignores setting.
- PIP: uses setting, works.
- Cargo: uses setting, works.
- vcpkg: ignores setting.
- .NET: uses setting, works.
- PowerShell 5.x: uses setting, works.
- PowerShell 7.x: uses setting, works.
If proxy-environment-variables are set, but not UniGetUI-Proxy-Config:
{ftp,http,https}_proxy=http://127.0.0.1:3128
- UniGetUI: does not work, no connection to any server.
- WinGet: works.
- Scoop: seems to work.
- Chocolatey: works.
- NPM: works.
- PIP: works.
- Cargo: seems to work.
- vcpkg: works.
- .NET: works.
- PowerShell 5.x: works.
- PowerShell 7.x: works.
If no proxy-environmet-variables are given and no proxy-configuration is made within UniGetUI, but a proxy is distributed within the network:
- UniGetUI: does not work, no connection to any server.
- WinGet: works.
- Scoop: does not work.
- Chocolatey: works.
- NPM: does not work.
- PIP: does not work.
- Cargo: does not work.
- vcpkg: does not work.
- .NET: works.
- PowerShell 5.x: works.
- PowerShell 7.x: works.
Commandline options overwrite proxy-environment-variables. proxy-environmet-variables overwrite proxy deploiment via network
For some pip-versions proxy-environment-variables must be lowercase, while other pip versions only accept uppercase variables. Later versions seem, at least on windows, accept upper and lowercase variables.
Steps to reproduce the issue
- Install UniGetUI, then WinGet, Scoop, NPM, PIP, Cargo, vcpkg, .Net-Tool, PowerShell 7.x
- leave UniGetUI proxy settings untouched, do not define proxy-environment variables.
- Test internet connectivity
- Define proxy-environment-variables
- Test internet connectivity
- Undefine proxy-environment-variables, set proxy configuration within UniGetUI
- Test internet connectivity
- Define proxy-environment-variables, set proxy configuration within UniGetUI
- Test internet connectivity
UniGetUI Log
.
Package Managers Logs
.
Relevant information
Screenshots and videos
No response
Same/similar problem here. If I set a proxy (which I must do in our corp environment) it breaks winget, because winget will only accept proxy settings when run as admin (which is not possible as I do not have admin privileges...also some functions in winget require it to be run as normal user). Disabling proxy in UniGetUI makes Winget work again which will just use the system proxy settings.