Skip to content

Conversation

mike706574
Copy link

@mike706574 mike706574 commented Mar 25, 2025

The README claims that the underlying Apache HTTP client retries IOExceptions by default - which is misleading because there are four subclasses of IOException that are not retried documented in the Javadoc:

  • InterruptedIOException
  • UnknownHostException
  • ConnectException
  • SSLException

I got hit by a SocketTimeoutException not being retried because it extends InterruptedIOException.

This change is just an edit to the README to clarify that only some kinds of IOExceptions are retried and links to the Javadocs.

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

Successfully merging this pull request may close these issues.

1 participant