Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase in SSLException after upgrading to 0.100.0 #410

Open
thanhedman opened this issue Jul 28, 2020 · 0 comments
Open

Increase in SSLException after upgrading to 0.100.0 #410

thanhedman opened this issue Jul 28, 2020 · 0 comments
Assignees

Comments

@thanhedman
Copy link
Contributor

Warning: Github issues are not an official support channel for Recurly. If you have an urgent request we suggest you contact us through an official channel: [email protected] or https://recurly.zendesk.com

Describe the bug

After upgrading to 0.100.0, we are seeing a new exception intermittently but frequently, as often as 50%:

...
Caused by: java.net.SocketException: Connection reset at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186)

Because this is not in the list of IOException subtypes that are re-thrown as ConnectionErrorException, it swallowed and returned as null so that it can't be handled by retry logic in the calling code.

To Reproduce

The behavior is occurring across all endpoints. Reverting to 0.34.0 fixes the issue.

Expected behavior

Either:

  • There are fewer SSLException instances or
  • ConnectionErrorException is thrown on SSLException

Your Environment

  • Lib Version: 0.100.0
  • Java Version: 1.8
  • Kotlin Version: 1.3.20
@joannasese joannasese self-assigned this Jul 29, 2020
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

No branches or pull requests

2 participants