java.net.UnknownHostException: updates.jenkins.io

0 votes

Hi Guys,

I am trying to install plugins in jenkins, but everytime I got this below error.

Failed to resolve host name updates.jenkins.io. Perhaps you need to configure HTTP proxy?
java.net.UnknownHostException: updates.jenkins.io
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347)
at hudson.model.UpdateCenter$UpdateCenterConfiguration.testConnection(UpdateCenter.java:1368)
at hudson.model.UpdateCenter$UpdateCenterConfiguration.checkUpdateCenter(UpdateCenter.java:1151)
at hudson.model.UpdateCenter$ConnectionCheckJob.run(UpdateCenter.java:1600)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:111)
at java.lang.Thread.run(Thread.java:748)

How can I solve this error?

May 28 in Jenkins by akhtar
• 17,870 points
624 views

1 answer to this question.

0 votes

Hi@akhtar,

You may get this error, if your DNS server will not update your network connectivity automatically. So you can check your Jenkins configuration and match with the correct IP address.

Hope this will help.

answered May 28 by MD
• 41,340 points

Related Questions In Jenkins

0 votes
1 answer
0 votes
1 answer

unable to compile java code in Jenkins

If the code is compiling and running ...READ MORE

answered Apr 25, 2018 in Jenkins by DareDev
• 6,850 points
702 views
0 votes
0 answers

how to get jenkins "EnvInject Plugin" property content value via Java code.

How to get "properties content" key and ...READ MORE

Mar 6, 2019 in Jenkins by anonymous

edited Mar 6, 2019 815 views
0 votes
1 answer

Java version for Jenkins on ubuntu 18.04

Hi @Koyal, If you look at the ...READ MORE

answered Apr 15, 2019 in Jenkins by Vish
501 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,420 points
599 views
0 votes
1 answer
0 votes
1 answer