Re: [Geoserver-users] Large file uploads to Postgres/PostGIS fail

2022-12-20 Thread Andrea Aime
The GeoServer core configuration model is not fully thread safe. Whenever the REST API is used with a write method, it grabs a global lock that prevents concurrent usage of other REST API, as well as the Wicket UI, for the entire duration of the call. It protects the internal catalog, but works

Re: [Geoserver-users] Large file uploads to Postgres/PostGIS fail

2022-12-20 Thread Jody Garnett
You can also try the importer and it’s rest api, it is much better at async processing of large content. I wrote some docs here https://docs.geoserver.org/latest/en/user/extensions/importer/rest_examples.html You can use resource api to upload and then process using importer. Jody On Tue, Dec

Re: [Geoserver-users] NullPointerException when doing WMS request to Geotiff with LERC compression

2022-12-20 Thread Jeroen van Gent
Thank you, Andrea. From what I've read, LERC can be interesting because it combines strong compression ratios with relatively fast decompression (reading). For now, I would be interested to hear other people's opinion on whether LERC could be useful to them. Then maybe at some point I can

Re: [Geoserver-users] NullPointerException when doing WMS request to Geotiff with LERC compression

2022-12-20 Thread Andrea Aime
GeoServer does not, indeed, support the LERC compression. If you'd like to see support for this compression implemented, see this guide: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-fixes,-improvements-and-new-features-in-GeoServer Cheers Andrea Cheers

[Geoserver-users] Large file uploads to Postgres/PostGIS fail

2022-12-20 Thread Marlow, Peter via Geoserver-users
Hi, We are using GeoServer 2.18.2 and Postgres 11 with the PostGIS extension for our website. With small datasets we are not having any issues, but we are having trouble uploading larger datasets to GeoServer. After making a request, it hangs for a long time and ends up failing. When the

[Geoserver-users] NullPointerException when doing WMS request to Geotiff with LERC compression

2022-12-20 Thread Jeroen van Gent
Dear all, I am serving a set of Geotiff raster files as single-file stores in GeoServer and so far everything went fine with GeoTiff files compressed with the DEFLATE or ZSTD algorithms. This week I have been testing LERC compression (with different values for the gdal MAX_Z_ERROR option)

Re: [Geoserver-users] GeoServer 2.21 - Cascaded WMS returns Connection reset

2022-12-20 Thread Andrea Aime
On Tue, Dec 20, 2022 at 9:54 AM Jody Garnett wrote: > I am not sure how you configure that from GeoServer (there should be a > choice between the built-in java URL and HTTP connections, and the Apache > HTTP library). > I was about to suggest the same. The default is with the Apache HTTP

Re: [Geoserver-users] GeoServer 2.21 - Cascaded WMS returns Connection reset

2022-12-20 Thread Jody Garnett
If you make the requests you see logged yourself (using a browser or cURL) ... do they work? Other options: - are you comfortable with wireshark or similar to watch the two programs talk to each other? - is some kind of firewall watching and closing down connections? You indicate you are

Re: [Geoserver-users] GeoServer 2.21 - Cascaded WMS returns Connection reset

2022-12-20 Thread Mattias Andrén via Geoserver-users
Thanks! I tried increasing the logging as you suggested below, and It works. I can now see the requests that are made. I do not get any more information why the request is failing though. Best Regards Mattias Andrén Från: Jody Garnett Skickat: den 18 december 2022 00:41 Till: Mattias Andrén