views:

180

answers:

1

I am not able to upload any project to Google app engine and this is the error I get

  File "F:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 1250, in DoUpload
    missing_files = self.Begin()
  File "F:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 1045, in Begin
    version=self.version, payload=self.config.ToYAML())
  File "F:\Program Files\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 356, in Send
    self._Authenticate()
  File "F:\Program Files\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 391, in _Authenticate
    super(HttpRpcServer, self)._Authenticate()
  File "F:\Program Files\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 271, in _Authenticate
    auth_token = self._GetAuthToken(credentials[0], credentials[1])
  File "F:\Program Files\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 214, in _GetAuthToken
    response = self.opener.open(req)
  File "F:\Python25\lib\urllib2.py", line 381, in open
    response = self._open(req, data)
  File "F:\Python25\lib\urllib2.py", line 399, in _open
    '_open', req)
  File "F:\Python25\lib\urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "F:\Python25\lib\urllib2.py", line 1115, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "F:\Python25\lib\urllib2.py", line 1082, in do_open
    raise URLError(err)
URLError: < urlopen error (8, 'EOF occurred in violation of protocol') >
+1  A: 

It looks like fiddler was interfering with upload, I did not know how to disable it so stopped it and then upload happened instantly. I got the clue from this blogpost.

Specially the part

proxies can result in this problem, which is likely caused by the HTTP header send being terminated prematurely.

dhaval