[Tilecache] TileCache configuration Problem?

R. Ortner reinhard.ortner at edu.fh-kaernten.ac.at
Tue Nov 27 07:47:30 EST 2007


It didn´t work! tried both with the http:// and the correct proxy port.

i thougth i followed the tilecache instructions precisely but obviously
there must something i missed!?

every suggestion is welcome!

thx
----


Hani Hawari wrote:
> 
> 
> Hi, 
> 
> Try using a full URL for the proxy: "http://172.21.100.62"  or
> "http://172.21.100.62:8080"  if the proxy is set at port 8080. 
> 
> I hope this works. 
> 
> Hani 
> 
> 
> R. Ortner wrote:
> 
>   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
>       
>     
>     "non-standard
>     
>     
>       python location" 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:
> > 
> > On Mon, Nov 26, 2007 at 04:49:27AM -0800, R. Ortner wrote:
> >> 
> >> I havn??t changed it yet, i tried to get the vmap0 tile
> image to
>       
>     
>     check if
>     
>     
>       >> the
> >> configuration works.
> >> So in my tilecache.cfg the layer is:
> > 
> > Then Python-as-CGI can not use urllib to open a connection to
> > labs.metacarta.com.
> > 
> > Regards,
> > -- 
> > Christopher Schmidt
> > MetaCarta
> > _______________________________________________
> > 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#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 
> 
> 
>     
>   
>   
>   
> 
> 
> 
> 
> 
> _______________________________________________
> 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#a13970188
Sent from the TileCache mailing list archive at Nabble.com.




More information about the Tilecache mailing list