io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.

GitHub | das-vinculum | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Exception caught during discovery: access denied ("java.net.NetPermission" "requestPasswordAuthentication")

    GitHub | 4 months ago | tuxtag
    java.security.AccessControlException: access denied ("java.net.NetPermission" "requestPasswordAuthentication")
  2. 0

    Plugin does not reattempt discovery after UnknownHostException in KubernetesClient

    GitHub | 3 months ago | das-vinculum
    io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    discovery warning

    GitHub | 7 months ago | clock157
    io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.
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

    kubernetes.default.svc

    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. OkHttp
    Call$ApplicationInterceptorChain.proceed
    1. com.squareup.okhttp.Dns$1.lookup(Dns.java:39)
    2. com.squareup.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:175)
    3. com.squareup.okhttp.internal.http.RouteSelector.nextProxy(RouteSelector.java:141)
    4. com.squareup.okhttp.internal.http.RouteSelector.next(RouteSelector.java:83)
    5. com.squareup.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:174)
    6. com.squareup.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126)
    7. com.squareup.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95)
    8. com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:281)
    9. com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224)
    10. com.squareup.okhttp.Call.getResponse(Call.java:286)
    11. com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:243)
    11 frames
  4. io.fabric8.kubernetes
    HttpClientUtils$3.intercept
    1. io.fabric8.kubernetes.client.utils.HttpClientUtils$3.intercept(HttpClientUtils.java:110)
    1 frame
  5. OkHttp
    Call.execute
    1. com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:232)
    2. com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:205)
    3. com.squareup.okhttp.Call.execute(Call.java:80)
    3 frames
  6. io.fabric8.kubernetes
    BaseOperation.get
    1. io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:210)
    2. io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleGet(OperationSupport.java:205)
    3. io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleGet(BaseOperation.java:510)
    4. io.fabric8.kubernetes.client.dsl.base.BaseOperation.get(BaseOperation.java:118)
    4 frames
  7. io.fabric8.elasticsearch
    KubernetesUnicastHostsProvider.lambda$buildDynamicNodes$0
    1. io.fabric8.elasticsearch.cloud.kubernetes.KubernetesAPIServiceImpl.endpoints(KubernetesAPIServiceImpl.java:35)
    2. io.fabric8.elasticsearch.discovery.kubernetes.KubernetesUnicastHostsProvider.readNodes(KubernetesUnicastHostsProvider.java:112)
    3. io.fabric8.elasticsearch.discovery.kubernetes.KubernetesUnicastHostsProvider.lambda$buildDynamicNodes$0(KubernetesUnicastHostsProvider.java:80)
    3 frames
  8. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  9. io.fabric8.elasticsearch
    KubernetesUnicastHostsProvider.buildDynamicNodes
    1. io.fabric8.elasticsearch.discovery.kubernetes.KubernetesUnicastHostsProvider.buildDynamicNodes(KubernetesUnicastHostsProvider.java:79)
    1 frame
  10. ElasticSearch
    AbstractRunnable.run
    1. org.elasticsearch.discovery.zen.ping.unicast.UnicastZenPing.sendPings(UnicastZenPing.java:335)
    2. org.elasticsearch.discovery.zen.ping.unicast.UnicastZenPing$2$1.doRun(UnicastZenPing.java:253)
    3. org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
    3 frames
  11. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames