java
java copied to clipboard
ReflectorRunnable restarting approximately every one minute.
trafficstars
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