I hate to disappoint you, but I never did figure it out. Instead, I worked around it by doing entirely all my backend testing on the production server. I also started using the background_thread functionality, which ONLY works on the production server. So unfortunately my only recommendation to both of you is to just test on production. Sorry guys. -Richard
On Wednesday, August 1, 2012 9:40:01 PM UTC-7, Max Lieblich wrote: > Hi, > > Did you ever figure this out? I am running into problems when I try to run > dev_appserver.py --backends, always running into this, using either the > frontend or backend. It just doesn't work. > > File "C:\Program Files > (x86)\Google\google_appengine\google\appengine\api\apiproxy_stub_map.py", > line 570, in check_success > self.__rpc.CheckSuccess() > File "C:\Program Files > (x86)\Google\google_appengine\google\appengine\api\apiproxy_rpc.py", line > 156, in _WaitImpl > self.request, self.response) > File "C:\Program Files > (x86)\Google\google_appengine\google\appengine\ext\remote_api\remote_api_stub.py", > line 189, in MakeSyncCall > self._MakeRealSyncCall(service, call, request, response) > File "C:\Program Files > (x86)\Google\google_appengine\google\appengine\ext\remote_api\remote_api_stub.py", > line 201, in _MakeRealSyncCall > encoded_response = self._server.Send(self._path, encoded_request) > File "C:\Program Files > (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line > 366, in Send > f = self.opener.open(req) > File "C:\Python27\lib\urllib2.py", line 400, in open > response = self._open(req, data) > File "C:\Python27\lib\urllib2.py", line 418, in _open > '_open', req) > File "C:\Python27\lib\urllib2.py", line 378, in _call_chain > result = func(*args) > File "C:\Python27\lib\urllib2.py", line 1207, in http_open > return self.do_open(httplib.HTTPConnection, req) > File "C:\Python27\lib\urllib2.py", line 1177, in do_open > raise URLError(err) > URLError: <urlopen error [Errno 10104] getaddrinfo failed> > > > On Wednesday, August 3, 2011 10:09:16 PM UTC-7, Richard Arrano wrote: >> >> Hello, >> I've been working with the Backends API and tried to run the >> counter_demo and am always unsuccessful. Each instance spits out an >> error about the connection being refused to /_ah/start. Here's one >> example for an instance of loadtest: >> >> [Backend Instance] [loadtest.7] [dev_appserver.py:4248] INFO "GET /_ah/ >> start HTTP/1.1" 500 - >> [Backend Instance] [counter.0] [dev_appserver.py:4201] ERROR Exception >> encountered handling request >> Traceback (most recent call last): >> File "C:\Program Files\Google\google_appengine\google\appengine\tools >> \dev_appserver.py", line 4134, in _HandleRequest >> dev_appserver_index.SetupIndexes(config.application, root_path) >> File "C:\Program Files\Google\google_appengine\google\appengine\tools >> \dev_appserver_index.py", line 304, in SetupIndexes >> existing_indexes = datastore_admin.GetIndices(app_id) >> File "C:\Program Files\Google\google_appengine\google\appengine\api >> \datastore_admin.py", line 53, in GetIndices >> resp = _Call('GetIndices', req, resp) >> File "C:\Program Files\Google\google_appengine\google\appengine\api >> \datastore_admin.py", line 102, in _Call >> result = apiproxy_stub_map.MakeSyncCall('datastore_v3', call, req, >> resp) >> File "C:\Program Files\Google\google_appengine\google\appengine\api >> \apiproxy_stub_map.py", line 94, in MakeSyncCall >> return stubmap.MakeSyncCall(service, call, request, response) >> File "C:\Program Files\Google\google_appengine\google\appengine\api >> \apiproxy_stub_map.py", line 308, in MakeSyncCall >> rpc.CheckSuccess() >> File "C:\Program Files\Google\google_appengine\google\appengine\api >> \apiproxy_rpc.py", line 156, in _WaitImpl >> self.request, self.response) >> File "C:\Program Files\Google\google_appengine\google\appengine\ext >> \remote_api\remote_api_stub.py", line 252, in MakeSyncCall >> response) >> File "C:\Program Files\Google\google_appengine\google\appengine\ext >> \remote_api\remote_api_stub.py", line 178, in MakeSyncCall >> self._MakeRealSyncCall(service, call, request, response) >> File "C:\Program Files\Google\google_appengine\google\appengine\ext >> \remote_api\remote_api_stub.py", line 190, in _MakeRealSyncCall >> encoded_response = self._server.Send(self._path, encoded_request) >> File "C:\Program Files\Google\google_appengine\google\appengine\tools >> \appengine_rpc.py", line 365, in Send >> f = self.opener.open(req) >> File "C:\Program Files\Python\lib\urllib2.py", line 381, in open >> response = self._open(req, data) >> File "C:\Program Files\Python\lib\urllib2.py", line 399, in _open >> '_open', req) >> File "C:\Program Files\Python\lib\urllib2.py", line 360, in >> _call_chain >> result = func(*args) >> File "C:\Program Files\Python\lib\urllib2.py", line 1107, in >> http_open >> return self.do_open(httplib.HTTPConnection, req) >> File "C:\Program Files\Python\lib\urllib2.py", line 1082, in do_open >> raise URLError(err) >> URLError: <urlopen error (10061, 'Connection refused')> >> >> Does anyone have any idea how to fix this? >> >> Thanks, >> Richard > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/X-hMfP7QksoJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.