There is likely a bug in the vector tiles plugin too. It's not getting much use, as far as I can see. Personally, I've used it in anger a couple of years ago: for small and medium test datasets, it was working well, but I've never tried to run a seed job, only dynamic cache population (driven by requests). I haven't touched it since. You probably best spend some time isolating a tile that's failing, and look for a bug in the plugin.
Cheers Andrea On Tue, Jul 27, 2021 at 12:03 PM Bingen Galartza Iparragirre < bingen.galar...@magnet.coop> wrote: > Hi all, > > After further investigation we think that the problem might not be in the > S3 blobstore plugin. We found that there is an open issue [1] for the > extension that says that the caching throws an exception when a tile is > empty/blank. We were getting the very same exception, buf after patching > the code (just a workaround, so that's why we didn't PR), we still get some > exceptions in the Geoserver side. That's why we think that the problem is > when generating the tiles before uploading them to S3. So, the GWC S3 > extension might be getting empty tiles when it shouldn't. > > > *When using the cache layer preview we get the following exceptions (full > stacktrace attached):* > > java.lang.NullPointerException > at > org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:75) > at > org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:41) > > > And all the requests fail with a 503 http status code. The normal > Geoserver preview works without any problem. > > > *And if we use the seeding tool:* > > Error dispatching tile request to GeoServer > org.geowebcache.GeoWebCacheException: Problem communicating with GeoServer > at > org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:657) > at > org.geoserver.gwc.layer.GeoServerTileLayer.getTile(GeoServerTileLayer.java:592) > > Caused by: java.lang.IllegalStateException: Expected: RenderedImageMap, > got null > at > org.geoserver.gwc.layer.GeoServerTileLayer.dispatchGetMap(GeoServerTileLayer.java:709) > at > org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:651) > > [1] "S3 storage: GeoWebCacheException/NullPointerException for blank > tiles" https://github.com/GeoWebCache/geowebcache/issues/976 > > > Any idea what we might be missing? > > > Thank you > > > Bingen > > > 21/7/23 09:02(e)an, Lucas Sousa igorleak idatzi zuen: > > Hi Olivier, > > > Thanks for the advice but no luck. I had the same problem again but I > tried using a different blobstore, a local filesystem in this case, and it > worked without problems. > > So I think the problem is related with the S3 blobstore plugin. > > > Thank you again, > > Lucas. > On 22/7/21 21:23, Olivier Gagnon wrote: > > Hi, > > we cache vector tiles without any problems now but I remember that we had > to change a few cache settings for pbf. > > Metatile size 1 X 1 > > gutter size 10 > > Also try removing all gridsets and re-add them. > > See if it helps > > Good luck ! > > Envoyé à partir d’Outlook <http://aka.ms/weboutlook> > > ------------------------------ > *De :* Lucas Sousa <lucas.so...@magnet.coop> <lucas.so...@magnet.coop> > *Envoyé :* 22 juillet 2021 11:32 > *À :* geoserver-users@lists.sourceforge.net > <geoserver-users@lists.sourceforge.net> > <geoserver-users@lists.sourceforge.net> > *Objet :* [Geoserver-users] Error when caching mapbox-vector-tile format > tiles > > > Hi everyone, > > We are having a problem when caching tiles using the PBF format in > Geoserver (v2.19.0) using the GWC (v1.19.0) integration, Java OpenJDK 11 > and Debian 10. The thing is if we cache using a different tile format such > as PNG or GeoJSON everything works as expected. However, if try to cache > tiles using PBF (mapbox-vector-tile) format the process throws an exception > in Geoserver and caches just a few a tiles (we are using S3 blob store > plugin to cache tiles). After the first try it doesn't cache anymore. We > checked the Geoserver logs using the VERBOSE logging profile and we get the > following exceptions: > > Error dispatching tile request to GeoServer > org.geowebcache.GeoWebCacheException: Problem communicating with GeoServer > Caused by: java.lang.IllegalStateException: Expected: RenderedImageMap, > got null > java.lang.NullPointerException > > I attached the full log file for the details. > > A couple of details about the layers: > > - They are stored in PostGIS (JNDI). > > - The shape files are about 35.9 MiB. > > Does anyone know what could be happening? > > Thanks in advance. > -- > *LUCAS SOUSA DE FREITAS* > (+34) 688 714 662 > > > > > > magnet.coop > Santa Marina 3, Oñati (20560) > i...@magnet.coop > *www.magnet.coop <http://www.magnet.coop>* > > *This e-mail and the documents attached are confidential and intended > solely for the addressee; it may also be privileged. If you receive this > communication in error, please notify the sender immediately and delete it. > If you are not the intended recipient, you are expressly prohibited from > reading, copying, distributing, disseminating or, in any other way, using > any of the information without the Magnet consent. Please note that > Internet e-mail guarantees neither the confidentiality nor the proper > receipt of the message sent, so that Magnet shall not be liable for any > damages caused. As its integrity cannot be secured on the Internet, the > Magnet liability cannot be triggered for the message content. Although the > sender endeavors to maintain a computer virus-free network, the sender does > not warrant that this transmission is virus-free and will not be liable for > any damages resulting from any virus transmitted.* > > > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to this > list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > Geoserver-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/geoserver-users > > -- > *LUCAS SOUSA DE FREITAS* > (+34) 688 714 662 > > > > > > magnet.coop > Santa Marina 3, Oñati (20560) > i...@magnet.coop > *www.magnet.coop <http://www.magnet.coop>* > > *This e-mail and the documents attached are confidential and intended > solely for the addressee; it may also be privileged. If you receive this > communication in error, please notify the sender immediately and delete it. > If you are not the intended recipient, you are expressly prohibited from > reading, copying, distributing, disseminating or, in any other way, using > any of the information without the Magnet consent. Please note that > Internet e-mail guarantees neither the confidentiality nor the proper > receipt of the message sent, so that Magnet shall not be liable for any > damages caused. As its integrity cannot be secured on the Internet, the > Magnet liability cannot be triggered for the message content. Although the > sender endeavors to maintain a computer virus-free network, the sender does > not warrant that this transmission is virus-free and will not be liable for > any damages resulting from any virus transmitted.* > > > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to this > list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > Geoserver-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/geoserver-users > > -- > *BINGEN GALARTZA IPARRAGIRRE* > > > > > magnet.coop > Santa Marina 3, Oñati (20560) > i...@magnet.coop > *www.magnet.coop <http://www.magnet.coop>* > > *This e-mail and the documents attached are confidential and intended > solely for the addressee; it may also be privileged. If you receive this > communication in error, please notify the sender immediately and delete it. > If you are not the intended recipient, you are expressly prohibited from > reading, copying, distributing, disseminating or, in any other way, using > any of the information without the Magnet consent. Please note that > Internet e-mail guarantees neither the confidentiality nor the proper > receipt of the message sent, so that Magnet shall not be liable for any > damages caused. As its integrity cannot be secured on the Internet, the > Magnet liability cannot be triggered for the message content. Although the > sender endeavors to maintain a computer virus-free network, the sender does > not warrant that this transmission is virus-free and will not be liable for > any damages resulting from any virus transmitted.* > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users