Skip to content

Commit

Permalink
SNOW-1512935 Retry SocketTimeoutException (#789)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-lsembera authored Jul 9, 2024
1 parent 9254771 commit 463e95a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/net/snowflake/ingest/utils/HttpUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,8 @@ static HttpRequestRetryHandler getHttpRequestRetryHandler() {
if (exception instanceof NoHttpResponseException
|| exception instanceof javax.net.ssl.SSLException
|| exception instanceof java.net.SocketException
|| exception instanceof java.net.UnknownHostException) {
|| exception instanceof java.net.UnknownHostException
|| exception instanceof java.net.SocketTimeoutException) {
LOGGER.info(
"Retrying request which caused {} with " + "URI:{}, retryCount:{} and maxRetryCount:{}",
exception.getClass().getName(),
Expand Down

0 comments on commit 463e95a

Please sign in to comment.