com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: registry

GitHub | seyijava | 5 months ago
  1. 0

    "Cannot execute request on any known server" when i set up a Eureka cluster by skyDns

    GitHub | 8 months ago | bspline
    com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: http: unknown error
  2. 0

    GitHub comment 777#211375437

    GitHub | 8 months ago | fangzhining
    com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: http: unknown error
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    "Cannot execute request on any known server" when i set up a Eureka cluster by skyDns(2)

    GitHub | 8 months ago | fangzhining
    com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: http: unknown error
  5. 0

    Cannot connect to jhipster spring registry on docker via IDE

    Stack Overflow | 5 months ago | Deividi Cavarzan
    com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: registry
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

    registry

    at java.net.Inet6AddressImpl.lookupAllHostAddr()
  2. Java RT
    InetAddress.getAllByName
    1. java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    2. java.net.InetAddress$2.lookupAllHostAddr(Unknown Source)
    3. java.net.InetAddress.getAddressesFromNameService(Unknown Source)
    4. java.net.InetAddress.getAllByName0(Unknown Source)
    5. java.net.InetAddress.getAllByName(Unknown Source)
    6. java.net.InetAddress.getAllByName(Unknown Source)
    6 frames
  3. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:44)
    2. org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:259)
    3. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:159)
    4. org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:144)
    5. org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131)
    6. org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
    7. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
    8. org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
    9. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:115)
    10. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
    10 frames
  4. Jersey Apache HTTP Client 4.x
    ApacheHttpClient4Handler.handle
    1. com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:170)
    1 frame
  5. jersey-client
    GZIPContentEncodingFilter.handle
    1. com.sun.jersey.api.client.filter.GZIPContentEncodingFilter.handle(GZIPContentEncodingFilter.java:120)
    1 frame
  6. eureka-client
    EurekaIdentityHeaderFilter.handle
    1. com.netflix.discovery.EurekaIdentityHeaderFilter.handle(EurekaIdentityHeaderFilter.java:28)
    1 frame
  7. jersey-client
    WebResource$Builder.get
    1. com.sun.jersey.api.client.Client.handle(Client.java:648)
    2. com.sun.jersey.api.client.WebResource.handle(WebResource.java:680)
    3. com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
    4. com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:507)
    4 frames
  8. eureka-client
    DiscoveryClient$CacheRefreshThread.run
    1. com.netflix.discovery.DiscoveryClient.getUrl(DiscoveryClient.java:1567)
    2. com.netflix.discovery.DiscoveryClient.makeRemoteCall(DiscoveryClient.java:1113)
    3. com.netflix.discovery.DiscoveryClient.makeRemoteCall(DiscoveryClient.java:1060)
    4. com.netflix.discovery.DiscoveryClient.getAndStoreFullRegistry(DiscoveryClient.java:835)
    5. com.netflix.discovery.DiscoveryClient.fetchRegistry(DiscoveryClient.java:746)
    6. com.netflix.discovery.DiscoveryClient.access$1400(DiscoveryClient.java:105)
    7. com.netflix.discovery.DiscoveryClient$CacheRefreshThread.run(DiscoveryClient.java:1723)
    7 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    2. java.util.concurrent.FutureTask.run(Unknown Source)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    5. java.lang.Thread.run(Unknown Source)
    5 frames