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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

com.orbitz.consul.ConsulException: Consul cluster has no elected leader
at com.orbitz.consul.cache.ConsulCache$1.onComplete(ConsulCache.java:86)
at com.orbitz.consul.util.Http$1.onResponse(Http.java:63)
at com.orbitz.retrofit.OkHttpCall$1.callSuccess(OkHttpCall.java:132)
at com.orbitz.retrofit.OkHttpCall$1.onResponse(OkHttpCall.java:111)
at com.orbitz.okhttp3.RealCall$AsyncCall.execute(RealCall.java:133)
at com.orbitz.okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.