Yes, my corporate network connect my to the real world through a proxy.
Its simple, no authentication, and I have access to every single site on 
internet.

In fact, I can do a deploy. I only cannot run the devserver. This is odd...
appcfg.py works like a charm.

I did --host, same error. Just a change saying my server now was on 
0.0.0.0, instead of localhost.

I put some printouts inside python libs.


$ sudo vi /usr/lib/python2.7/urllib2.py

... around line 531

*class HTTPDefaultErrorHandler(BaseHandler):*
*    def http_error_default(self, req, fp, code, msg, hdrs):*
*        print "---------------\n"*
*        print req.get_full_url()+'\n'*
*        print "---------------\n"*
*        raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)*


...

And then...

INFO     2014-05-23 20:44:07,649 sdk_update_checker.py:242] Checking for 
updates to the SDK.
INFO     2014-05-23 20:44:07,978 __init__.py:94] Connecting through tunnel 
to: appengine.google.com:443
INFO     2014-05-23 20:44:09,632 api_server.py:171] Starting API server at: 
http://localhost:32938
INFO     2014-05-23 20:44:09,655 dispatcher.py:182] Starting module 
"default" running at: http://0.0.0.0:8080
INFO     2014-05-23 20:44:09,657 admin_server.py:117] Starting admin server 
at: http://localhost:8000
---------------

http://localhost:32938/

---------------

ERROR    2014-05-23 20:44:11,737 wsgi.py:278] 
Traceback (most recent call last):
  File "/opt/google_appengine/google/appengine/runtime/wsgi.py", line 267, 
in Handle
    for chunk in result:
  File "/opt/google_appengine/google/appengine/ext/appstats/recording.py", 
line 1250, in appstats_wsgi_wrapper
    start_recording(environ)
  File "/opt/google_appengine/google/appengine/ext/appstats/recording.py", 
line 1387, in start_recording
    time=config.LOCK_TIMEOUT, namespace=config.KEY_NAMESPACE):
  File "/opt/google_appengine/google/appengine/api/memcache/__init__.py", 
line 784, in add
    namespace=namespace)
  File "/opt/google_appengine/google/appengine/api/memcache/__init__.py", 
line 869, in _set_with_policy
    status_dict = rpc.get_result()
  File "/opt/google_appengine/google/appengine/api/apiproxy_stub_map.py", 
line 612, in get_result
    return self.__get_result_hook(self)
  File "/opt/google_appengine/google/appengine/api/memcache/__init__.py", 
line 974, in __set_with_policy_hook
    rpc.check_success()
  File "/opt/google_appengine/google/appengine/api/apiproxy_stub_map.py", 
line 578, in check_success
    self.__rpc.CheckSuccess()
  File "/opt/google_appengine/google/appengine/api/apiproxy_rpc.py", line 
156, in _WaitImpl
    self.request, self.response)
  File 
"/opt/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py", 
line 200, in MakeSyncCall
    self._MakeRealSyncCall(service, call, request, response)
  File 
"/opt/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 "/opt/google_appengine/google/appengine/tools/appengine_rpc.py", 
line 409, in Send
    f = self.opener.open(req)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 534, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 301: Moved Permanently
---------------
---------------


http://localhost:32938/
http://localhost:32938/


---------------
---------------


HTTPError()
HTTPError()
Traceback (most recent call last):
  File 
"/opt/google_appengine/lib/cherrypy/cherrypy/wsgiserver/wsgiserver2.py", 
line 1302, in communicate
.... 
.... and so on, like the old one.


Trying to access this URL, however, looks ok.

http://localhost:32938/
{app_id: dev~transito-poa-rs, rtok: '0'}


I believe the problem is somehow the GAE is trying to emulate Google 
environment, inside my company network.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to