我刚刚将我的 GAE SDK 升级到 1.7.6(Linux、Python)。现在,使用 dev_appserver.py,我的应用程序加载得很好,但是当我在浏览器中转到 localhost:8080 时,就会出现未捕获的 HTTP 504 网关超时异常。我已经用 helloworld 示例代码复制了它。一切都像使用 old_dev_appserver.py 之前一样。
这是一个错误还是我做错了什么?还是我的 Python 发行版?
File "/usr/lib64/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib64/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib64/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 504: Gateway Time-out