[Tilecache] Increase WMS request timeout?
Christopher Schmidt
crschmidt at metacarta.com
Mon Nov 24 22:55:20 EST 2008
On Mon, Nov 24, 2008 at 10:26:31PM -0500, chris marx wrote:
> here;s the full error
>
> An error occurred: HTTP Error 500: Internal Server Error
That's not a timeout. That's your remote WMS server returning an honest
to goodness error. There's nothing TileCache can do about that.
-- Chris
> File "c:\python25\lib\site-packages\TileCache-2.04-py2.5.egg\TileCache\Service.py",
> line 224, in modPythonHandler
> host )
> File "c:\python25\lib\site-packages\TileCache-2.04-py2.5.egg\TileCache\Service.py",
> line 208, in dispatchRequest
> return self.renderTile(tile, params.has_key('FORCE'))
> File "c:\python25\lib\site-packages\TileCache-2.04-py2.5.egg\TileCache\Service.py",
> line 138, in renderTile
> data = layer.render(tile)
> File "c:\python25\lib\site-packages\TileCache-2.04-py2.5.egg\TileCache\Layer.py",
> line 437, in render
> return self.renderTile(tile)
> File "c:\python25\lib\site-packages\TileCache-2.04-py2.5.egg\TileCache\Layers\WMS.py",
> line 29, in renderTile
> tile.data, response = wms.fetch()
> File "c:\python25\lib\site-packages\TileCache-2.04-py2.5.egg\TileCache\Client.py",
> line 54, in fetch
> response = self.client.open(urlrequest)
> File "C:\Python25\Lib\urllib2.py", line 387, in open
> response = meth(req, response)
> File "C:\Python25\Lib\urllib2.py", line 498, in http_response
> 'http', request, response, code, msg, hdrs)
> File "C:\Python25\Lib\urllib2.py", line 425, in error
> return self._call_chain(*args)
> File "C:\Python25\Lib\urllib2.py", line 360, in _call_chain
> result = func(*args)
> File "C:\Python25\Lib\urllib2.py", line 506, in http_error_default
> raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
>
>
>
> On Mon, Nov 24, 2008 at 5:56 PM, chris marx <chrismarx at gmail.com> wrote:
>
> > anybody?
> >
> >
> > On Sun, Nov 23, 2008 at 3:45 PM, chris marx <chrismarx at gmail.com> wrote:
> >
> >> Hi,
> >> When no one has made a WMS request to my WMS service (Manifold GIS) it
> >> takes a little longer to respond on that first request because its creating
> >> an instance of its mapserver object. In any case, tilecache ends up
> >> returning a urllib error because I'm assuming the request timed out --
> >> specifically, because hitting the same url again results in a successful
> >> request and a tile comes back. Is there a way to increase the timeout limit?
> >> --running apache and mod_python-
> >> chris-
> >>
> >> --
> >>
> >> Chris Marx
> >> Programmer/Analyst
> >> Cornell Lab of Ornithology
> >> 159 Sapsucker Woods Rd.
> >> Ithaca, NY 14850
> >> t. 1.607.254.1142
> >> http://www.birds.cornell.edu/
> >>
> >
> >
> >
> > --
> >
> > Chris Marx
> > Programmer/Analyst
> > Cornell Lab of Ornithology
> > 159 Sapsucker Woods Rd.
> > Ithaca, NY 14850
> > t. 1.607.254.1142
> > http://www.birds.cornell.edu/
> >
>
>
>
> --
>
> Chris Marx
> Programmer/Analyst
> Cornell Lab of Ornithology
> 159 Sapsucker Woods Rd.
> Ithaca, NY 14850
> t. 1.607.254.1142
> http://www.birds.cornell.edu/
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
--
Christopher Schmidt
MetaCarta
More information about the Tilecache
mailing list