Well, that might be the case, but when I hook a site up to the wms directly, I don't get any errors from the wms. So.. I'd like to see what error tilecache is getting back from my wms server. Should i just put in a logging statement of the response from line 54 in Client.py?<br>
<br><br><div class="gmail_quote">On Mon, Nov 24, 2008 at 10:55 PM, Christopher Schmidt <span dir="ltr"><<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Mon, Nov 24, 2008 at 10:26:31PM -0500, chris marx wrote:<br>
> here;s the full error<br>
><br>
> An error occurred: HTTP Error 500: Internal Server Error<br>
<br>
</div>That's not a timeout. That's your remote WMS server returning an honest<br>
to goodness error. There's nothing TileCache can do about that.<br>
<br>
-- Chris<br>
<div><div></div><div class="Wj3C7c"><br>
> File "c:\python25\lib\site-packages\TileCache-2.04-py2.5.egg\TileCache\Service.py",<br>
> line 224, in modPythonHandler<br>
> host )<br>
> File "c:\python25\lib\site-packages\TileCache-2.04-py2.5.egg\TileCache\Service.py",<br>
> line 208, in dispatchRequest<br>
> return self.renderTile(tile, params.has_key('FORCE'))<br>
> File "c:\python25\lib\site-packages\TileCache-2.04-py2.5.egg\TileCache\Service.py",<br>
> line 138, in renderTile<br>
> data = layer.render(tile)<br>
> File "c:\python25\lib\site-packages\TileCache-2.04-py2.5.egg\TileCache\Layer.py",<br>
> line 437, in render<br>
> return self.renderTile(tile)<br>
> File "c:\python25\lib\site-packages\TileCache-2.04-py2.5.egg\TileCache\Layers\WMS.py",<br>
> line 29, in renderTile<br>
> tile.data, response = wms.fetch()<br>
> File "c:\python25\lib\site-packages\TileCache-2.04-py2.5.egg\TileCache\Client.py",<br>
> line 54, in fetch<br>
> response = self.client.open(urlrequest)<br>
> File "C:\Python25\Lib\urllib2.py", line 387, in open<br>
> response = meth(req, response)<br>
> File "C:\Python25\Lib\urllib2.py", line 498, in http_response<br>
> 'http', request, response, code, msg, hdrs)<br>
> File "C:\Python25\Lib\urllib2.py", line 425, in error<br>
> return self._call_chain(*args)<br>
> File "C:\Python25\Lib\urllib2.py", line 360, in _call_chain<br>
> result = func(*args)<br>
> File "C:\Python25\Lib\urllib2.py", line 506, in http_error_default<br>
> raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)<br>
><br>
><br>
><br>
> On Mon, Nov 24, 2008 at 5:56 PM, chris marx <<a href="mailto:chrismarx@gmail.com">chrismarx@gmail.com</a>> wrote:<br>
><br>
> > anybody?<br>
> ><br>
> ><br>
> > On Sun, Nov 23, 2008 at 3:45 PM, chris marx <<a href="mailto:chrismarx@gmail.com">chrismarx@gmail.com</a>> wrote:<br>
> ><br>
> >> Hi,<br>
> >> When no one has made a WMS request to my WMS service (Manifold GIS) it<br>
> >> takes a little longer to respond on that first request because its creating<br>
> >> an instance of its mapserver object. In any case, tilecache ends up<br>
> >> returning a urllib error because I'm assuming the request timed out --<br>
> >> specifically, because hitting the same url again results in a successful<br>
> >> request and a tile comes back. Is there a way to increase the timeout limit?<br>
> >> --running apache and mod_python-<br>
> >> chris-<br>
> >><br>
> >> --<br>
> >><br>
> >> Chris Marx<br>
> >> Programmer/Analyst<br>
> >> Cornell Lab of Ornithology<br>
> >> 159 Sapsucker Woods Rd.<br>
> >> Ithaca, NY 14850<br>
> >> t. 1.607.254.1142<br>
> >> <a href="http://www.birds.cornell.edu/" target="_blank">http://www.birds.cornell.edu/</a><br>
> >><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> ><br>
> > Chris Marx<br>
> > Programmer/Analyst<br>
> > Cornell Lab of Ornithology<br>
> > 159 Sapsucker Woods Rd.<br>
> > Ithaca, NY 14850<br>
> > t. 1.607.254.1142<br>
> > <a href="http://www.birds.cornell.edu/" target="_blank">http://www.birds.cornell.edu/</a><br>
> ><br>
><br>
><br>
><br>
> --<br>
><br>
> Chris Marx<br>
> Programmer/Analyst<br>
> Cornell Lab of Ornithology<br>
> 159 Sapsucker Woods Rd.<br>
> Ithaca, NY 14850<br>
> t. 1.607.254.1142<br>
> <a href="http://www.birds.cornell.edu/" target="_blank">http://www.birds.cornell.edu/</a><br>
<br>
</div></div>> _______________________________________________<br>
> Tilecache mailing list<br>
> <a href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>
> <a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
<font color="#888888"><br>
<br>
--<br>
Christopher Schmidt<br>
MetaCarta<br>
</font></blockquote></div><br><br clear="all"><br>-- <br><br>Chris Marx<br>Programmer/Analyst<br>Cornell Lab of Ornithology<br>159 Sapsucker Woods Rd.<br>Ithaca, NY 14850<br>t. 1.607.254.1142<br><a href="http://www.birds.cornell.edu/">http://www.birds.cornell.edu/</a><br>