Hi all, I'm trying to use remote_api to access the datastore of my app remotely via a console (i.e. as described here: http://code.google.com/appengine/articles/remote_api.html)
This is working fine for my apps that use Google account authentication, but for apps that use Google Apps authentication, I receive the error "HTTP Error 302: Found" I also receive a message saying: Please go to https://www.google.com/accounts/DisplayUnlockCaptcha and verify you are a human. Then try again. I've read elsewhere that this can happen when connections to the datastore aren't getting re-used, but I don't think this is the issue in my case, as this happens every time I try to connect. Here's the full error stack: >>> Frob.all().fetch(1) No handlers could be found for logger "google.appengine.tools.appengine_rpc" Username:steve Password: Please go to https://www.google.com/accounts/DisplayUnlockCaptcha and verify you are a human. Then try again. Traceback (most recent call last): File "<console>", line 1, in <module> File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/db/__init__.py", line 1626, in fetch raw = raw_query.Get(limit, offset, rpc=rpc) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/datastore.py", line 1240, in Get limit=limit, offset=offset, prefetch_count=limit, **kwargs)._Get(limit) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/datastore.py", line 1167, in _Run datastore_pb.QueryResult(), rpc) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/datastore.py", line 186, in _MakeSyncCall rpc.check_success() File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/apiproxy_stub_map.py", line 474, in check_success self.__rpc.CheckSuccess() File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/apiproxy_rpc.py", line 149, in _WaitImpl self.request, self.response) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/remote_api/remote_api_stub.py", line 223, in MakeSyncCall handler(request, response) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/remote_api/remote_api_stub.py", line 232, in _Dynamic_RunQuery 'datastore_v3', 'RunQuery', query, query_result) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/remote_api/remote_api_stub.py", line 155, in MakeSyncCall self._MakeRealSyncCall(service, call, request, response) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/remote_api/remote_api_stub.py", line 167, in _MakeRealSyncCall encoded_response = self._server.Send(self._path, encoded_request) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appengine_rpc.py", line 346, in Send f = self.opener.open(req) File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py", line 380, in open response = meth(req, response) File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py", line 491, in http_response 'http', request, response, code, msg, hdrs) File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py", line 418, in error return self._call_chain(*args) File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py", line 353, in _call_chain result = func(*args) File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py", line 499, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 302: Found Any suggestions? Many thanks in advance, Steve -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
