com.orbitz.consul.ConsulException: Consul cluster has no elected leader

GitHub | dantheman46 | 9 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.

Root Cause Analysis

  1. com.orbitz.consul.ConsulException

    Consul cluster has no elected leader

    at com.orbitz.consul.cache.ConsulCache$1.onComplete()
  2. com.orbitz.consul
    Http$1.onResponse
    1. com.orbitz.consul.cache.ConsulCache$1.onComplete(ConsulCache.java:86)[consul-client-0.12.6.jar:]
    2. com.orbitz.consul.util.Http$1.onResponse(Http.java:63)[consul-client-0.12.6.jar:]
    2 frames
  3. com.orbitz.retrofit
    OkHttpCall$1.onResponse
    1. com.orbitz.retrofit.OkHttpCall$1.callSuccess(OkHttpCall.java:132)[consul-client-0.12.6.jar:]
    2. com.orbitz.retrofit.OkHttpCall$1.onResponse(OkHttpCall.java:111)[consul-client-0.12.6.jar:]
    2 frames
  4. com.orbitz.okhttp3
    NamedRunnable.run
    1. com.orbitz.okhttp3.RealCall$AsyncCall.execute(RealCall.java:133)[consul-client-0.12.6.jar:]
    2. com.orbitz.okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)[consul-client-0.12.6.jar:]
    2 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[rt.jar:1.8.0_91]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[rt.jar:1.8.0_91]
    3. java.lang.Thread.run(Thread.java:745)[rt.jar:1.8.0_91]
    3 frames