You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No data (vector tile) from WMS to GeoWebCache and error response: 400: All backends (1) failed. Last request: 'http://localhost:8881/geoserver/wms?'. #1307
I would consider the following behavior to be handled better (or in more flexible way):
If WMS service returns no data (no vector features are in tile's bounds to make a vector tile), it's HTTP response 200 with responseLength = -1 from WMS to GeoWebCache.
In this case a GeoWebCacheException is thrown and GWC returns HTML with an underlying message.
I would like to see the following options to be supported for this scenarios:
Return HTTP 200 but with no data (no HTML or whatever needed, a message is in log file of GeoServer)
Return HTTP 400 but with no data (no HTML or whatever needed, a message is in log file of GeoServer)
Return HTTP XXX but definitely I do not like to expose "http://localhost.8881...." outside... It's internal stuff...
May be something else.
In the end I am not sure how from HTTP point of view to "represent" such situation (from server to client).
As it's open source, I myself played with a code just to customize response being returned by GWC.. minor improvement.
Any opinions how to make it flexible, probably with some configuration options (for GWC behavior) ?