New installation - no connection to plugins server

I want to learn Jenkins so I installed it on my Kubernetes setup (Minikube locally) using the jenkins/jenkins:lts image. But when I log in to Jenkins is has the problem of not being able to connect to the plugins server. I have used many hours going through Stackowerflow etc to find a solution, like changing the url from https://updates.jenkins.io/update-center.json to just using http.
I’m not behind a corporate firewall, it’s just on a local machine connected to an ordinary router. Do I really need to set up a proxy server or is there another fix?

Hello @MichaelSoegaard and welcome to this community :wave:

What kind of logs do you have regarding the network?
Is that a timeout?
Would you be able to try a simple docker-compose sample on your machine?

1 Like

also do you have the actual error message? “doesn’t work” doesn’t tell us much

@poddingue I did try just to run the image with docker run and it worked fine. I will try docker-compose as well.

1 Like

So basically I followed the official docs on installing in Kubernetes. When I go the basic yaml route I encounter the problem described here. The first time Jenkins is starting and I log in, I get this screen:

In the log it throws this error:
WARNING hudson.model.UpdateCenter#updateDefaultSite: Upgrading Jenkins. Failed to update the default Update Site 'default'. Plugin upgrades may fail.

This is the full log:

2023-01-23 19:41:31.681+0000 [id=28]	WARNING	hudson.model.UpdateCenter#updateDefaultSite: Upgrading Jenkins. Failed to update the default Update Site 'default'. Plugin upgrades may fail.
java.net.UnknownHostException: updates.jenkins.io
	at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:229)
	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.base/java.net.Socket.connect(Socket.java:609)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:305)
	at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:177)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:507)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
	at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:373)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:207)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:193)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
	at hudson.model.DownloadService.loadJSON(DownloadService.java:122)
	at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:219)
	at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:214)
	at hudson.model.UpdateCenter.updateDefaultSite(UpdateCenter.java:2672)
	at jenkins.install.SetupWizard.init(SetupWizard.java:209)
	at jenkins.install.InstallState$InitialSecuritySetup.initializeState(InstallState.java:182)
	at jenkins.model.Jenkins.setInstallState(Jenkins.java:1134)
	at jenkins.install.InstallUtil.proceedToNextStateFrom(InstallUtil.java:99)
	at jenkins.install.InstallState$Unknown.initializeState(InstallState.java:88)
	at jenkins.model.Jenkins$15.run(Jenkins.java:3500)
	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:177)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
	at jenkins.model.Jenkins$5.runTask(Jenkins.java:1161)
	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:70)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
2023-01-23 19:41:31.681+0000 [id=42]	INFO	hudson.util.Retrier#start: The attempt #1 to do the action check updates server failed with an allowed exception:
java.net.UnknownHostException: updates.jenkins.io
	at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:229)
	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.base/java.net.Socket.connect(Socket.java:609)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:305)
	at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:177)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:507)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
	at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:373)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:207)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:193)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
	at hudson.model.DownloadService.loadJSON(DownloadService.java:122)
	at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:219)
	at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:214)
	at hudson.PluginManager.checkUpdatesServer(PluginManager.java:2039)
	at hudson.util.Retrier.start(Retrier.java:62)
	at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:2010)
	at jenkins.DailyCheck.execute(DailyCheck.java:93)
	at hudson.model.AsyncPeriodicWork.lambda$doRun$0(AsyncPeriodicWork.java:102)
	at java.base/java.lang.Thread.run(Thread.java:829)
2023-01-23 19:41:31.682+0000 [id=28]	INFO	jenkins.InitReactorRunner$1#onAttained: Completed initialization
2023-01-23 19:41:31.683+0000 [id=42]	INFO	hudson.util.Retrier#start: Calling the listener of the allowed exception 'updates.jenkins.io' at the attempt #1 to do the action check updates server
2023-01-23 19:41:31.688+0000 [id=42]	INFO	hudson.util.Retrier#start: Attempted the action check updates server for 1 time(s) with no success
2023-01-23 19:41:31.691+0000 [id=42]	SEVERE	hudson.PluginManager#doCheckUpdatesServer: Error checking update sites for 1 attempt(s). Last exception was: UnknownHostException: updates.jenkins.io
2023-01-23 19:41:31.704+0000 [id=22]	INFO	hudson.lifecycle.Lifecycle#onReady: Jenkins is fully up and running

1 Like

this is def a dns issue

Googling i see some people have had minikube issues. I’ve not found anything really useful. Debugging DNS Resolution | Kubernetes is the best i could find.

1 Like

Did you ever figure this out? I’m having the same issue. I even manually set the DNS servers for the container. No change.

Update:
DNS didn’t work for “lts” and “latest” tags, but it worked with image jenkins/jenkins:lts-centos7-jdk11

This is running in TrueNAS 23.10.1 as a custom application. Basically it is running in Rancher k3s.

Warning: The jenkins/jenkins:lts-centos7-jdk11 image is built on CentOS 7, which will no longer be supported by Jenkins from next year.

There are concerns about the currency of this image. It is advisable to avoid using latest as it might lead to unpredictable outcomes due to the lack of version specificity.

I can confirm that this issues isn’t just restricted to minikube. I am facing this issue with a fresh cluster installation that I have setup using kubespray. I have tried dnsutils image and can successfully lookup updates.jenkins.io.

Additionally, I logged into jenkins pod as well and tried using curl to download a plugin from updates.jenkins.io and it failed with 2 errors primarily:

a. At times, I saw curl trying to resolve to ipv6 associated with updates.jenkins.io
b. Most of the times, it failed to just download and threw similar errors to what I have pasted below:

Caused: java.io.IOException: Failed to load https://updates.jenkins.io/download/plugins/script
-security/1294.v99333c047434/script-security.hpi to /var/jenkins_home/plugins/script-security.
jpi.tmp
        at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1332
)
Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugi
ns/script-security/1294.v99333c047434/script-security.hpi (redirected to: https://get.jenkins.
io/plugins/script-security/1294.v99333c047434/script-security.hpi)

Also you can below the time it took to install 5 plugins. this was at the first boot/fresh installation of jenkins.

2023-12-20 17:02:18.826+0000 [id=188]   INFO    jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
2023-12-20 17:02:18.828+0000 [id=188]   INFO    jenkins.InitReactorRunner$1#onAttained: Completed initialization
2023-12-20 17:02:18.831+0000 [id=73]    INFO    h.m.UpdateCenter$CompleteBatchJob#run: Completed installation of 5 plugins in 27 min
1 Like

Adding more debugging information below:

I managed to get into jenkins after a long wait and tried to install a plugin “kubernetes-cli”. Here are the finding:

If you see, the preparation part is successful, meaning, updates.jenkins.io is reachable. BUT, structs failed to install.

Additional logs from pods:

Caused: java.io.IOException: Failed to load https://updates.jenkins.io/download/plugins/structs/325.vcb_307d2a_2782/structs.hpi to /var/jenkins_home/plugins/structs.jpi.tmp
        at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1332)
Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugins/structs/325.vcb_307d2a_2782/structs.hpi (redirected to: https://ftp.halifax.rwth-aachen.de/jenkins/plugins/structs/325.vcb_307d2a_2782/structs.hpi)
1 Like

That is good information. I’m still having this issue with jenkins/jenkins:latest image so I’ll continue to the use the unsupported image as I need my jobs to run.

2024-01-08 22:47:01.847559-07:00Running from: /usr/share/jenkins/jenkins.war

2024-01-08 22:47:01.847895-07:00webroot: /var/jenkins_home/war

2024-01-08 22:47:01.989509-07:002024-01-09 05:47:01.966+0000 [id=1] INFO winstone.Logger#logInternal: Beginning extraction from war file

2024-01-08 22:47:03.688627-07:002024-01-09 05:47:03.688+0000 [id=1] WARNING o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath

2024-01-08 22:47:03.719786-07:002024-01-09 05:47:03.719+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: jetty-10.0.18; built: 2023-10-27T01:59:58.245Z; git: 8545fd9bf4cd0d0838f626b405fd4963441546b7; jvm 17.0.9+9

2024-01-08 22:47:03.837999-07:002024-01-09 05:47:03.837+0000 [id=1] INFO o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet

2024-01-08 22:47:03.863054-07:002024-01-09 05:47:03.862+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: Session workerName=node0

2024-01-08 22:47:04.105399-07:002024-01-09 05:47:04.105+0000 [id=1] INFO hudson.WebAppMain#contextInitialized: Jenkins home directory: /var/jenkins_home found at: EnvVars.masterEnvVars.get("JENKINS_HOME")

2024-01-08 22:47:04.218295-07:002024-01-09 05:47:04.217+0000 [id=1] INFO o.e.j.s.handler.ContextHandler#doStart: Started w.@2dfe5525{Jenkins v2.439,/,file:///var/jenkins_home/war/,AVAILABLE}{/var/jenkins_home/war}

2024-01-08 22:47:04.225707-07:002024-01-09 05:47:04.225+0000 [id=1] INFO o.e.j.server.AbstractConnector#doStart: Started ServerConnector@18c5069b{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}

2024-01-08 22:47:04.231900-07:002024-01-09 05:47:04.231+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: Started Server@3381b4fc{STARTING}[10.0.18,sto=0] @2539ms

2024-01-08 22:47:04.232609-07:002024-01-09 05:47:04.232+0000 [id=39] INFO winstone.Logger#logInternal: Winstone Servlet Engine running: controlPort=disabled

2024-01-08 22:47:04.320270-07:002024-01-09 05:47:04.319+0000 [id=45] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization

2024-01-08 22:47:04.322161-07:002024-01-09 05:47:04.321+0000 [id=44] INFO hudson.PluginManager#loadDetachedPlugins: Upgrading Jenkins. The last running version was 2.414.3. This Jenkins is version 2.439.

2024-01-08 22:47:04.907766-07:002024-01-09 05:47:04.906+0000 [id=44] INFO hudson.PluginManager#loadDetachedPlugins: Upgraded Jenkins from version 2.414.3 to version 2.439. Loaded detached plugins (and dependencies): []

2024-01-08 22:47:05.991823-07:002024-01-09 05:47:05.991+0000 [id=55] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins

2024-01-08 22:47:09.932310-07:002024-01-09 05:47:09.931+0000 [id=72] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins

2024-01-08 22:47:09.938681-07:002024-01-09 05:47:09.938+0000 [id=72] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins

2024-01-08 22:47:09.942919-07:002024-01-09 05:47:09.942+0000 [id=82] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions

2024-01-08 22:47:10.249972-07:002024-01-09 05:47:10.249+0000 [id=72] INFO h.p.b.g.GlobalTimeOutConfiguration#load: global timeout not set

2024-01-08 22:47:10.524459-07:002024-01-09 05:47:10.524+0000 [id=68] INFO hudson.slaves.SlaveComputer#tryReconnect: Attempting to reconnect jenkins_agent

2024-01-08 22:47:10.561496-07:002024-01-09 05:47:10.560+0000 [id=68] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded

2024-01-08 22:47:10.561937-07:002024-01-09 05:47:10.561+0000 [id=68] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted

2024-01-08 22:47:10.625425-07:002024-01-09 05:47:10.625+0000 [id=77] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs

2024-01-08 22:47:10.626957-07:002024-01-09 05:47:10.626+0000 [id=77] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated

2024-01-08 22:47:10.639561-07:002024-01-09 05:47:10.639+0000 [id=99] INFO hudson.util.Retrier#start: Attempt #1 to do the action check updates server

2024-01-08 22:47:10.679905-07:002024-01-09 05:47:10.679+0000 [id=72] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization

2024-01-08 22:47:10.763215-07:002024-01-09 05:47:10.762+0000 [id=34] INFO hudson.lifecycle.Lifecycle#onReady: Jenkins is fully up and running

2024-01-08 22:47:23.003517-07:002024-01-09 05:47:23.001+0000 [id=86] WARNING hudson.model.UpdateCenter#updateAllSitesNow: Failed to update the update site 'default'. Plugin upgrades may fail.

2024-01-08 22:47:23.003671-07:00java.net.UnknownHostException: updates.jenkins.io

2024-01-08 22:47:23.003706-07:00at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:572)

2024-01-08 22:47:23.003729-07:00at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)

2024-01-08 22:47:23.003793-07:00at java.base/java.net.Socket.connect(Socket.java:633)

2024-01-08 22:47:23.003875-07:00at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304)

2024-01-08 22:47:23.003912-07:00at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)

2024-01-08 22:47:23.003934-07:00at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:533)

2024-01-08 22:47:23.003955-07:00at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:638)

2024-01-08 22:47:23.003990-07:00at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266)

2024-01-08 22:47:23.004013-07:00at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380)

2024-01-08 22:47:23.004038-07:00at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193)

2024-01-08 22:47:23.004074-07:00at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)

2024-01-08 22:47:23.004098-07:00at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)

2024-01-08 22:47:23.004122-07:00at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179)

2024-01-08 22:47:23.004142-07:00at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665)

2024-01-08 22:47:23.004174-07:00at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)

2024-01-08 22:47:23.004197-07:00at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)

2024-01-08 22:47:23.004220-07:00at hudson.model.DownloadService.loadJSON(DownloadService.java:122)

2024-01-08 22:47:23.004253-07:00at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:218)

2024-01-08 22:47:23.004276-07:00at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:213)

2024-01-08 22:47:23.004299-07:00at hudson.model.UpdateCenter.updateAllSitesNow(UpdateCenter.java:2680)

2024-01-08 22:47:23.004407-07:00at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:67)

2024-01-08 22:47:23.004549-07:00at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)

2024-01-08 22:47:23.004569-07:00at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

2024-01-08 22:47:23.004582-07:00at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)

2024-01-08 22:47:23.004618-07:00at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)

2024-01-08 22:47:23.004641-07:00at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)

2024-01-08 22:47:23.004655-07:00at java.base/java.lang.Thread.run(Thread.java:840)

2024-01-08 22:47:23.004776-07:002024-01-09 05:47:23.002+0000 [id=99] INFO hudson.util.Retrier#start: The attempt #1 to do the action check updates server failed with an allowed exception:

2024-01-08 22:47:23.004853-07:00java.net.UnknownHostException: updates.jenkins.io

2024-01-08 22:47:23.004896-07:00at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:572)

2024-01-08 22:47:23.004914-07:00at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)

2024-01-08 22:47:23.004998-07:00at java.base/java.net.Socket.connect(Socket.java:633)

2024-01-08 22:47:23.005012-07:00at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304)

2024-01-08 22:47:23.005035-07:00at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)

2024-01-08 22:47:23.005048-07:00at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:533)

2024-01-08 22:47:23.005062-07:00at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:638)

2024-01-08 22:47:23.005076-07:00at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266)

2024-01-08 22:47:23.005089-07:00at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380)

2024-01-08 22:47:23.005109-07:00at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193)

2024-01-08 22:47:23.005122-07:00at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)

2024-01-08 22:47:23.005136-07:00at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)

2024-01-08 22:47:23.005158-07:00at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179)

2024-01-08 22:47:23.005171-07:00at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665)

2024-01-08 22:47:23.005185-07:00at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)

2024-01-08 22:47:23.005206-07:00at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)

2024-01-08 22:47:23.005220-07:00at hudson.model.DownloadService.loadJSON(DownloadService.java:122)

2024-01-08 22:47:23.005233-07:00at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:218)

2024-01-08 22:47:23.005246-07:00at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:213)

2024-01-08 22:47:23.005265-07:00at hudson.PluginManager.checkUpdatesServer(PluginManager.java:2091)

2024-01-08 22:47:23.005279-07:00at hudson.util.Retrier.start(Retrier.java:62)

2024-01-08 22:47:23.005292-07:00at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:2062)

2024-01-08 22:47:23.005305-07:00at jenkins.DailyCheck.execute(DailyCheck.java:93)

2024-01-08 22:47:23.005318-07:00at hudson.model.AsyncPeriodicWork.lambda$doRun$0(AsyncPeriodicWork.java:102)

2024-01-08 22:47:23.005338-07:00at java.base/java.lang.Thread.run(Thread.java:840)

2024-01-08 22:47:23.005438-07:002024-01-09 05:47:23.004+0000 [id=99] INFO hudson.util.Retrier#start: Calling the listener of the allowed exception 'updates.jenkins.io' at the attempt #1 to do the action check updates server

2024-01-08 22:47:23.006463-07:002024-01-09 05:47:23.005+0000 [id=99] INFO hudson.util.Retrier#start: Attempted the action check updates server for 1 time(s) with no success

2024-01-08 22:47:23.006958-07:002024-01-09 05:47:23.006+0000 [id=99] SEVERE hudson.PluginManager#doCheckUpdatesServer: Error checking update sites for 1 attempt(s). Last exception was: UnknownHostException: updates.jenkins.io

2024-01-08 22:47:48.270425-07:00[01/09/24 05:47:48] SSH Launch of jenkins_agent on 192.168.1.236 completed in 37,629 ms

Here is my latest attempt to run it.

I’m running ( or trying to) it as a custom app in TrueNAS SCALE v23.10.1

Having the same problem (2024.04.30 @ 10:42 United States, Texas). From my work, home, docker containers, wherever all below except jenkins.io fails to ping (IP address resolve, but 100% packet loss).

Found my way here attempting to setup Jenkins (latest) on Docker Desktop for Windows. Please be advised - These failing addresses on any machine in any environment fail. Imaged looks to be based on debian:12

[F] repo(dot)jenkins-ci(dot)org 14 packets transmitted, 0 received, 100% packet loss, time 13532ms
[F] updates(dot)jenkins-ci(dot)org 9 packets transmitted, 0 received, 100% packet loss, time 8347ms
[F] updates(dot)jenkins.(dot)o 3 packets transmitted, 0 received, 100% packet loss, time 2103ms
[D] jenkins(dot)io