java.net.UnknownHostException: api.github.com

jenkins-ci.org | 3 months ago
  1. 0

    [JENKINS-24592] ghprb does not support proxies - Jenkins JIRA

    jenkins-ci.org | 3 months ago
    java.net.UnknownHostException: api.github.com
  2. 0

    GitHub Pull Request Builder plugin does not work behind HTTP proxies. {code} Sep 03, 2014 2:09:00 PM org.jenkinsci.plugins.ghprb.GhprbGitHub connect SEVERE: Can't connect to https://api.github.com using oauth Sep 03, 2014 2:09:00 PM org.jenkinsci.plugins.ghprb.GhprbRepository initGhRepository SEVERE: Error while accessing rate limit API 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.<init>(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.<init>(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) {code}

    Jenkins JIRA | 2 years ago | OHTAKE Tomohiro
    java.net.UnknownHostException: api.github.com
  3. 0

    GitHub Pull Request Builder plugin does not work behind HTTP proxies. {code} Sep 03, 2014 2:09:00 PM org.jenkinsci.plugins.ghprb.GhprbGitHub connect SEVERE: Can't connect to https://api.github.com using oauth Sep 03, 2014 2:09:00 PM org.jenkinsci.plugins.ghprb.GhprbRepository initGhRepository SEVERE: Error while accessing rate limit API 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.<init>(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.<init>(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) {code}

    Jenkins JIRA | 2 years ago | OHTAKE Tomohiro
    java.net.UnknownHostException: api.github.com
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 32#14728229

    GitHub | 4 years ago | wsoula
    java.net.UnknownHostException: api.https
  6. 0

    GitHub comment 1425#230336346

    GitHub | 5 months ago | rvb-033
    java.net.UnknownHostException: api.github.com

  1. aldrinleal 1 times, last 7 months ago
  2. davidvanlaatum 2 times, last 3 months ago
  3. davidvanlaatum 1 times, last 3 months ago
  4. tvrmsmith 1 times, last 4 months ago
  5. mauritius 2 times, last 10 hours ago
7 more registered users
41 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.UnknownHostException

    api.github.com

    at java.net.AbstractPlainSocketImpl.connect()
  2. Java RT
    Socket.connect
    1. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
    2. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    3. java.net.Socket.connect(Socket.java:579)
    3 frames
  3. Java JSSE
    BaseSSLSocketImpl.connect
    1. sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
    2. sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160)
    2 frames
  4. Java RT
    HttpsURLConnectionImpl.getInputStream
    1. sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    2. sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    3. sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    4. sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)
    5. sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)
    6. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
    7. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932)
    8. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    9. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300)
    10. sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    10 frames
  5. org.kohsuke.github
    GitHub.connectUsingOAuth
    1. org.kohsuke.github.Requester.parse(Requester.java:383)
    2. org.kohsuke.github.Requester._to(Requester.java:185)
    3. org.kohsuke.github.Requester.to(Requester.java:160)
    4. org.kohsuke.github.GitHub.getMyself(GitHub.java:265)
    5. org.kohsuke.github.GitHub.<init>(GitHub.java:134)
    6. org.kohsuke.github.GitHub.connectUsingOAuth(GitHub.java:191)
    6 frames
  6. org.jenkinsci.plugins
    GhprbTrigger.run
    1. org.jenkinsci.plugins.ghprb.GhprbGitHub.connect(GhprbGitHub.java:22)
    2. org.jenkinsci.plugins.ghprb.GhprbGitHub.get(GhprbGitHub.java:38)
    3. org.jenkinsci.plugins.ghprb.GhprbRepository.initGhRepository(GhprbRepository.java:49)
    4. org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:72)
    5. org.jenkinsci.plugins.ghprb.Ghprb.run(Ghprb.java:97)
    6. org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:140)
    6 frames
  7. Hudson
    SafeTimerTask.run
    1. hudson.triggers.Trigger.checkTriggers(Trigger.java:266)
    2. hudson.triggers.Trigger$Cron.doRun(Trigger.java:214)
    3. hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
    3 frames
  8. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    6 frames