将应用程序部署到Google App Engine时超时

时间:2011-07-22 18:36:37

标签: python google-app-engine ubuntu-11.04

将应用程序部署到GAE时遇到问题。我用ubuntu。当我键入命令来更新应用程序时,会发生以下错误:

2011-07-22 20:13:28,598 ERROR appcfg.py:2064 An unexpected error occurred. Aborting. 
Traceback (most recent call last):
  File "/home/grzegorz/google_appengine/google/appengine/tools/appcfg.py", line 2005, in DoUpload
    missing_files = self.Begin()
  File "/home/grzegorz/google_appengine/google/appengine/tools/appcfg.py", line 1674, in Begin
    self.Send('/api/appversion/create', payload=self.config.ToYAML())
  File "/home/grzegorz/google_appengine/google/appengine/tools/appcfg.py", line 1632, in Send
    return self.rpcserver.Send(url, payload=payload, **self.params)
  File "/home/grzegorz/google_appengine/google/appengine/tools/appengine_rpc.py", line 365, in Send
    f = self.opener.open(req)
  File "/usr/lib/python2.7/urllib2.py", line 391, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1193, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/home/grzegorz/google_appengine/lib/fancy_urllib/fancy_urllib/__init__.py", line 367, in do_open
    raise url_error
URLError: <urlopen error [Errno 110] Connection timed out>
Traceback (most recent call last):
  File "./google_appengine/appcfg.py", line 76, in <module>
    run_file(__file__, globals())
  File "./google_appengine/appcfg.py", line 72, in run_file
    execfile(script_path, globals_)
  File "/home/grzegorz/google_appengine/google/appengine/tools/appcfg.py", line 3708, in <module>
    main(sys.argv)
  File "/home/grzegorz/google_appengine/google/appengine/tools/appcfg.py", line 3699, in main
    result = AppCfgApp(argv).Run()
  File "/home/grzegorz/google_appengine/google/appengine/tools/appcfg.py", line 2345, in Run
    self.action(self)
  File "/home/grzegorz/google_appengine/google/appengine/tools/appcfg.py", line 3484, in __call__
    return method()
  File "/home/grzegorz/google_appengine/google/appengine/tools/appcfg.py", line 2745, in Update
    app_summary = self.UpdateVersion(rpcserver, self.basepath, appyaml)
  File "/home/grzegorz/google_appengine/google/appengine/tools/appcfg.py", line 2734, in UpdateVersion
    lambda path: self.opener(os.path.join(basepath, path), 'rb'))
  File "/home/grzegorz/google_appengine/google/appengine/tools/appcfg.py", line 2005, in DoUpload
    missing_files = self.Begin()
  File "/home/grzegorz/google_appengine/google/appengine/tools/appcfg.py", line 1674, in Begin
    self.Send('/api/appversion/create', payload=self.config.ToYAML())
  File "/home/grzegorz/google_appengine/google/appengine/tools/appcfg.py", line 1632, in Send
    return self.rpcserver.Send(url, payload=payload, **self.params)
  File "/home/grzegorz/google_appengine/google/appengine/tools/appengine_rpc.py", line 365, in Send
    f = self.opener.open(req)
  File "/usr/lib/python2.7/urllib2.py", line 391, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1193, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/home/grzegorz/google_appengine/lib/fancy_urllib/fancy_urllib/__init__.py", line 367, in do_open
    raise url_error
urllib2.URLError: <urlopen error [Errno 110] Connection timed out>

我试图弄清楚为什么会发生这种情况,特别是以前没有发生过这种情况。 我所做的任何事情都没有奏效。奇怪的是,如果我继续尝试,那么在大约20-30次尝试之后 - 它只是神奇地展开..

在我看来,可能存在一些Wifi问题。例如,当我启动xChat时 - 它无法连接到服务器。我认为这个问题可能有关联。

然而我无法弄清楚任何事情,所以我会感谢任何帮助。

0 个答案:

没有答案