I would guess either DNS errors or some type of proxy issue too.  Are
you able to use urllib to grab the content from a website?

What happens if you fire up an interactive session and try:
    import socket
    socket.gethostbyname('appengine.google.com')


Are you able to try this from some other network connection?



Robert




On Tue, Mar 29, 2011 at 16:55, Ruggero <giurr...@gmail.com> wrote:
> Server:         8.8.8.8
> Address:        8.8.8.8#53
>
> Non-authoritative answer:
> appengine.google.com    canonical name = www3.l.google.com.
> Name:   www3.l.google.com
> Address: 209.85.146.138
> Name:   www3.l.google.com
> Address: 209.85.146.113
> Name:   www3.l.google.com
> Address: 209.85.146.139
> Name:   www3.l.google.com
> Address: 209.85.146.102
> Name:   www3.l.google.com
> Address: 209.85.146.100
> Name:   www3.l.google.com
> Address: 209.85.146.101
>
>
> 2011/3/28 Ikai Lan (Google) <ika...@google.com>:
>> I'm wondering if this a connection problem? Try doing an nslookup of
>> appengine.google.com:
>> nslookup appengine.google.com
>> (Command should work in command prompt if you're on windows or terminal if
>> you're on Linux).
>> Ikai Lan
>> Developer Programs Engineer, Google App Engine
>> Blog: http://googleappengine.blogspot.com
>> Twitter: http://twitter.com/app_engine
>> Reddit: http://www.reddit.com/r/appengine
>>
>>
>> On Sun, Mar 27, 2011 at 3:10 AM, Ruggero <giurr...@gmail.com> wrote:
>>>
>>> ok, I've solved this last problem, but with python2.5 I got the same
>>> error as with 2.7
>>>
>>>  File "/usr/local/lib/python2.5/urllib2.py", line 392, in _open
>>>    '_open', req)
>>>  File "/usr/local/lib/python2.5/urllib2.py", line 353, in _call_chain
>>>    result = func(*args)
>>>  File "/usr/local/lib/python2.5/urllib2.py", line 1109, in https_open
>>>    return self.do_open(httplib.HTTPSConnection, req)
>>>  File
>>> "/home/ruggero/Documenti/programmazione/google_appengine/lib/fancy_urllib/fancy_urllib/__init__.py",
>>> line 355, in do_open
>>>    raise url_error
>>> urllib2.URLError: <urlopen error (-5, 'No address associated with
>>> hostname')>
>>>
>>>
>>> 2011/3/26 Ruggero <giurr...@gmail.com>:
>>> > 2011/3/23 Robert Kluin <robert.kl...@gmail.com>:
>>> >> Have you tried it with Python 2.5?
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> Robert
>>> >
>>> >
>>> > yes, but now with python2.5 I got:
>>> >
>>> > Traceback (most recent call last):
>>> >  File "/home/ruggero/google_appengine/appcfg.py", line 71, in <module>
>>> >    run_file(__file__, globals())
>>> >  File "/home/ruggero/google_appengine/appcfg.py", line 67, in run_file
>>> >    execfile(script_path, globals_)
>>> >  File "/home/ruggero/google_appengine/google/appengine/tools/appcfg.py",
>>> > line 63, in <module>
>>> >    from google.appengine.tools import appengine_rpc
>>> >  File
>>> > "/home/ruggero/google_appengine/google/appengine/tools/appengine_rpc.py",
>>> > line 24, in <module>
>>> >    import fancy_urllib
>>> >  File
>>> > "/home/ruggero/google_appengine/lib/fancy_urllib/fancy_urllib/__init__.py",
>>> > line 341, in <module>
>>> >    class FancyHTTPSHandler(urllib2.HTTPSHandler):
>>> > AttributeError: 'module' object has no attribute 'HTTPSHandler'
>>> >
>>> >
>>> >
>>> >>
>>> >>
>>> >> On Tue, Mar 22, 2011 at 16:09, Ruggero Turra <giurr...@gmail.com>
>>> >> wrote:
>>> >>> I got this error every time I use appcfg doing updating, dowloading,
>>> >>> ... I
>>> >>> found some other threads with this problem and the reason was related
>>> >>> to the
>>> >>> use of a proxy, but I'm not under a proxy.
>>> >>> ~/google_appengine/appcfg.py --noisy --email=giurr...@gmail.com update
>>> >>> myapplication
>>> >>>
>>> >>> Application: myapplication; version: 1.
>>> >>> Host: appengine.google.com
>>> >>> 2011-03-22 21:04:30,530 DEBUG appengine_rpc.py:443 Could not load
>>> >>> authentication cookies; LoadError: '/home/ruggero/.appcfg_cookies'
>>> >>> does not
>>> >>> look like a Netscape format cookies file
>>> >>> 2011-03-22 21:04:30,530 INFO appengine_rpc.py:153 Server:
>>> >>> appengine.google.com
>>> >>> 2011-03-22 21:04:30,532 INFO appcfg.py:413 Checking for updates to the
>>> >>> SDK.
>>> >>> 2011-03-22 21:04:30,533 DEBUG appengine_rpc.py:345 Sending HTTPS
>>> >>> request:
>>> >>> POST
>>> >>>
>>> >>> /api/updatecheck?release=1.4.2&timestamp=1294960686&api_versions=%5B%271%27%5D
>>> >>> HTTPS/1.1
>>> >>> Host: appengine.google.com
>>> >>> X-appcfg-api-version: 1
>>> >>> Content-type: application/octet-stream
>>> >>> User-agent: appcfg_py/1.4.2 Linux/2.6.35.11-83.fc14.x86_64
>>> >>> Python/2.7.0.final.0
>>> >>>
>>> >>> 2011-03-22 21:04:30,534 DEBUG __init__.py:81 Creating preset proxy
>>> >>> https
>>> >>> conn: appengine.google.com
>>> >>> 2011-03-22 21:04:35,633 INFO appcfg.py:422 Update check failed:
>>> >>> <urlopen
>>> >>> error [Errno -5] No address associated with hostname>
>>> >>> 2011-03-22 21:04:35,634 INFO appcfg.py:1761 Reading app configuration.
>>> >>> Beginning update of app: myapplication, version: 1
>>> >>> Scanning files on local disk.
>>> >>> 2011-03-22 21:04:35,637 INFO appcfg.py:1779 Processing file 'app.yaml'
>>> >>> 2011-03-22 21:04:35,638 INFO appcfg.py:1868 Ignoring file
>>> >>> 'index.html~':
>>> >>> File matches ignore regex.
>>> >>> 2011-03-22 21:04:35,638 INFO appcfg.py:1868 Ignoring file
>>> >>> 'my_model.pyc':
>>> >>> File matches ignore regex.
>>> >>> 2011-03-22 21:04:35,639 INFO appcfg.py:1779 Processing file 'hello.py'
>>> >>> 2011-03-22 21:04:35,639 INFO appcfg.py:1868 Ignoring file
>>> >>> 'contacts.html~':
>>> >>> File matches ignore regex.
>>> >>> 2011-03-22 21:04:35,640 INFO appcfg.py:1779 Processing file
>>> >>> 'index.html'
>>> >>> 2011-03-22 21:04:35,640 INFO appcfg.py:1868 Ignoring file
>>> >>> 'my_model.py~':
>>> >>> File matches ignore regex.
>>> >>> 2011-03-22 21:04:35,640 INFO appcfg.py:1868 Ignoring file 'hello.py~':
>>> >>> File
>>> >>> matches ignore regex.
>>> >>> 2011-03-22 21:04:35,641 INFO appcfg.py:1868 Ignoring file 'app.yaml~':
>>> >>> File
>>> >>> matches ignore regex.
>>> >>> 2011-03-22 21:04:35,641 INFO appcfg.py:1779 Processing file
>>> >>> 'index.yaml'
>>> >>> 2011-03-22 21:04:35,642 INFO appcfg.py:1779 Processing file
>>> >>> 'contacts.html'
>>> >>> 2011-03-22 21:04:35,642 INFO appcfg.py:1779 Processing file
>>> >>> 'my_model.py'
>>> >>> 2011-03-22 21:04:35,643 INFO appcfg.py:1779 Processing file
>>> >>> 'stylesheets/main.css'
>>> >>> Initiating update of app: myapplication, version: 1
>>> >>> 2011-03-22 21:04:35,662 INFO appcfg.py:1502 Send:
>>> >>> /api/appversion/create,
>>> >>> params={'version': '1', 'app_id': 'myapplication'}
>>> >>> 2011-03-22 21:04:35,667 DEBUG appengine_rpc.py:345 Sending HTTPS
>>> >>> request:
>>> >>> POST /api/appversion/create?version=1&app_id=myapplication HTTPS/1.1
>>> >>> Host: appengine.google.com
>>> >>> X-appcfg-api-version: 1
>>> >>> Content-type: application/octet-stream
>>> >>> User-agent: appcfg_py/1.4.2 Linux/2.6.35.11-83.fc14.x86_64
>>> >>> Python/2.7.0.final.0
>>> >>> admin_console:
>>> >>>   pages:
>>> >>>   - name: Datastore Admin
>>> >>>     url: /_ah/datastore_admin/
>>> >>> api_version: '1'
>>> >>> application: myapplication
>>> >>> builtins:
>>> >>> - datastore_admin: 'on'
>>> >>> - default: 'on'
>>> >>> derived_file_type:
>>> >>> - python_precompiled
>>> >>> handlers:
>>> >>> - login: admin
>>> >>>   script: $PYTHON_LIB/google/appengine/ext/datastore_admin/main.py
>>> >>>   secure: optional
>>> >>>   url: /_ah/datastore_admin.*
>>> >>> - login: admin
>>> >>>   script: $PYTHON_LIB/google/appengine/ext/mapreduce/main.py
>>> >>>   secure: optional
>>> >>>   url: /_ah/mapreduce.*
>>> >>> - secure: optional
>>> >>>   static_dir: stylesheets
>>> >>>   url: /stylesheets
>>> >>> - script: hello.py
>>> >>>   secure: optional
>>> >>>   url: /.*
>>> >>> runtime: python
>>> >>> version: '1'
>>> >>>
>>> >>> 2011-03-22 21:04:35,668 DEBUG __init__.py:81 Creating preset proxy
>>> >>> https
>>> >>> conn: appengine.google.com
>>> >>> 2011-03-22 21:04:40,780 ERROR appcfg.py:1840 An unexpected error
>>> >>> occurred.
>>> >>> Aborting.
>>> >>> Traceback (most recent call last):
>>> >>>   File
>>> >>> "/home/ruggero/google_appengine/google/appengine/tools/appcfg.py",
>>> >>> line 1795, in DoUpload
>>> >>>     missing_files = self.Begin()
>>> >>>   File
>>> >>> "/home/ruggero/google_appengine/google/appengine/tools/appcfg.py",
>>> >>> line 1546, in Begin
>>> >>>     self.Send('/api/appversion/create', payload=self.config.ToYAML())
>>> >>>   File
>>> >>> "/home/ruggero/google_appengine/google/appengine/tools/appcfg.py",
>>> >>> line 1503, in Send
>>> >>>     return self.rpcserver.Send(url, payload=payload, **self.params)
>>> >>>   File
>>> >>>
>>> >>> "/home/ruggero/google_appengine/google/appengine/tools/appengine_rpc.py",
>>> >>> line 346, in Send
>>> >>>     f = self.opener.open(req)
>>> >>>   File "/usr/lib64/python2.7/urllib2.py", line 391, in open
>>> >>>     response = self._open(req, data)
>>> >>>   File "/usr/lib64/python2.7/urllib2.py", line 409, in _open
>>> >>>     '_open', req)
>>> >>>   File "/usr/lib64/python2.7/urllib2.py", line 369, in _call_chain
>>> >>>     result = func(*args)
>>> >>>   File "/usr/lib64/python2.7/urllib2.py", line 1181, in https_open
>>> >>>     return self.do_open(httplib.HTTPSConnection, req)
>>> >>>   File
>>> >>>
>>> >>> "/home/ruggero/google_appengine/lib/fancy_urllib/fancy_urllib/__init__.py",
>>> >>> line 367, in do_open
>>> >>>     raise url_error
>>> >>> URLError: <urlopen error [Errno -5] No address associated with
>>> >>> hostname>
>>> >>> Traceback (most recent call last):
>>> >>>   File "/home/ruggero/google_appengine/appcfg.py", line 71, in
>>> >>> <module>
>>> >>>     run_file(__file__, globals())
>>> >>>   File "/home/ruggero/google_appengine/appcfg.py", line 67, in
>>> >>> run_file
>>> >>>     execfile(script_path, globals_)
>>> >>>   File
>>> >>> "/home/ruggero/google_appengine/google/appengine/tools/appcfg.py",
>>> >>> line 3134, in <module>
>>> >>>     main(sys.argv)
>>> >>>   File
>>> >>> "/home/ruggero/google_appengine/google/appengine/tools/appcfg.py",
>>> >>> line 3125, in main
>>> >>>     result = AppCfgApp(argv).Run()
>>> >>>   File
>>> >>> "/home/ruggero/google_appengine/google/appengine/tools/appcfg.py",
>>> >>> line 2039, in Run
>>> >>>     self.action(self)
>>> >>>   File
>>> >>> "/home/ruggero/google_appengine/google/appengine/tools/appcfg.py",
>>> >>> line 2978, in __call__
>>> >>>     return method()
>>> >>>   File
>>> >>> "/home/ruggero/google_appengine/google/appengine/tools/appcfg.py",
>>> >>> line 2398, in Update
>>> >>>     self.UpdateVersion(rpcserver, basepath, appyaml)
>>> >>>   File
>>> >>> "/home/ruggero/google_appengine/google/appengine/tools/appcfg.py",
>>> >>> line 2387, in UpdateVersion
>>> >>>     lambda path: open(os.path.join(basepath, path), 'rb'))
>>> >>>   File
>>> >>> "/home/ruggero/google_appengine/google/appengine/tools/appcfg.py",
>>> >>> line 1795, in DoUpload
>>> >>>     missing_files = self.Begin()
>>> >>>   File
>>> >>> "/home/ruggero/google_appengine/google/appengine/tools/appcfg.py",
>>> >>> line 1546, in Begin
>>> >>>     self.Send('/api/appversion/create', payload=self.config.ToYAML())
>>> >>>   File
>>> >>> "/home/ruggero/google_appengine/google/appengine/tools/appcfg.py",
>>> >>> line 1503, in Send
>>> >>>     return self.rpcserver.Send(url, payload=payload, **self.params)
>>> >>>   File
>>> >>>
>>> >>> "/home/ruggero/google_appengine/google/appengine/tools/appengine_rpc.py",
>>> >>> line 346, in Send
>>> >>>     f = self.opener.open(req)
>>> >>>   File "/usr/lib64/python2.7/urllib2.py", line 391, in open
>>> >>>     response = self._open(req, data)
>>> >>>   File "/usr/lib64/python2.7/urllib2.py", line 409, in _open
>>> >>>     '_open', req)
>>> >>>   File "/usr/lib64/python2.7/urllib2.py", line 369, in _call_chain
>>> >>>     result = func(*args)
>>> >>>   File "/usr/lib64/python2.7/urllib2.py", line 1181, in https_open
>>> >>>     return self.do_open(httplib.HTTPSConnection, req)
>>> >>>   File
>>> >>>
>>> >>> "/home/ruggero/google_appengine/lib/fancy_urllib/fancy_urllib/__init__.py",
>>> >>> line 367, in do_open
>>> >>>     raise url_error
>>> >>> urllib2.URLError: <urlopen error [Errno -5] No address associated with
>>> >>> hostname>
>>> >>>
>>> >>> --
>>> >>> You received this message because you are subscribed to the Google
>>> >>> Groups
>>> >>> "Google App Engine" group.
>>> >>> 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.
>>> >>>
>>> >>
>>> >> --
>>> >> You received this message because you are subscribed to the Google
>>> >> Groups "Google App Engine" group.
>>> >> 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.
>>> >>
>>> >>
>>> >
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google App Engine" group.
>>> 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.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> 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.
>>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> 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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
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.

Reply via email to