-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Labels
Description
Hi,
when there's a proxy configured for a repository, with either proxy=<proxy_url>, or ?proxy=<proxy_url> appended to the baseurl, it's not being used for e.g. download.opensuse.org mirrors when redirected.
Steps to reproduce
system running openSUSE Leap 15.6
Configure repo with proxy
[openSUSE:Tools]
enabled=1
autorefresh=1
baseurl=https://download.opensuse.org/repositories/openSUSE:/Tools/${releasever}/
proxy=http://<proxy>:<port>
or
[openSUSE:Tools]
enabled=1
autorefresh=1
baseurl=https://download.opensuse.org/repositories/openSUSE:/Tools/${releasever}/?proxy=http://<proxy>:<port>
update repository metadata
zypper refresh
try installing/updating packages
zypper -vvv up / zypper -vvv install obs-service-snapcraft
Actual result
zypper tries to connect to the repository mirrors without any proxy. (?proxy parameter not present in URL in output)
Eventually, it falls back to the main URL with the proxy.
Expected result
zypper tries to connect to the repository mirrors with the proxy configured. (?proxy parameter present in URL in output)