[MapProxy] Can mapproxy-seed be made to ignore 500 errors?
José M López-Cepero
cepe at gmbm.net
Tue Sep 23 05:12:05 PDT 2014
I need to use a public, but very slow, WMS server for a digitizing work and
I have been testing MapProxy as a way to accelerate it with some success
(first access is slower as MapProxy requests several tiles, but then it
works very fast when panning in the area). To avoid the initial delay I
have been playing with seeding.
While MapProxy itself works fine, I have found a stumbling block. The
server seems to have some kind of misconfiguration and consistently returns
a 500 error for some extents and zooms, even when they are within its
coverage area. The 500 errors make mapproxy-seed keep retrying and
basically take forever. Tinkering a bit with the code I have been able to
change the number of retries to a small number, but after these retries the
seeding workers die and the seeding aborts.
What I would need (other than the server to behave itself, of course) is a
way to make mapproxy-seed skip those 500 errors, but continue with the next
tiles instead of dying. As far as I have been able to tell, there is no
configuration option I can change for that, and while I guess that it
should be a easy hack I don't know nearly enough Python to know where to
look. I'm using MapProxy 1.7.1, installed as described in the Installation
section of the docs (ie. in an independent virtual environment).
Thanks in advance for any help!
J. M. López-Cepero
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MapProxy