java.net.UnknownHostException: api.github.com

jenkins-ci.org | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Jersey test response fails to fetch Jersey API client

    GitHub | 4 years ago | yegor256
    com.rexsl.test.JerseyTestResponse: Failed to fetch: com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: absent-1.rexsl.com
  2. 0

    Accessing own private ip from public ip

    Stack Overflow | 2 years ago | volbollo
    javax.ws.rs.ProcessingException: java.net.UnknownHostException: 109.134.124.94%0A
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error from Eclipse ADT Plugin while "Saving workspace"

    Google Groups | 4 years ago | Adrian Tejn Kern
    java.net.UnknownHostException: tools.google.com
  5. 0

    Jersy Client gives UnkownHostException

    Stack Overflow | 2 years ago | Simon Karlsson
    javax.ws.rs.ProcessingException: java.net.UnknownHostException: t%C3%A5g.info
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 sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    HttpURLConnection.getResponseCode
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:85)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:541)
    5. sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1686)
    6. sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1684)
    7. java.security.AccessController.doPrivileged(AccessController.java:330)
    8. sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1682)
    9. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1255)
    10. java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:479)
    10 frames
  3. com.ibm.net
    b.getResponseCode
    1. com.ibm.net.ssl.www2.protocol.https.b.getResponseCode(b.java:40)
    1 frame
  4. org.kohsuke.github
    GHIssueComment.getUser
    1. org.kohsuke.github.Requester.handleApiError(Requester.java:489)
    2. org.kohsuke.github.Requester._to(Requester.java:248)
    3. org.kohsuke.github.Requester.to(Requester.java:194)
    4. org.kohsuke.github.GitHub.getUser(GitHub.java:278)
    5. org.kohsuke.github.GHIssueComment.getUser(GHIssueComment.java:71)
    5 frames
  5. org.jenkinsci.plugins
    GhprbRootAction.doIndex
    1. org.jenkinsci.plugins.ghprb.GhprbPullRequest.checkComment(GhprbPullRequest.java:286)
    2. org.jenkinsci.plugins.ghprb.GhprbPullRequest.check(GhprbPullRequest.java:143)
    3. org.jenkinsci.plugins.ghprb.GhprbRepository.onIssueCommentHook(GhprbRepository.java:279)
    4. org.jenkinsci.plugins.ghprb.GhprbWebHook.handleComment(GhprbWebHook.java:33)
    5. org.jenkinsci.plugins.ghprb.GhprbRootAction.doIndex(GhprbRootAction.java:110)
    5 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor753.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    3. java.lang.reflect.Method.invoke(Method.java:619)
    3 frames
  7. Stapler
    Stapler.service
    1. org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
    2. org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
    3. org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
    4. org.kohsuke.stapler.MetaClass$2.dispatch(MetaClass.java:165)
    5. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
    6. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
    7. org.kohsuke.stapler.MetaClass$13.dispatch(MetaClass.java:411)
    8. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
    9. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
    10. org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
    11. org.kohsuke.stapler.Stapler.service(Stapler.java:238)
    11 frames
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    1 frame
  9. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
    2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
    2 frames
  10. Hudson
    PluginServletFilter$1.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
    1 frame
  11. hudson.plugins.greenballs
    GreenBallFilter.doFilter
    1. hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
    1 frame
  12. Hudson
    PluginServletFilter.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:129)
    2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123)
    2 frames
  13. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
    1 frame
  14. Hudson
    CrumbFilter.doFilter
    1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
    1 frame
  15. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
    1 frame
  16. Hudson
    HudsonFilter.doFilter
    1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
    2. hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
    3. hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
    3 frames
  17. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
    1 frame
  18. Stapler
    CompressionFilter.doFilter
    1. org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
    1 frame
  19. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
    1 frame
  20. Hudson
    CharacterEncodingFilter.doFilter
    1. hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
    1 frame
  21. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
    1 frame
  22. Stapler
    DiagnosticThreadNameFilter.doFilter
    1. org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
    1 frame
  23. Jetty
    AsyncHttpConnection.handle
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
    3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
    4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
    5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
    6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
    7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
    8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
    9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
    10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
    11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
    12. org.eclipse.jetty.server.Server.handle(Server.java:370)
    13. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
    14. org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)
    15. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)
    16. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
    17. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
    18. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
    18 frames
  24. GWT dev
    SelectChannelEndPoint$1.run
    1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
    2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
    2 frames
  25. winstone
    BoundedExecutorService$1.run
    1. winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
    1 frame
  26. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1176)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    2 frames