I'm getting the following error when trying to create a CloudFormation stack in boto 2.6, if I create a stack that includes an EC2 instance with user-data larger than 9000 bytes:
File "/usr/local/lib/python2.7/dist-packages/boto-2.6.0-py2.7.egg/boto/cloudformation/connection.py", line 208, in create_stack
raise self.ResponseError(response.status, response.reason, body)
boto.exception.BotoServerError: BotoServerError: 505 HTTP Version Not Supported
In boto 2.5 I got the stack created with no errors. Using git bisect, I narrowed the introduction of this issue down to the following change:
Author: James Saryerwinnie <[e-mail redacted out]>
Date: Mon Jul 9 11:24:28 2012 -0700
Switch cloudformation over to sigv4
Add failing integration test for sigv4 failure
This repros #1037.
I believe this is fixed now from #1081.
The root cause was a bug in the sigv4 implementation (I've added an integration test that calls create_stack with large template sizes that catches this issue so we shouldn't run into this again).
Let me know if you're still running into problems with the latest changes.