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
java.io.IOException: Connection reset by peer on asynchronous calls of SQS and SES (Channel closed - SSL handshake failure) #978
Comments
Hi, I also see this issue for SES? |
Having trouble reproducing the issue. It would be helpful if you could provide a more specific scenario to reproduce the issue, such as the TPS to trigger the issue or how long it should be running until the exception occurs. |
@zoewangg, |
@zoewangg |
@zoewangg did you have a chance to try this code from the previous comment? |
@Aleksandr-Filichkin Thanks for providing the sample code, but unfortunately I still wasn't able to reproduce the issue on my laptop. Could you provide the JDK version, OS name and version? One thing I noticed in your stack trace https://raw.githubusercontent.com/baka2010/ses/master/stack_trace.png is that the logs were |
…db54c354 Pull request: release <- staging/e56dd9be-890a-4d5b-8477-9817db54c354
We are getting IOException "Connection reset by peer" for asynchronous SQS and SES clients which is caused by SSLException: "Inbound closed before receiving peer's close_notify: possible truncation attack?"
Please check these screenshots from Intellij debug for more detail: https://photos.app.goo.gl/LCnmULCjzx54nbde9
Expected Behavior
Connections are closed properly. No SSL handshake or channel was closed exceptions
Current Behavior
Please check these screenshots for more detail: https://photos.app.goo.gl/LCnmULCjzx54nbde9
Steps to Reproduce (for bugs)
Make asynchronous call using SesAsynchClinet or SqsAsyncClient. From time to time we get the exception (Usually in 1 minute delay after actual call).
Context
One of our services is used for sending emails. We get the errors and cannot handle it.
Your Environment
The text was updated successfully, but these errors were encountered: