[MapProxy] invalid wms request from mapproxy
traviskirstine at gmail.com
Thu Nov 19 11:54:07 PST 2015
Nothing in the error mapproxy log (debug). The error is coming upstream
The WMS request coming from MapProxy is defaulting to the bbox of the
source with a width / height of 1 px at higher zoom ().
This request is causing MapServer to crash. I think the crash is due to
the SCALETOKEN parameter in my MapServer mapfile, I'm guessing MS is having
a issue determining the scale
for a 1x1 px image
If I remove the coverage from my MapProxy source everything works fine.
BTW thanks for the min_res info
The request is causing MapServer to crash
On 18 November 2015 at 02:13, Oliver Tonnhofer <olt at omniscale.de> wrote:
> Hi Travis,
> can you post the relevant parts of the console output/logs?
> You can also check out the min_res options. This prevents MapProxy from
> making requests in in the first zoom levels.
> Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.com
> OpenStreetMap WMS and tile services | http://maps.omniscale.com
> > On 16.11.2015, at 20:37, Travis Kirstine <traviskirstine at gmail.com>
> > I noticed a bunch of 500 errors being generated in MapProxy because the
> source MapServer WMS is not generating images. It appears some cases
> MapProxy will generate a WMS request with a width=1 and height=3 px. I
> think this is related to the source coverage (bbox) in some way. The
> source has a fairly small bbox which could be the problem? If I remove the
> coverage from the source wms it works
> > The odd thing is MapProxy is working fine when looking at the layer
> between zoom 19-7 however once I zoom out between 0-6 the request start to
> > MP Stuff:
> > BHP_cache:
> > grids: [spherical_mercator]
> > sources: [BHP_wms]
> > meta_buffer: 100
> > meta_size: [4,4]
> > format: image/png
> > BHP_wms:
> > type: wms
> > req:
> > url: http://localhost/cgi-bin/mapserver_wms?
> > layers: BHP
> > transparent: true
> > coverage:
> > bbox:
> > srs: 'EPSG:3857'
> > _______________________________________________
> > MapProxy mailing list
> > MapProxy at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapproxy
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MapProxy