39👍
Quick workaround that I found: delete the file google_appengine/lib/cacerts/cacerts.txt
from your installed SDK.
Starting from the GoogleAppEngineLauncher:
GoogleAppEngineLauncher/Contents/Resources/GoogleAppEngineDefault.bundle/Contents/Resources/google_appengine/lib/cacerts/cacerts.txt
EDIT #
as of google app engine SDK 1.8.1 this file as been renamed to
urlfetch_cacerts.txt. Still in the same directory and removing it
still fixes the problem.
– @Harrison
2👍
Compact answer, current as of January 2014 (just survived an SDK update):
rm file /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/cacerts/urlfetch_cacerts.txt
or …
cd /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/cacerts/
rm urlfetch_cacerts.txt
and everything runs smoothly again.
And you better delete “cacerts.txt” (in the same directory), too. Otherwise the sdk command line tools will throw exceptions, too 🙁
- [Django]-Revert Django 1.7 RemoveField migration
- [Django]-Django – "Incorrect type. Expected pk value, received str" error
- [Django]-Django testing rest-framework: APIRequestFactory vs APIClient
1👍
FYI: if you are on a Mac running Mavericks, this error might be due to using python 2.7.6 or lower, which has a known bug that causes this error.
For example, you would get a similar error by simply trying to get any SSL page:
pip install requests
python
>>> import requests
>>> requests.get("https://github.com")
The above would yield the same SSL cert errors. In this case, none of the gcloud (Google cloud SDK) commands work.
Upgrade to python 2.7.8 (or newer 2.7.X) to solve the problem (worked for me).
- [Django]-Django multiple and dynamic databases
- [Django]-Django query filter with variable column
- [Django]-Error: upstream prematurely closed connection while reading response header from upstream [uWSGI/Django/NGINX]
0👍
Upgrading Python from 2.7.3 to 2.7.9 fixed it for me. I’m on Mac OS X 10.6.8 (Snow Leopard).
- [Django]-How to debug Jinja2 template?
- [Django]-Django: Arbitrary number of unnamed urls.py parameters
- [Django]-Django gunicorn sock file not created by wsgi