Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get Config Map configuration #76

Open
andrewrutter opened this issue Jan 30, 2017 · 1 comment
Open

Unable to get Config Map configuration #76

andrewrutter opened this issue Jan 30, 2017 · 1 comment

Comments

@andrewrutter
Copy link

I am trying to deploy a sample application to a managed K8 cluster but am having trouble getting configuration working using ConfigMaps. When my test service starts I am seeing the following error in the logs "Error while establishing a connection to watch config maps" which I can see in the code but am not sure what might be the root cause. My service is falling back to some default configuration and nothing is being picked up at runtime and certainly not if the ConfigMap values are changed.

What is a good way to trace this through as everything seems to be wired up correctly? Thanks in advance

@micrump
Copy link

micrump commented Apr 17, 2020

That is the exception stacktrace for the issue:

io.fabric8.kubernetes.client.KubernetesClientException: Error while establishing a connection to watch config maps: configuration may remain stale
    at io.fabric8.kubernetes.client.dsl.internal.WatchConnectionManager$2.onFailure(WatchConnectionManager.java:194)
    at okhttp3.internal.ws.RealWebSocket.failWebSocket(RealWebSocket.java:543)
    at okhttp3.internal.ws.RealWebSocket$2.onResponse(RealWebSocket.java:185)
    at okhttp3.RealCall$AsyncCall.execute(RealCall.java:141)
    at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants