-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
[get.jenkins.io] provide a mirror for Jenkins Russian users #4147
Comments
First set of options after initial discussions:
|
I tried to contact the mirror.yandex team via the official email address, but got no reply. Maybe @w-e-g could directly contact the engineer he mentioned. |
My friend pinged a man who worked on mirror.yandex.ru, but no answer at all. |
We've had a response from yandex to the jenkins infra team FYI, they would like to make their mirror an official one. |
We're going to add this mirror to get.jenkins.io today (Monday 24 June 2024) between 01:35pm UTC and 02:00pm UTC (along with #4145) |
Yandex mirror has been added with success 🥳 https://get.jenkins.io/debian/jenkins_2.463_all.deb?mirrorstats Note: we had the same issue as for Hostico (mirror marked as "down", cf #3976 (comment)), resolved after some times. Not sure what worked, |
Is this the cause now for:
yandex is blocked in a lot of corporate environments. |
Hi @Unknown-Guy , there isn't a lot we can do on the infra, unless one of these corporations helps by providing a (public) download mirror in the Russia area. As a reminder, the Jenkins project is living on sponsorships: we do not have the financial resource to cover all cases and quality of service unless users helps by sponsoring. Other alternative is to contact companies such as CloudBees (and pay their product) to ensure this kind of constraint is solved for your company. |
I don't need the yandex mirror at all, we are in EU, it seems, after this change, closest mirror is yandex one which is blocked, some countries even block yandex (Finland and Norway come to mind). So this is breaking change. |
Looks like this is vice versa situation. @dduportal It is time to add mirror selection preferences on Jenkins end, what do you think? |
Maybe Jenkins team just could use That would be (IMO) the easiest solution. Ref:
|
@lemeurherve I've seen you comment come and go, but in case the Something along the following code-path - https://github.com/etix/mirrorbits/blob/master/rpc/rpc.go#L329-L358 |
@QMiqTx6DHn1bA9yaNaAbsD3CLG8gTmd4 This addition will fix current problem (for some EU countries), but will lead for new problems:
I think we need another issue for this discussion, what do you think? |
Yes sorry I deleted my comment which was wrong, this |
Hi folks, thanks for the pointers and details.
If this is something which look interesting to you, you can raise a feature request on mirrorbits open source software we use: if they implement it then we could benefit from it. However, I don't think it is a wise choice as it would allow anyone to bypass the redirections, which defeat the whole purpose (ref. https://www.sonatype.com/blog/maven-central-and-the-tragedy-of-the-commons). If the goal is to solve local optimums and break the other, then it start to be a problem. |
Reopening as this is a problem to be solved |
Proposal based on the above comments from different users + internal discussions:
Any objection of thing to consider if we set up this change next week? |
@dduportal Can you describe what Jenkins will do if first mirror picked is not reachable for some reason? Will it fail or pick second mirror? If it can pick second mirror - it will fix all these problems, don't you think so? Or it is hard to implement? (I'm not familiar with mirrorbits, sorry) |
No problem, this is a good question. Mirrorbits only emits an HTTP 3xx redirection, with the Location header set to the mirror URL closest to you. There is no dynamic reverse proxying so we cannot do such feature. the goal for it is to be simple to defer traffic to mirrors (handling only http/3xx request does not cost much). So it can handle a lot of traffic. |
We are starting the operation |
Operation finished: both Yandex and Hostico mirrors are now set up as "Country only". You can see this result in https://get.jenkins.io/war/2.464/jenkins.war?mirrorlist as example: |
Ping @anonimus-asuseeepc (ref. #4160) @QMiqTx6DHn1bA9yaNaAbsD3CLG8gTmd4 @Stikus @Unknown-Guy could you confirm if it fixes your problems? |
It seems all is good now, our Jenkins updated all plugins without issues. |
Many thanks! |
Service(s)
get.jenkins.io
Summary
As per #4128 (comment), the Jenkins Russian users recently went trough troubles when it comes to downloading Jenkins plugins/installers through our mirror system
get.jenkins.io
:As such, this issue is to find a solution (and track its resolution up to completion) from the Jenkins project infrastructure.
The goals are:
Reproduction steps
No response
The text was updated successfully, but these errors were encountered: