Google AppEngine: appcfg.py update check failed

Tue, Apr 13, 2010

Tech Tips

I started getting this error in Windows when running ‘manage runserver’ in django on Google AppEngine:

appcfg.py update check failed: EOF occurred in violation of protocol

This error is related to not having the SSL module for python installed. The easy fix is to install it by running “easy_install ssl” from the command prompt. However, using Python 2.5, I received errors and it did not work.

The longer, more involved fix is to compile the SSL module for python. This was a hassle but after about an hour I finally got it working.

Here is the tutorial I used to install the ssl module:
http://beautifulisbetterthanugly.com/posts/2009/aug/19/compile-ssl-115-python-25-or-lower/

I also had to follow the troubleshooting section on this link:
http://wiki.cython.org/InstallingOnWindows
because I did not have the python library file (libpython25.a).

Bookmark and Share
, ,

Comments are closed.