[Tilecache] TileCache configuration Problem?

R. Ortner reinhard.ortner at edu.fh-kaernten.ac.at
Tue Nov 27 02:32:27 EST 2007


I set the env. variable in my profile file:
HTTP_PROXY=172.21.100.62; export HTTP_PROXY

but that didn´t worked out. I still get the following error:

An error occurred: <urlopen error (110, 'Connection timed out')>
  File "/var/www/htdocs/tc/TileCache/Service.py", line 525, in cgiHandler
    format, image = service.dispatchRequest( params, path_info, req_method,
host )
  File "/var/www/htdocs/tc/TileCache/Service.py", line 443, in
dispatchRequest
    return self.renderTile(tile, params.has_key('FORCE'))
  File "/var/www/htdocs/tc/TileCache/Service.py", line 401, in renderTile
    data = layer.render(tile)
  File "/var/www/htdocs/tc/TileCache/Layer.py", line 253, in render
    return self.renderTile(tile)
  File "/var/www/htdocs/tc/TileCache/Layer.py", line 297, in renderTile
    tile.data, response = wms.fetch()
  File "/var/www/htdocs/tc/TileCache/Client.py", line 45, in fetch
    response = self.client.open(urlrequest)
  File "/usr/lib/python2.4/urllib2.py", line 358, in open
    response = self._open(req, data)
  File "/usr/lib/python2.4/urllib2.py", line 376, in _open
    '_open', req)
  File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.4/urllib2.py", line 1021, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.4/urllib2.py", line 996, in do_open
    raise URLError(err)




guess i still doin wrong :(


regards
R. Ortner

----

Bart van den Eijnden (OSGIS)-2 wrote:
> 
> You might need to set a proxy for that.
> 
> Try to set the http_proxy environment variable, or for Apache CGI you
> might
> need to add:
> 
> SetEnv "http_proxy" "your proxy url"
> 
> to your Apache config and restart Apache.
> 
> Best regards,
> Bart
> 
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
> 
> 
> --------- Oorspronkelijk bericht --------
> Van: R. Ortner <reinhard.ortner at edu.fh-kaernten.ac.at>
> Naar: tilecache at openlayers.org <tilecache at openlayers.org>
> Onderwerp: Re: [Tilecache] TileCache configuration Problem?
> Datum: 26/11/07 12:40
> 
>> 
>> thx but what is the sollution for that? try to config it as
> &quot;non-standard
>> python location&quot; or something else? and how?
>> 
>> sorry if the question is too easy but i´m not very familiar with these
>> cgi
>> and phyton things!
>> 
>> 
>> 
>> Christopher Schmidt-4 wrote:
>> &gt; 
>> &gt; On Mon, Nov 26, 2007 at 04:49:27AM -0800, R. Ortner wrote:
>> &gt;&gt; 
>> &gt;&gt; I havn??t changed it yet, i tried to get the vmap0 tile image to
> check if
>> &gt;&gt; the
>> &gt;&gt; configuration works.
>> &gt;&gt; So in my tilecache.cfg the layer is:
>> &gt; 
>> &gt; Then Python-as-CGI can not use urllib to open a connection to
>> &gt; labs.metacarta.com.
>> &gt; 
>> &gt; Regards,
>> &gt; -- 
>> &gt; Christopher Schmidt
>> &gt; MetaCarta
>> &gt; _______________________________________________
>> &gt; Tilecache mailing list
>> &gt; Tilecache at openlayers.org
>> &gt; http://openlayers.org/mailman/listinfo/tilecache
>> &gt; 
>> &gt; 
>> 
>> -- 
>> View this message in context:
> http://www.nabble.com/TileCache-configuration-Problem--tf4873861.html#a13950868
>> Sent from the TileCache mailing list archive at Nabble.com.
>> 
>> _______________________________________________
>> Tilecache mailing list
>> Tilecache at openlayers.org
>> http://openlayers.org/mailman/listinfo/tilecache
>> 
> 
> 
> 
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
> 
> 

-- 
View this message in context: http://www.nabble.com/TileCache-configuration-Problem--tf4873861.html#a13966006
Sent from the TileCache mailing list archive at Nabble.com.




More information about the Tilecache mailing list