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

NullPointerException causes sync operator to crash #120

Open
xontab opened this issue Nov 16, 2022 · 0 comments
Open

NullPointerException causes sync operator to crash #120

xontab opened this issue Nov 16, 2022 · 0 comments

Comments

@xontab
Copy link

xontab commented Nov 16, 2022

We are currently using the latest version (i.e. docker image tag d0e2505) and the deployment is configured using the manifests defined in this repo and noticed that the operator crashed without recovering automatically. The last few logs outputted by the operator were the following:

2022-11-01 05:42:07,399 WARN  [io.fab.kub.cli.dsl.int.WatcherWebSocketListener] (OkHttp https://172.20.0.1/...) Exec Failure java.io.EOFException null
2022-11-01 05:42:07,699 WARN  [io.fab.kub.cli.dsl.int.WatcherWebSocketListener] (OkHttp https://172.20.0.1/...) Exec Failure java.io.EOFException null
2022-11-01 05:42:08,402 WARN  [io.fab.kub.cli.dsl.int.WatcherWebSocketListener] (OkHttp https://172.20.0.1/...) Exec Failure java.net.ConnectException Failed to connect to /172.20.0.1:443
2022-11-01 05:42:08,700 WARN  [io.fab.kub.cli.dsl.int.WatcherWebSocketListener] (OkHttp https://172.20.0.1/...) Exec Failure java.net.ConnectException Failed to connect to /172.20.0.1:443
2022-11-01 05:42:10,404 WARN  [io.fab.kub.cli.dsl.int.WatcherWebSocketListener] (OkHttp https://172.20.0.1/...) Exec Failure java.net.ConnectException Failed to connect to /172.20.0.1:443
2022-11-01 05:42:10,702 WARN  [io.fab.kub.cli.dsl.int.WatcherWebSocketListener] (OkHttp https://172.20.0.1/...) Exec Failure java.net.ConnectException Failed to connect to /172.20.0.1:443
Exception in thread "OkHttp Dispatcher" java.lang.NullPointerException
        at io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure(OperationSupport.java:684)
        at io.fabric8.kubernetes.client.dsl.internal.WatcherWebSocketListener.onFailure(WatcherWebSocketListener.java:69)
        at okhttp3.internal.ws.RealWebSocket.failWebSocket(RealWebSocket.java:570)
        at okhttp3.internal.ws.RealWebSocket$1.onResponse(RealWebSocket.java:199)
        at okhttp3.RealCall$AsyncCall.execute(RealCall.java:174)
        at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)

We are wondering if there is a way how to make it more resilient without intervention since the operator needed to be restarted manually in order to recover and re-sync. The pod did not crash automatically although the health checks are configured.

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

1 participant