Hi, I struggled to get my application uploaded on Google App Engine. Kept getting the following error:
urllib2.URLError: <urlopen error (111, 'Connection refused')> I had the $http_proxy set to "http://my.proxy.server:8080", as mentioned on http://code.google.com/appengine/docs/python/tools/uploadinganapp.html#Using_an_HTTP_Proxy . Didn't work however. Then, I just looked the --verbose output from `appcfg.py update appname` and noticed that the following trace: ... return self.do_open(httplib.HTTPSConnection, req) File "/usr/lib/python2.5/urllib2.py", line 1082, in do_open raise URLError(err) URLError: <urlopen error (111, 'Connection refused')> notice appcfg.py tries to open a secure (TLS) connection.. and unless you have a proxy defined for HTTPS connections as well, it's bound to fail. SOLUTION: export https_proxy="http://your.proxy.server:8080" # or whatever your https proxy server is. For me, it was the same proxy server as http, so all I did was: export https_proxy=$http_proxy I hope this helps. Wonder if someone can get this small piece included in the official GAE documentation (http://code.google.com/ appengine/docs/python/tools/uploadinganapp.html#Using_an_HTTP_Proxy). HTH, Cheers, Vishal --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
