Hi everyone! I’ve been having some issues recently when trying to use Jenkins.
The problem is at follows:
A couple days ago while I was a the office I installed Jenkins using the official docker image (jenkins/jenkins:lts-jdk-17), installed the plugins and started working.
Later on, at my home, when I tried to use Jenkins again on my computer, whenever it tried to install the suggested plugins it just fails, resulting in installing just a few of them (almost never the same plugins when trying again).
Long story short, the problem it seems to be that whenever Jenkins is trying to install the plugin from ftp.halifax.rwth-aachen.de I get a timed out connection, but when it tries to install it from ftp.belnet.be everything works as expected.
I observed that from looking at the logs Jenkins creates when trying to install the Plugins and i also got inside the Docker container running Jenkins and I tried some curl commands. Also, when I connect my home PC to my phone hotspot, the problem disappears, so it seems that somehow I think that my IP is banned by ftp.halifax.rwth-aachen.de, although I don’t understand why, cause it is the first time trying do install Jenkins on my computer within this network, which is a home network, not a public one.
Any ideas about what should I do in order to resolve this problem?
I will also leave some of the logs here so it may be more clear to everybody reading the topic:
2024-02-18 08:13:17.755+0000 [id=102] SEVERE h.model.UpdateCenter$DownloadJob#run: Failed to install cloudbees-folder
java.net.SocketTimeoutException: Connect timed out
...
Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugins/cloudbees-folder/6.858.v898218f3609d/cloudbees-folder.hpi (redirected to: https://ftp.halifax.rwth-aachen.de/jenkins/plugins/cloudbees-folder/6.858.v898218f3609d/cloudbees-folder.hpi)
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1366)
at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1923)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2235)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1897)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:121)
at java.base/java.lang.Thread.run(Thread.java:840)
Jenkins setup:
Jenkins: 2.426.3
OS: Linux - 6.1.0-18-amd64
Java: 17.0.9 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)
apache-httpcomponents-client-4-api:4.5.14-208.v438351942757
bouncycastle-api:2.30.1.77-225.v26ea_c9455fd9
caffeine-api:3.1.8-133.v17b_1ff2e0599
durable-task:550.v0930093c4b_a_6
instance-identity:173.va_37c494ec4e5
ionicons-api:56.v1b_1c8c49374e
jakarta-activation-api:2.0.1-3
jakarta-mail-api:2.0.1-3
javax-activation-api:1.2.0-6
pam-auth:1.10
resource-disposer:0.23
scm-api:683.vb_16722fb_b_80b_
structs:337.v1b_04ea_4df7c8
variant:60.v7290fc0eb_b_cd