-
Notifications
You must be signed in to change notification settings - Fork 12
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
Automated update checks fail if mirror not reachable or blocked due to company policy #429
Comments
For this specific problem you can add Unfortunately I don't have easier solution at the moment, but let me know if such workaround is possible for you. |
Thx, I will try it. :-) Is this a documented parameter? But as you said this is only a workaround. |
Unfortunately no much documentation atm besides unit tests, e.g. MirrorCache/t/environ/03-geo.sh Line 71 in 863fb70
Separator is coma (see example below) COUNTRY and REGION are detected automatically, and they are preffered when possible, you can check that such detection works properly using route /rest/myip , e.g.:
If that info in output of that command is incorrect - you can add REGION and COUNTRY the same way to url. So it will try to find the closest mirror. You might try combining these variables like
|
Closing this because of inactivity, but feel free to reopen if more assistance is needed |
I'm operating several openSUSE systems in different environments and do not want to setup local mirrors (or have the necessary IT infrastructure).
To monitor possible (security) updates for the systems, zypper is called cyclic to see the number or details.
Sometimes the download from the via MirrorCache redirected http requests failed, reasons can be errors on the
mirror or also blocked access to the specific mirror due to customers security policy (i.e. websites from countries involved in wars or cyber attacks are not trusted).
It seems that the local systems are not able to tell MirrorCache to use alternative mirrors or limit mirror selection to specific regions or countries.
Is there a way to select specific mirrors or to change the behavior of zypper?
In most cases we have to use proxies for internet access and maybe we have to change the proxy response in such cases.
Example:
The text was updated successfully, but these errors were encountered: