We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 73dc62c + d5fee69 commit e87a655Copy full SHA for e87a655
databend-jdbc/src/main/java/com/databend/jdbc/DatabendConnection.java
@@ -790,6 +790,12 @@ private boolean shouldRetryException(Exception e) {
790
return true;
791
}
792
793
+ if (e instanceof IOException) {
794
+ return (e.getMessage().contains("unexpected end of stream") ||
795
+ e.getMessage().contains("timeout") ||
796
+ e.getMessage().contains("connection refused"));
797
+ }
798
+
799
if (e instanceof RuntimeException) {
800
String message = e.getMessage();
801
return message != null && (
0 commit comments