No SQS retry on "read: connection reset by peer" #717
Labels
good first issue
Good for newcomers
stalebot-ignore
To NOT let the stalebot update or close the Issue / PR
Type: Enhancement
New feature or request
Describe the bug
NTH does not retry request over AWS SDK API to retrieve SQS queue message.
Steps to reproduce
Close firewall to SQS AWS endpoint and try to monitor for SQS events.
Expected outcome
The network layer cannot be guaranteed to be reliable so need to implement retry logic here.
Application Logs
Environment
The check that denies retry is here
For V1 of AWS SDK the fix should be custom retryer which re-implements should retry, and custom retryer should be injected here, however upgrade to V2 of AWS SKD should fix this issue automatically, because it does not make distinction between different kinds of connection reset and retries them all which is desired behavior here.
The text was updated successfully, but these errors were encountered: