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

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Cannot connect to jhipster spring registry on docker via IDE

    Stack Overflow | 9 months ago | Deividi Cavarzan
    com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: registry
  2. 0

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

    GitHub | 1 year ago | bspline
    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

    GitHub comment 777#211375437

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

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

    GitHub | 1 year ago | fangzhining
    com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: http: unknown error
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.InetAddress.getAllByName0()
  2. Java RT
    InetAddress.getAllByName
    1. java.net.InetAddress.getAllByName0(InetAddress.java:1280)
    2. java.net.InetAddress.getAllByName(InetAddress.java:1192)
    3. java.net.InetAddress.getAllByName(InetAddress.java:1126)
    3 frames
  3. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
    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:882)
    9. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:117)
    10. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
    10 frames
  4. Jersey Apache HTTP Client 4.x
    ApacheHttpClient4Handler.handle
    1. com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)
    1 frame
  5. jersey-client
    GZIPContentEncodingFilter.handle
    1. com.sun.jersey.api.client.filter.GZIPContentEncodingFilter.handle(GZIPContentEncodingFilter.java:123)
    1 frame
  6. eureka-client
    EurekaIdentityHeaderFilter.handle
    1. com.netflix.discovery.EurekaIdentityHeaderFilter.handle(EurekaIdentityHeaderFilter.java:27)
    1 frame
  7. jersey-client
    WebResource$Builder.post
    1. com.sun.jersey.api.client.Client.handle(Client.java:652)
    2. com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)
    3. com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
    4. com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)
    4 frames
  8. com.netflix.discovery
    EurekaHttpClientDecorator.register
    1. com.netflix.discovery.shared.transport.jersey.AbstractJerseyEurekaHttpClient.register(AbstractJerseyEurekaHttpClient.java:56)
    2. com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$1.execute(EurekaHttpClientDecorator.java:59)
    3. com.netflix.discovery.shared.transport.decorator.MetricsCollectingEurekaHttpClient.execute(MetricsCollectingEurekaHttpClient.java:73)
    4. com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.register(EurekaHttpClientDecorator.java:56)
    5. com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$1.execute(EurekaHttpClientDecorator.java:59)
    6. com.netflix.discovery.shared.transport.decorator.RedirectingEurekaHttpClient.executeOnNewServer(RedirectingEurekaHttpClient.java:118)
    7. com.netflix.discovery.shared.transport.decorator.RedirectingEurekaHttpClient.execute(RedirectingEurekaHttpClient.java:79)
    8. com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.register(EurekaHttpClientDecorator.java:56)
    9. com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$1.execute(EurekaHttpClientDecorator.java:59)
    10. com.netflix.discovery.shared.transport.decorator.RetryableEurekaHttpClient.execute(RetryableEurekaHttpClient.java:119)
    11. com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.register(EurekaHttpClientDecorator.java:56)
    12. com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$1.execute(EurekaHttpClientDecorator.java:59)
    13. com.netflix.discovery.shared.transport.decorator.SessionedEurekaHttpClient.execute(SessionedEurekaHttpClient.java:77)
    14. com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.register(EurekaHttpClientDecorator.java:56)
    14 frames
  9. eureka-client
    InstanceInfoReplicator$1.run
    1. com.netflix.discovery.DiscoveryClient.register(DiscoveryClient.java:810)
    2. com.netflix.discovery.InstanceInfoReplicator.run(InstanceInfoReplicator.java:103)
    3. com.netflix.discovery.InstanceInfoReplicator$1.run(InstanceInfoReplicator.java:87)
    3 frames
  10. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    7. java.lang.Thread.run(Thread.java:745)
    7 frames