You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I got the error RequestError: send request failed\ncaused by: Put "xxxx": read tcp 10.212.83.32:36378->10.101.100.127:9000: read: connection reset by peer
Current Behavior
It seems not retryable.
Reproduction Steps
It's about the connection error, and only calls the PutObjectWithContext API.
Possible Solution
I want to use the custom retryer to make the error retryable. So I want to know what the risk is of retrying this error.
Additional Information/Context
No response
SDK version used
1.44.48
Environment details (Version of Go (go version)? OS name and version, etc.)
1.20.1 centos 7
The text was updated successfully, but these errors were encountered:
This has been discussed a few times previously and this is the answer:
The logic behind this change is that the SDK is not able to sufficiently determine the state of an API request after successfully writing the request to the transport layer, but then failing to read the corresponding response due to a connection reset occurring. This is due to the fact that the SDK has no knowledge about whether the given operation is idempotent or whether it would be safe to retry.
This is open as a feature request, but I'm not sure when it might be completed.
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
I see this PR modify the retry logic,
aws-sdk-go/aws/request/connection_reset_error.go
Lines 7 to 19 in f522e96
Expected Behavior
However, I got the error
RequestError: send request failed\ncaused by: Put "xxxx": read tcp 10.212.83.32:36378->10.101.100.127:9000: read: connection reset by peer
Current Behavior
It seems not retryable.
Reproduction Steps
It's about the connection error, and only calls the
PutObjectWithContext
API.Possible Solution
I want to use the custom retryer to make the error retryable. So I want to know what the risk is of retrying this error.
Additional Information/Context
No response
SDK version used
1.44.48
Environment details (Version of Go (
go version
)? OS name and version, etc.)1.20.1 centos 7
The text was updated successfully, but these errors were encountered: