Issue with SNS retries
bug
### Description
During regular operations a failed publish error is happening on SNS ignoring the retry policy defined in the code.
There is a lambda that has the following SNS configuration:
```js
snsClient = new SNS([{
maxAttempts: 3,
region: envConfig.region,
requestHandler: {
connectionTimeout: 5000,
socketTimeout: 3000,
},
}]);
```
But in NewRelic I have the following error:
```
(redacted) failed to published because {
"message": "client error (SendRequest)",
"$metadata": {
"attempts": 1,
"totalRetryDelay": 0
}
}
```
Running LLRT 0.8.1
### Note
As extra information after updating the lambda to the `node24` runtime the issue no longer surfaces. Unfortunately I do not have much more info to give at this stage.
0 条评论