0.24.3
-
Fixes an issue in the internal retry logic when using
aws_sns_sqs_publish
if calls to the AWS APISNS.Publish
would intermittently respond with 408 response without any body, which previously would've resulted in aAWSSNSSQSException("Missing MessageId in response")
immediately without retries.This was previously attempted to be fixed in #1664 (released in 0.23.0), but due to an error it fell through to become an exception with the
"Missing MessageId in response"
message instead.The publish function will now catch exceptions from
botocore
of typeResponseParserError
to whichbotocore
has added that"Further retries may succeed"
.tomodachi
will retry suchSNS.Publish
calls up to 3 times and if still failing after all retries the library will reraise the originalbotocore
exception.It seems that
botocore
does not automatically retry such errors itself. -
Similar to the above, the same kind of retries will now also be done during AWS API calls for
SQS.DeleteMessage
, where thebotocore.parser.QueryParser
would raise anResponseParserError
exception on 408 responses without body.