Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve URLError reporting #5

Open
manelclos opened this issue Oct 21, 2014 · 0 comments
Open

Improve URLError reporting #5

manelclos opened this issue Oct 21, 2014 · 0 comments
Labels

Comments

@manelclos
Copy link
Contributor

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?

@winkey winkey added the invalid label Nov 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants