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

ReflectorRunnable restarting approximately every one minute. #3284

Open
xiaoyu1095 opened this issue Apr 5, 2024 · 2 comments
Open

ReflectorRunnable restarting approximately every one minute. #3284

xiaoyu1095 opened this issue Apr 5, 2024 · 2 comments

Comments

@xiaoyu1095
Copy link

Describe the bug

ReflectorRunnable.run().watchHandler(newWatch); when run "watch.hasNext()" throw a RuntimeException with "IO Exception during hasNext"

      if ((t instanceof RuntimeException)
          && t.getMessage() != null
          && t.getMessage().contains("IO Exception during hasNext")) {
        log.info("{}#Read timeout retry list and watch", this.apiTypeClass);
        // IO timeout should be taken as a normal case
        return;
      }

How can I avoid this issue?"

Client Version
20.0.1

Kubernetes Version
1.23.6

Java Version
Java 8

@brendandburns
Copy link
Contributor

It's highly likely that the network connection to the your API server is closing for some reason. I would check your network.

@xiaoyu1095
Copy link
Author

Thanks. By the way, can I use a generic client to submit all Kubernetes resources with the KubernetesObject type?

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