[Tilecache] 502 Proxy Error on localhost
Gilles Bassière
gilles.bassiere at makina-corpus.com
Thu Sep 25 11:18:31 EDT 2008
Hi list,
I face a weird problem with TileCache on windows. The "basic" WMS layer
works fine but I get a "502 Proxy Error" with WMS layers served from
localhost. More details :
- The system is Windows XP version 2002 SP3 and Python is 2.5.2.
- WMS stream come from Geoserver 1.6.4 installed in Tomcat. Tomcat is
connected to Apache through mod_jk.
- TileCache run in CGI mode.
I said it's weird for two reasons. First there's no proxy on localhost,
so why Apache complains about a proxy? Second, the WMS request failed on
TileCache but worked great when sent straight to GeoServer, so is there
something unusual in TileCache HTTP request?
Below is the stacktrace returned by TileCache when requesting tiles from
local GeoServer :
An error occurred: HTTP Error 502: Proxy Error ( The specified network
name is no longer available. )
File
"C:\WEBMAPPING\apache\cgi-bin\TileCache-2.01\TileCache\Service.py", line
264, in cgiHandler
format, image = service.dispatchRequest( params, path_info,
req_method, host )
File
"C:\WEBMAPPING\apache\cgi-bin\TileCache-2.01\TileCache\Service.py", line
182, in dispatchRequest
return self.renderTile(tile, params.has_key('FORCE'))
File
"C:\WEBMAPPING\apache\cgi-bin\TileCache-2.01\TileCache\Service.py", line
119, in renderTile
data = layer.render(tile)
File "C:\WEBMAPPING\apache\cgi-bin\TileCache-2.01\TileCache\Layer.py",
line 250, in render
image = self.renderMetaTile(metatile, tile)
File "C:\WEBMAPPING\apache\cgi-bin\TileCache-2.01\TileCache\Layer.py",
line 212, in renderMetaTile
data = self.renderTile(metatile)
File
"C:\WEBMAPPING\apache\cgi-bin\TileCache-2.01\TileCache\Layers\WMS.py",
line 20, in renderTile
tile.data, response = wms.fetch()
File
"C:\WEBMAPPING\apache\cgi-bin\TileCache-2.01\TileCache\Client.py", line
46, in fetch
response = self.client.open(urlrequest)
File "C:\WEBMAPPING\python25\lib\urllib2.py", line 387, in open
response = meth(req, response)
File "C:\WEBMAPPING\python25\lib\urllib2.py", line 498, in http_response
'http', request, response, code, msg, hdrs)
File "C:\WEBMAPPING\python25\lib\urllib2.py", line 425, in error
return self._call_chain(*args)
File "C:\WEBMAPPING\python25\lib\urllib2.py", line 360, in _call_chain
result = func(*args)
File "C:\WEBMAPPING\python25\lib\urllib2.py", line 506, in
http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
Does someone has experience to share regarding this issue?
Gilles
--
Gilles Bassiere
MAKINA CORPUS
30 rue des Jeuneurs
FR-75002 PARIS
+33 (0) 1 44 82 00 80
http://www.makina-corpus.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gilles_bassiere.vcf
Type: text/x-vcard
Size: 368 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/tilecache/attachments/20080925/6ebaa475/gilles_bassiere.vcf
More information about the Tilecache
mailing list