Ran into this problem trying to call braintree.ClientToken.generate()
from a Google App Engine app, running Flask on dev_appserver.py
. dev_appserver.py
can't currently make outgoing SSL connections. Making the above braintree call yields
ConnectionError: ('Connection aborted.', error(13, 'Permission denied'))
The call works on in a real GAE environment. It's used in one of my views, so it breaks my whole website flow with the above 500 error when it fails. How can I work around this so that I can continue developing in my local environment?