[GAE]用过Google App Engine的请进!URLError: <urlopen error [Errno 10061] >
正在用Google App Engine开发应用,但在用GAE SDK本地测试时遇到了棘手的问题:
GAE似乎有些不稳定,有时用的好好的,突然就无法访问所有的页面了,查看Logs:
URLError: <urlopen error [Errno 10061] >
Traceback (most recent call last):
File "E:\Program Files\google_appengine\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", line 1302, in communicate
req.respond()
File "E:\Program Files\google_appengine\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", line 831, in respond
self.server.gateway(self).respond()
File "E:\Program Files\google_appengine\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", line 2115, in respond
response = self.req.server.wsgi_app(self.env, self.start_response)
File "E:\Program Files\google_appengine\google\appengine\tools\devappserver2\wsgi_server.py", line 249, in __call__
return app(environ, start_response)
File "E:\Program Files\google_appengine\google\appengine\tools\devappserver2\request_rewriter.py", line 311, in _rewriter_middleware
response_body = iter(application(environ, wrapped_start_response))
File "E:\Program Files\google_appengine\google\appengine\tools\devappserver2\python\request_handler.py", line 89, in __call__
self._flush_logs(response.get('logs', []))
File "E:\Program Files\google_appengine\google\appengine\tools\devappserver2\python\request_handler.py", line 225, in _flush_logs
apiproxy_stub_map.MakeSyncCall('logservice', 'Flush', request, response)
File "E:\Program Files\google_appengine\google\appengine\api\apiproxy_stub_map.py", line 94, in MakeSyncCall
return stubmap.MakeSyncCall(service, call, request, response)
File "E:\Program Files\google_appengine\google\appengine\api\apiproxy_stub_map.py", line 320, in MakeSyncCall
rpc.CheckSuccess()
File "E:\Program Files\google_appengine\google\appengine\api\apiproxy_rpc.py", line 156, in _WaitImpl
self.request, self.response)
File "E:\Program Files\google_appengine\google\appengine\ext\remote_api\remote_api_stub.py", line 200, in MakeSyncCall
self._MakeRealSyncCall(service, call, request, response)
File "E:\Program Files\google_appengine\google\appengine\ext\remote_api\remote_api_stub.py", line 226, in _MakeRealSyncCall
encoded_response = self._server.Send(self._path, encoded_request)
File "E:\Program Files\google_appengine\google\appengine\tools\appengine_rpc.py", line 393, in Send
f = self.opener.open(req)
File "E:\Program Files\Python\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "E:\Program Files\Python\lib\urllib2.py", line 418, in _open
'_open', req)
File "E:\Program Files\Python\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "E:\Program Files\Python\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "E:\Program Files\Python\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 10061] >
这里面并没有提及我的代码文件,因此我认为是GAE的问题。
此问题已纠缠很久,十分苦恼。关闭,重启GAE都无效果。每次都是重新安装GAE才解决,浪费了我大量时间。
求高手解决! Google?App?Engine
[解决办法]
该回复于2013-07-10 13:13:48被管理员删除
[解决办法]
该回复于2013-07-10 13:13:48被管理员删除