We did a lot of changes recently to the library used by the print module,
and while there some tests there are not a lot of tests in place so we
depend on public feedback.

What do you mean about initial problems and http client?1

(I do not use the print module myself but I do try and check everything is
packaged okay)

--
Jody Garnett


On Sat, Feb 24, 2024 at 12:57 PM Sailing Control - Kiko <
kiko.de.car...@sailingcontrol.com> wrote:

> Hello again,
>
> First, thank everyone for their help.
>
> I keep trying to use the print module but the create.json endpoint fails.
>
> *com.itextpdf.text.DocumentException:
> org.mapfish.print.InvalidJsonValueException: spec.layers[0].baseURL has an
> invalid value: https://..../ows?SERVICE=WMS&;
> <https://..../ows?SERVICE=WMS&;> (java.util.HashMap cannot be cast to
> org.mapfish.print.config.HostMatcher)*
> A little context:
> 1.- I am using version 2.24.0 of Geoserver with Postgis Database (OSM)
> 2.- I am using docker-compose and nginx with proxy for GS and https
> 3.- I included the commons-httpclient-3.1.jar library to solve initial
> problems.
> 4.-https:../geoserver/pdf/info.json works and includes this url:
>    "printURL": "https://../geoserver/pdf/print.pdf";
> <https://../geoserver/pdf/print.pdf>,
>    "createURL": "https://../geoserver/pdf/create.json";
> <https://../geoserver/pdf/create.json>
> 5.- I tried many host entries in Printing/config.yaml.
>
> Somebody could help me?
>
> Greetings
> _______________________________________________
> 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

Reply via email to