gae 1.7.6に切り替えた後、remote_apiは機能しなくなります。
1.7.5は正常に機能しました。
app.yaml
ハンドラー: -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, None #test
#return 'xxxxx', 'yyyyyyyy' #prod
remote_api_stub.ConfigureRemoteApi(None, '/rugad_remote', auth_func, HOST) #1.7.6
#remote_api_stub.ConfigureRemoteDatastore(None, '/rugad_remote', auth_func, HOST) #1.7.5
トレースバック(最後の最後の呼び出し):
ファイル"C:\ rugad \ rugadweb.py"、28行目
remote_api_stub.ConfigureRemoteApi(None、'/ rugad_remote'、auth_func、HOST)
ファイル"C:\ Program Files(x86)\ Google \ google_appengine \ google \ appengine \ ext \ remo
te_api \ remote_api_stub.py "、725行目、ConfigureRemoteApi
app_id = GetRemoteAppIdFromServer(server、path、rtok)
ファイル"C:\ Program Files(x86)\ Google \ google_appengine \ google \ appengine \ ext \ remo
GetRemoteAppIdFromServerのte_api\remote_api_stub.py "、568行目
response = server.Send(path、payload = None、** urlargs)
ファイル"C:\ Program Files(x86)\ Google \ google_appengine \ google \ appengine \ tools \ ap
pengine_rpc.py "、行393、送信
f = self.opener.open(req)
ファイル"C:\ Python27 \ lib \ urllib2.py"、行394、開いている
response = self._open(req、data)
ファイル"C:\ Python27 \ lib \ urllib2.py"、412行目、_open
'_open'、req)
_call_chainのファイル"C:\ Python27 \ lib \ urllib2.py"、行372
結果=func(* args)
http_openのファイル"C:\ Python27 \ lib \ urllib2.py"、行1199
self.do_open(httplib.HTTPConnection、req)を返します
do_openのファイル「C:\ Python27 \ lib \ urllib2.py」、1174行目
URLError(err)を発生させます
urllib2.URLError:urlopenエラー[Errno 10061] Es konnte keine Verbindung herges
tellt werden、da der Zielcomputer die Verbindung verweigerte