BotoClientError server certificate validation failure when running in GAE

90 views
Skip to first unread message

googlefox

unread,
Jan 4, 2013, 8:44:28 PM1/4/13
to google-a...@googlegroups.com
I am using Google Appengine to write a file to google storage using REST API. As part of this, I log some metrics to amazon cloudwatch. I am using buildout with rod.recipe.appengine buildout recipe to package the application.

In order to test this app, I am running it under dev_appserver on my ubuntu machine.

My cloudwatch connection init looks as follows:

            self.cwConn = CloudWatchConnection(zkeys.AWS_ID, zkeys.AWS_SECRET_KEY, debug=1)

Now, this was working fine. When I upgraded to boto 2.6.0, it started failing with the following error:

   self.cwConn = CloudWatchConnection(zkeys.AWS_ID, zkeys.AWS_SECRET_KEY, debug=1)
  File "packages.zip/boto/ec2/cloudwatch/__init__.py", line 118, in __init__
  File "packages.zip/boto/connection.py", line 936, in __init__
  File "packages.zip/boto/connection.py", line 480, in __init__
BotoClientError: BotoClientError: SSL server certificate validation is enabled in boto configuration, but Python dependencies required to support this feature are not available. Certificate validation is only supported when running under Python 2.6 or later.

--

Any ideas why this is happening and how to fix this? I have already looked at ~/.boto and do not see https_certificate_validation_enabled=True there.



Reply all
Reply to author
Forward
0 new messages