Skip to content

Commit

Permalink
retry GOAWAY from tokenx
Browse files Browse the repository at this point in the history
  • Loading branch information
kenglxn committed Jan 20, 2025
1 parent 6632df8 commit 902663e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import org.springframework.stereotype.Component
import org.springframework.util.LinkedMultiValueMap
import org.springframework.util.MultiValueMap
import org.springframework.web.client.HttpServerErrorException
import java.io.IOException
import java.net.SocketException
import javax.net.ssl.SSLHandshakeException

Expand All @@ -29,6 +30,7 @@ class TokenExchangeClientImpl(
retryInterceptor(
3,
250L,
IOException::class.java, // lately been getting "GOAWAY received" as IOException, retry this as well
SocketException::class.java,
SSLHandshakeException::class.java,
HttpServerErrorException.GatewayTimeout::class.java,
Expand Down

0 comments on commit 902663e

Please sign in to comment.