Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Check if you don't have a VPN or something like this messing with your connection. Also, check Jenkins DNS configurations (try to start it with "--dns 8.8.8.8".

Solutions on the web

via Jenkins JIRA by OHTAKE Tomohiro, 1 year ago
via Jenkins JIRA by OHTAKE Tomohiro, 1 year ago
via jenkins-ci.org by Unknown author, 1 year ago
via GitHub by wbmacleod
, 6 months ago
via GitHub by Siedlerchr
, 1 year ago
via GitHub by rvb-033
, 1 year ago
java.net.UnknownHostException: api.github.com	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:579)	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)	at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160)	at sun.net.NetworkClient.doConnect(NetworkClient.java:180)	at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)	at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)	at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:275)	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932)	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300)	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)	at org.kohsuke.github.Requester.parse(Requester.java:383)	at org.kohsuke.github.Requester._to(Requester.java:185)	at org.kohsuke.github.Requester.to(Requester.java:160)	at org.kohsuke.github.GitHub.getMyself(GitHub.java:265)	at org.kohsuke.github.GitHub.(GitHub.java:134)	at org.kohsuke.github.GitHub.connectUsingOAuth(GitHub.java:191)	at org.jenkinsci.plugins.ghprb.GhprbGitHub.connect(GhprbGitHub.java:22)	at org.jenkinsci.plugins.ghprb.GhprbGitHub.get(GhprbGitHub.java:38)	at org.jenkinsci.plugins.ghprb.GhprbRepository.initGhRepository(GhprbRepository.java:49)	at org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:72)	at org.jenkinsci.plugins.ghprb.Ghprb.run(Ghprb.java:97)	at org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:140)	at hudson.triggers.Trigger.checkTriggers(Trigger.java:266)	at hudson.triggers.Trigger$Cron.doRun(Trigger.java:214)	at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:745)