Skip to content

0.24.3

Compare
Choose a tag to compare
@kalaspuff kalaspuff released this 15 Jun 15:01
· 731 commits to master since this release
0.24.3
70e783a
  • Fixes an issue in the internal retry logic when using aws_sns_sqs_publish if calls to the AWS API SNS.Publish would intermittently respond with 408 response without any body, which previously would've resulted in a AWSSNSSQSException("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 type ResponseParserError to which botocore has added that "Further retries may succeed". tomodachi will retry such SNS.Publish calls up to 3 times and if still failing after all retries the library will reraise the original botocore 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 the botocore.parser.QueryParser would raise an ResponseParserError exception on 408 responses without body.