Hi,

Some Googling turned up this:
http://mail.python.org/pipermail/python-list/2007-October/463596.html

"This is because urllib2 does not support HTTPS proxies (neither
doesurllib). See Python cookbook for a hack to get it working.
"

And this recipe:
http://code.activestate.com/recipes/301740/

Looks like if this is the issue, you'd need to do some hacking on the
dev_appserver to get it to work. Or, you could try to upload the application
using a different network connection.

-Marzia

On Fri, Dec 26, 2008 at 1:26 PM, getitworking <[email protected]> wrote:

>
> Dear all,
>
> I am trying Google App engine first time. I have created the
> application on appspot and the application is working good locally on
> my Laptop. I tried uploading it with my email id and password but
> after entering the password 2nd time (it asked the password twice) it
> gave the error as:
>
> 2008-12-27 02:30:48,485 ERROR appcfg.py:1336 An unexpected error
> occurred. Aborting.
> Traceback (most recent call last):
>  File "./appcfg.py", line 55, in <module>
>    execfile(script_path, globals())
>  File "google_appengine/google/appengine/tools/appcfg.py", line 1954,
> in <module>
>    main(sys.argv)
>  File "google_appengine/google/appengine/tools/appcfg.py", line 1947,
> in main
>    AppCfgApp(argv).Run()
>  File "google_appengine/google/appengine/tools/appcfg.py", line 1524,
> in Run
>    self.action.function(self)
>  File "google_appengine/google/appengine/tools/appcfg.py", line 1736,
> in Update
>    lambda path: open(os.path.join(basepath, path), "rb"))
>  File "google_appengine/google/appengine/tools/appcfg.py", line 1315,
> in DoUpload
>    missing_files = self.Begin()
>  File "google_appengine/google/appengine/tools/appcfg.py", line 1176,
> in Begin
>    version=self.version, payload=self.config.ToYAML())
>  File "google_appengine/google/appengine/tools/appcfg.py", line 282,
> in Send
>    self._Authenticate()
>  File "google_appengine/google/appengine/tools/appcfg.py", line 321,
> in _Authenticate
>    super(HttpRpcServer, self)._Authenticate()
>  File "google_appengine/google/appengine/tools/appcfg.py", line 230,
> in _Authenticate
>    auth_token = self._GetAuthToken(credentials[0], credentials[1])
>  File "google_appengine/google/appengine/tools/appcfg.py", line 174,
> in _GetAuthToken
>    response = self.opener.open(req)
>  File "/usr/lib/python2.5/urllib2.py", line 381, in open
>    response = self._open(req, data)
>  File "/usr/lib/python2.5/urllib2.py", line 399, in _open
>    '_open', req)
>  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
>    result = func(*args)
>  File "/usr/lib/python2.5/urllib2.py", line 1115, in https_open
>    return self.do_open(httplib.HTTPSConnection, req)
>  File "/usr/lib/python2.5/urllib2.py", line 1082, in do_open
>    raise URLError(err)
> urllib2.URLError: <urlopen error (113, 'No route to host')>
>
>
> Could you tell me what is the problem? I am running behind my
> institutions http proxy and so I have already set the proxy ip and
> port in .bashrc. Also Firewall is off. DNS entry is set to the
> institute's DNS server.
>
> After setting the DNS entry to OpenDNS ip addresses: 208.67.222.222
> and 208.67.220.220 and trying for upload I got the following error:
>
> 2008-12-27 02:48:32,960 ERROR appcfg.py:1336 An unexpected error
> occurred. Aborting.
> Traceback (most recent call last):
>  File "./appcfg.py", line 55, in <module>
>    execfile(script_path, globals())
>  File "google_appengine/google/appengine/tools/appcfg.py", line 1954,
> in <module>
>    main(sys.argv)
>  File "google_appengine/google/appengine/tools/appcfg.py", line 1947,
> in main
>    AppCfgApp(argv).Run()
>  File "google_appengine/google/appengine/tools/appcfg.py", line 1524,
> in Run
>    self.action.function(self)
>  File "google_appengine/google/appengine/tools/appcfg.py", line 1736,
> in Update
>    lambda path: open(os.path.join(basepath, path), "rb"))
>  File "google_appengine/google/appengine/tools/appcfg.py", line 1315,
> in DoUpload
>    missing_files = self.Begin()
>  File "google_appengine/google/appengine/tools/appcfg.py", line 1176,
> in Begin
>    version=self.version, payload=self.config.ToYAML())
>  File "google_appengine/google/appengine/tools/appcfg.py", line 282,
> in Send
>    self._Authenticate()
>  File "google_appengine/google/appengine/tools/appcfg.py", line 321,
> in _Authenticate
>    super(HttpRpcServer, self)._Authenticate()
>  File "google_appengine/google/appengine/tools/appcfg.py", line 230,
> in _Authenticate
>    auth_token = self._GetAuthToken(credentials[0], credentials[1])
>  File "google_appengine/google/appengine/tools/appcfg.py", line 174,
> in _GetAuthToken
>    response = self.opener.open(req)
>  File "/usr/lib/python2.5/urllib2.py", line 381, in open
>    response = self._open(req, data)
>  File "/usr/lib/python2.5/urllib2.py", line 399, in _open
>    '_open', req)
>  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
>    result = func(*args)
>  File "/usr/lib/python2.5/urllib2.py", line 1115, in https_open
>    return self.do_open(httplib.HTTPSConnection, req)
>  File "/usr/lib/python2.5/urllib2.py", line 1082, in do_open
>    raise URLError(err)
> urllib2.URLError: <urlopen error (-2, 'Name or service not known')>
>
>
>
> Can any body tell me the solution?
>
> Regards,
> Amit
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to