-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PutMetricData fails with status code 408 #1189
Comments
Hi @acjay, thank you for reporting this. This is due to a bug in request compression we introduced back in May. We are looking into it to come up with a fix for it. In the meantime, you can workaround the bug by disabling request compression through configuration, i.e., in the above code in
to
|
Thanks! I thought I was losing my mind. Even in lieu of a fix, it would help a lot to have had a better error message, perhaps with a recommendation to disable compression. |
Fix merged to main in |
The fix was released on release-2024-09-27. Let us know if you still encounter the issue after upgrading |
Comments on closed issues are hard for our team to see. |
Describe the bug
We're using CloudWatch metrics and we are experiencing errors with PutMetricData (via the Rust aws_sdk_cloudwatch crate) when sending metric payloads that seem to be well below the documented maximums.
Expected Behavior
The metrics to be accepted successfully.
Current Behavior
The debug error looks like the following, after what appears to be a 10 second time out:
Reproduction Steps
This program shows
PutMetricData
failing when using aMetricDatum
with 125 value/count entries and then succeeding with the same data set truncated to 100 entries.Possible Solution
No response
Additional Information/Context
No response
Version
The text was updated successfully, but these errors were encountered: