python - remote api Error-10061 after upgrade to gae 1.7.6 -
Remote_AP does not work anymore after switching to gae 1.7.6.
1.7.5 worked fine.
App Yal
Handlers:
- url: /rugad_remote.*
Script: google.appengine.ext.remote_api.handler.application # 1.7.5
Script: google.appengine.ext .remote_api.handler.app # 1.7.6 Login: Admin
rugadweb.py HOST = '127.0 .0.1: 8080' #test #HOST = 'xxx. appspot.com '#prod def Auth_func (): return none, no #test #return' xxxxx ',' yyyyyyyy 'remote_api_stub.ConfigureRemoteApi #prod (no,' / rugad_remote traceback (most recent call last): file: 1.7.6 # Rimot_pr_stop. Configrremotdetatoar (none, '/ rugad_remote', auth_func, HOST) # 1.7.5 "C: \ rugad \ rugadweb.py", line 28, remote_api_s Not tub.ConfigureRemoteApi (no, '/ rugad_remote', auth_func, host) file "C: \ Program Files (x86) \ Google \ google_appengine \ Google \ appengine \ ext \ Remo te_api \ remote_api_stub.py", line 725, ConfigureRemoteApi APP_ID = GetRemoteAppIdFromServer (server path, rtok) in the file "C: \ Program files (x86) \ Google \ google_appengine \ Google \ appengine \ ext \ re mo te_api \ remote_api_stub.py", line 568, GetRemoteAppIdFromServer response = server in .Send (path, payload = none, ** urlargs) Send the file "C: \ Program Files (x86) \ Google \ google_appengine \ Google \ appengine \ tool \ AP pengine_rpc.py", in line 393, f = self Opener.open (req) file "c: \ Python27 \ lib \ urllib2.py", line 394, open symbol The RIA = self._open (req, data) file "C: \ Python27 \ lib \ urllib2.py", line 412, '_open' in _open, requested) file "C: \ Python27 \ lib \ urllib2.py", line 372, = function _call_chain results (* args) "C: \ Python27 \ lib \ urllib2.py" file, line 1199, returned http_open in self.do_open (httplib.HTTPConnection, requested) file "C: Python27 \ lib \ urllib2.py \ ", increase URLError in line 1174, do_open (fault) urllib2.URLError: urlopen error [error 10061] Wardining Hrges, Warbindung die fear Jielcomptr Vrviirtet
I have the same problem. I fixed it using "LocalHost: 8080" instead of "127.0.0.1:8080" and using an email address for login.
HOST = 'localhost: 8080' def auth_func (): return "User@example.com", "password" remote_api_stub.ConfigureRemoteApi (no, '/ rugad_remote', auth_func, HOST )
HOST = '127.0 .0.1: 8080' #test #HOST = 'xxx. appspot.com '#prod def Auth_func (): return none, no #test #return' xxxxx ',' yyyyyyyy 'remote_api_stub.ConfigureRemoteApi #prod (no,' / rugad_remote traceback (most recent call last): file: 1.7.6 # Rimot_pr_stop. Configrremotdetatoar (none, '/ rugad_remote', auth_func, HOST) # 1.7.5 "C: \ rugad \ rugadweb.py", line 28, remote_api_s Not tub.ConfigureRemoteApi (no, '/ rugad_remote', auth_func, host) file "C: \ Program Files (x86) \ Google \ google_appengine \ Google \ appengine \ ext \ Remo te_api \ remote_api_stub.py", line 725, ConfigureRemoteApi APP_ID = GetRemoteAppIdFromServer (server path, rtok) in the file "C: \ Program files (x86) \ Google \ google_appengine \ Google \ appengine \ ext \ re mo te_api \ remote_api_stub.py", line 568, GetRemoteAppIdFromServer response = server in .Send (path, payload = none, ** urlargs) Send the file "C: \ Program Files (x86) \ Google \ google_appengine \ Google \ appengine \ tool \ AP pengine_rpc.py", in line 393, f = self Opener.open (req) file "c: \ Python27 \ lib \ urllib2.py", line 394, open symbol The RIA = self._open (req, data) file "C: \ Python27 \ lib \ urllib2.py", line 412, '_open' in _open, requested) file "C: \ Python27 \ lib \ urllib2.py", line 372, = function _call_chain results (* args) "C: \ Python27 \ lib \ urllib2.py" file, line 1199, returned http_open in self.do_open (httplib.HTTPConnection, requested) file "C: Python27 \ lib \ urllib2.py \ ", increase URLError in line 1174, do_open (fault) urllib2.URLError: urlopen error [error 10061] Wardining Hrges, Warbindung die fear Jielcomptr Vrviirtet
I have the same problem. I fixed it using "LocalHost: 8080" instead of "127.0.0.1:8080" and using an email address for login.
HOST = 'localhost: 8080' def auth_func (): return "User@example.com", "password" remote_api_stub.ConfigureRemoteApi (no, '/ rugad_remote', auth_func, HOST )
Comments
Post a Comment