Issue while upgrading plugins on latest Jenkins

Jenkins setup: Moving from Jenkins 1.x to 2.x
Using Java 17
Installation to 2.414.2 was successful, but while upgrading plugins to latest versions it gave error -

Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugins/ant/497.v94e7d9fffa_b_9/ant.hpi (redirected to: https://ftp.belnet.be/mirror/jenkins/plugins/ant/497.v94e7d9fffa_b_9/ant.hpi)

Downloaded certificate and added into cacerts of JAVA_HOME and restarted Jenkins, but error still persists. Any diea around what could be the issue here?

I would guess that some network filtering system decided that you are not allowed to access ftp.belnet.be even though you are allowed to access updaets.jenkins.io. The Jenkins mirrors are selected based on their geographic distance from the requester. In this case, you’ll probably need to add the IP address of ftp.belnet.be as an allowed IP address to access.

The problem should be fixed @Tanmay as per ftp.belnet.be should be removed from mirrors or a fall-back offered · Issue #3784 · jenkins-infra/helpdesk · GitHub, can you confirm?

Yes, the issue seemed to be fixed, Thanks for all the support! :slight_smile:

2 Likes

Thanks a lot for the feedback, @Tanmay. :+1:

Hello, since last few days the issue is coming again. Any updates?

You’ll need to raise an issue with the Jenkins infra help desk. You may also want to raise an issue with your ISP to understand why the belnet servers believe that they are being spammed from your IP address range.