aws-sdk-java: 400 Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.

Hi!

I’m using aws-sdk v1.11.5 and since 28 of March has rare error responses (status code 400) when trying to execute putObject: Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.

Before 28 of March there are no such errors. maxRetryCount is set to 20 in ClientConfiguration.

Why such errors come?

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 27 (12 by maintainers)

Most upvoted comments

This is happening to me currently, but not with this library but with Swift. I’m hoping that if this was fixed here that the issue may be related, and therefore the solution applicable, and if not — being that I can reliably produce the error — that I can provide insight into what’s causing it for me and perhaps help resolve it for all SDK users once and for all — as I’ve found this problem to be applicable across other AWS SDK libraries as well.

Closing until logs are available.