pcorliss / ruby_route_53

Ruby gem and command line tool for Amazon's Route 53 service.
blog.50projects.com
GNU General Public License v3.0
172 stars 32 forks source link

Rate exceeded #13

Open arp opened 13 years ago

arp commented 13 years ago

I've received a lot of such messages when tried to upload a bunch of changes in a single loop:

ERROR: Amazon returned an error for the request.
ERROR: RAW_XML: <?xml version="1.0"?>
<ErrorResponse xmlns="https://route53.amazonaws.com/doc/2011-05-05/"><Error><Type>Sender</Type><Code>Throttling</Code><Message>Rate exceeded</Message></Error><RequestId>c4aa67a4-d9b3-11e0-bbf6-2d3eee7674ab</RequestId></ErrorResponse>
ERROR: Throttling: Rate exceeded

What now? It looks like you've run into an unhandled error. Please send a detailed bug report with the entire input and output from the program to support@50projects.com or to https://github.com/pcorliss/ruby_route_53/issues and we'll do out best to help you.

I think there are two options to deal with that: either catch such errors and provide friendly error messages, or adhere to Amazon's rate limit rules.

UPDATE: we are using Route53::DNSRecord.new, not command-line client.