<div dir="ltr"><div><br></div><div>I have my config as follow in which my source TMS have a 404 error defined (transparent / no cache).  The TMS sources each have a corresponding cache defined with no caching.  A composite cache containing both TMS sources is also defined.  If I make a WMS request to the composite layer and one of the source TMS layers returns a 500 service unavailable MapProxy will still generate a image.  Is there a way to return a error 404 or other from MapProxy instead of the image. </div><div><br></div><div><br></div><div>sources:</div><div>   layer2_tms:</div><div>      type: tile</div><div>      url: '<a href="http://localhost:88/mapcache/tms/1.0.0/t2@gmaps/%(tms_path)s.xxx">http://localhost:88/mapcache/tms/1.0.0/t2@gmaps/%(tms_path)s.xxx</a>'</div><div>      grid: spherical_mercator</div><div>      transparent: true</div><div>      on_error:</div><div>         404:</div><div>            response: transparent</div><div>            cache: false</div><div>   layer1_tms:<br></div><div>      type: tile</div><div>      url: '<a href="http://localhost:88/mapcache/tms/1.0.0/t1@gmaps/%(tms_path)s.xxx">http://localhost:88/mapcache/tms/1.0.0/t1@gmaps/%(tms_path)s.xxx</a>'</div><div>      grid: spherical_mercator</div><div>      transparent: true</div><div>      on_error:</div><div>         404:</div><div>            response: transparent</div><div>            cache: false</div><div><br></div><div><div>caches:</div><div>   layer2_cache:</div><div>      grids: [spherical_mercator]</div><div>      sources: [layer2_tms]</div><div>      meta_buffer: 0</div><div>      meta_size: [1,1]</div><div>      disable_storage: true</div><div>   layer1_cache:</div><div>      grids: [spherical_mercator]</div><div>      sources: [layer1_tms]</div><div>      meta_buffer: 0</div><div>      meta_size: [1,1]</div><div>      disable_storage: true</div></div><div><div>   composite_cache:</div><div>      grids: [spherical_mercator]</div><div>      sources: [layer2_tms, layer2_tms]</div><div>      meta_buffer: 0</div><div>      meta_size: [1,1]</div><div>      format: mixed</div><div>      request_format: image/png</div><div>      cache:</div><div>         type: riak</div><div>         nodes:</div><div>           - host: <a href="http://riak.foobar.com">riak.foobar.com</a></div><div>         bucket: composite</div></div><div><br></div><div>layers:</div><div><div>   - name: composite</div><div>     title: 'composite'</div><div>     sources: [composite_cache]</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>layers:</div></div>