Skip to content

Improve URLError reporting #5

Description

@manelclos

From the mailing list:

Hi David,

Your url is not valid or Tilecache cannot contact the server. Check your url is valid. If you are using a proxy think about defining http_proxy and no_proxy variables.

Manel Clos

-----Mensaje original-----
De: tilecache-bounces at lists.osgeo.org [mailto:tilecache-bounces at lists.osgeo.org] En nombre de David Alda Fernandez de Lezea
Enviado el: jueves, 21 de noviembre de 2013 8:34
Para: tilecache at lists.osgeo.org
Asunto: [Tilecache] Error while creating tiles on the fly.

Hi list,

I've noticed that I'm getting the following tilecache error while navigating through the map and creating the tiles on the fly:

An error occurred: <urlopen error (11001, 'getaddrinfo failed')>
File "c:\python25\lib\site-packages\TileCache-2.11-py2.5.egg\TileCache\Service.py", line 256, in modPythonHandler
host )
File "c:\python25\lib\site-packages\TileCache-2.11-py2.5.egg\TileCache\Service.py", line 208, in dispatchRequest
return self.renderTile(tile, params.has_key('FORCE'))
File "c:\python25\lib\site-packages\TileCache-2.11-py2.5.egg\TileCache\Service.py", line 138, in renderTile
data = layer.render(tile, force=force)
File "c:\python25\lib\site-packages\TileCache-2.11-py2.5.egg\TileCache\Layer.py", line 444, in render
return self.renderTile(tile)
File "c:\python25\lib\site-packages\TileCache-2.11-py2.5.egg\TileCache\Layers\WMS.py", line 29, in renderTile
tile.data, response = wms.fetch()
File "c:\python25\lib\site-packages\TileCache-2.11-py2.5.egg\TileCache\Client.py", line 59, in fetch
response = self.client.open(urlrequest)
File "C:\Python25\lib\urllib2.py", line 374, in open
response = self._open(req, data)
File "C:\Python25\lib\urllib2.py", line 392, in _open
'_open', req)
File "C:\Python25\lib\urllib2.py", line 353, in _call_chain
result = func(*args)
File "C:\Python25\lib\urllib2.py", line 1101, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python25\lib\urllib2.py", line 1076, in do_open
raise URLError(err)

Any idea what could be happening?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions