<div dir="ltr"><div><div>Nothing in the error mapproxy log (debug). The error is coming upstream MapServer WMS<br><br></div>The WMS request coming from MapProxy is defaulting to the bbox of the source with a width / height of 1 px at higher zoom (). <br><br></div><div> /cgi-bin/mapserver_wms?styles=&format=image%2Fpng&height=1&bbox=-11496569.213,5478916.2662,-11494537.6069,5484007.27162&transparent=True&layers=BHP&service=WMS&width=1&request=GetMap&srs=EPSG%3A3857&version=1.1.1</div><div><br></div>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<br><div><div>for a 1x1 px image<br><br></div><div>If I remove the coverage from my MapProxy source everything works fine.<br><br></div><div>BTW thanks for the min_res info<br><br><br></div><div><br></div><div><br><br>The request is causing MapServer to crash <br><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 18 November 2015 at 02:13, Oliver Tonnhofer <span dir="ltr"><<a href="mailto:olt@omniscale.de" target="_blank">olt@omniscale.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Travis,<br>
<br>
can you post the relevant parts of the console output/logs?<br>
You can also check out the min_res options. This prevents MapProxy from making requests in in the first zoom levels.<br>
<br>
Regards,<br>
Oliver<br>
<br>
--<br>
Oliver Tonnhofer | Omniscale GmbH & Co KG | <a href="http://omniscale.com" rel="noreferrer" target="_blank">http://omniscale.com</a><br>
OpenStreetMap WMS and tile services | <a href="http://maps.omniscale.com" rel="noreferrer" target="_blank">http://maps.omniscale.com</a><br>
<div><div><br>
<br>
<br>
<br>
> On 16.11.2015, at 20:37, Travis Kirstine <<a href="mailto:traviskirstine@gmail.com" target="_blank">traviskirstine@gmail.com</a>> wrote:<br>
><br>
> 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<br>
><br>
> /cgi-bin/mapserver_wms?styles=&format=image%2Fpng&height=1&bbox=-11496569.213,5478916.2662,-11494537.6069,5484007.27162&transparent=True&layers=BHP&service=WMS&width=1&request=GetMap&srs=EPSG%3A3857&version=1.1.1<br>
><br>
> 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 fail<br>
><br>
> MP Stuff:<br>
><br>
> BHP_cache:<br>
> grids: [spherical_mercator]<br>
> sources: [BHP_wms]<br>
> meta_buffer: 100<br>
> meta_size: [4,4]<br>
> format: image/png<br>
><br>
> BHP_wms:<br>
> type: wms<br>
> req:<br>
> url: <a href="http://localhost/cgi-bin/mapserver_wms" rel="noreferrer" target="_blank">http://localhost/cgi-bin/mapserver_wms</a>?<br>
> layers: BHP<br>
> transparent: true<br>
> coverage:<br>
> bbox: [-11496569.2130269,5478916.26620355,-11494537.6069391,5484007.27161516]<br>
> srs: 'EPSG:3857'<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> MapProxy mailing list<br>
> <a href="mailto:MapProxy@lists.osgeo.org" target="_blank">MapProxy@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapproxy" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapproxy</a><br>
<br>
</blockquote></div><br></div></div></div></div></div></div></div></div>