<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
Try using a full URL for the proxy: <a class="moz-txt-link-rfc2396E" href="http://172.21.100.62">"http://172.21.100.62"</a> or
<a class="moz-txt-link-rfc2396E" href="http://172.21.100.62:8080">"http://172.21.100.62:8080"</a> if the proxy is set at port 8080.<br>
<br>
I hope this works.<br>
<br>
Hani<br>
<br>
<br>
R. Ortner wrote:
<blockquote cite="mid:13966006.post@talk.nabble.com" type="cite">
<pre wrap="">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:
</pre>
<blockquote type="cite">
<pre wrap="">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
<a class="moz-txt-link-freetext" href="http://www.osgis.nl">http://www.osgis.nl</a>
--------- Oorspronkelijk bericht --------
Van: R. Ortner <a class="moz-txt-link-rfc2396E" href="mailto:reinhard.ortner@edu.fh-kaernten.ac.at"><reinhard.ortner@edu.fh-kaernten.ac.at></a>
Naar: <a class="moz-txt-link-abbreviated" href="mailto:tilecache@openlayers.org">tilecache@openlayers.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:tilecache@openlayers.org"><tilecache@openlayers.org></a>
Onderwerp: Re: [Tilecache] TileCache configuration Problem?
Datum: 26/11/07 12:40
</pre>
<blockquote type="cite">
<pre wrap="">thx but what is the sollution for that? try to config it as
</pre>
</blockquote>
<pre wrap="">&quot;non-standard
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap="">check if
</pre>
<blockquote type="cite">
<pre wrap="">&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; <a class="moz-txt-link-abbreviated" href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a>
&gt; <a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/tilecache">http://openlayers.org/mailman/listinfo/tilecache</a>
&gt;
&gt;
--
View this message in context:
</pre>
</blockquote>
<pre wrap=""><a class="moz-txt-link-freetext" href="http://www.nabble.com/TileCache-configuration-Problem--tf4873861.html#a13950868">http://www.nabble.com/TileCache-configuration-Problem--tf4873861.html#a13950868</a>
</pre>
<blockquote type="cite">
<pre wrap="">Sent from the TileCache mailing list archive at Nabble.com.
_______________________________________________
Tilecache mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a>
<a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/tilecache">http://openlayers.org/mailman/listinfo/tilecache</a>
</pre>
</blockquote>
<pre wrap="">
_______________________________________________
Tilecache mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a>
<a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/tilecache">http://openlayers.org/mailman/listinfo/tilecache</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
</body>
</html>