[Geoserver-users] WMTS service not working in modern versions.

Hello, geoserver community!

Got a service with this GetCapabilities url:
https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/get?service=WMTS&request=GetCapabilities

Geoserver version 2.15.2: creating a WMTS-store using this URL is successful. I see a layer to publish.
Geoserver version 2.20.4 or 2.22.2: creating a WMTS-store using this URL fails. Looks like something does not work properly in wmts lib. Log part that seems to relate:

2024-01-26 13:04:26,787 DEBUG [security.IncludeQueryStringAntPathRequestMatcher] - Checking match of request : ‘Path: /web/wicket/bookmarkable/org.geoserver.web.data.store.wmtsstorenewpage, QueryString: 9-1.IBehaviorListener.0-form-save’; against '/web/
2024-01-26 13:04:26,787 DEBUG [security.IncludeQueryStringAntPathRequestMatcher] - Matched Path: /web/wicket/bookmarkable/org.geoserver.web.data.store.wmtsstorenewpage, QueryString: 9-1.IBehaviorListener.0-form-save with /web/

2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer group named web
2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer group named web
2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer group named web
2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer group named web
2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer group named web
2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer group named web
2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer group named web
2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer group named web
2024-01-26 13:04:26,939 DEBUG [data.ows] - FinalURL:https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/get?REQUEST=GetCapabilities&VERSION=1.0.0&SERVICE=WMTS
2024-01-26 13:04:26,939 DEBUG [geotools.http] - URL is https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/get?REQUEST=GetCapabilities&VERSION=1.0.0&SERVICE=WMTS
2024-01-26 13:04:27,234 DEBUG [xsd.impl] - schemaLocation found: http://www.opengis.net/wmts/1.0 https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/static/fs/wmts.xsd
2024-01-26 13:04:27,241 DEBUG [xsd.impl] - Found override for http://www.opengis.net/wmts/1.0: https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/static/fs/wmts.xsd ==> jar:file:/usr/local/tomcat/webapps/geoserver/WEB-INF/lib/gt-xsd-wmts-26.4.jar!/org/geotools/wmts/wmts.xsd
2024-01-26 13:04:27,431 DEBUG [data.util] - CRSConverterFactory can be applied from Strings to CRS only.
2024-01-26 13:04:27,431 DEBUG [data.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.
2024-01-26 13:04:27,431 DEBUG [sqlserver.jtds] - Failed to find JTDS jar
2024-01-26 13:04:27,431 TRACE [sqlserver.jtds] - No JTDS jar on classpath
2024-01-26 13:04:27,478 DEBUG [data.util] - CRSConverterFactory can be applied from Strings to CRS only.
2024-01-26 13:04:27,478 DEBUG [data.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.
2024-01-26 13:04:27,478 DEBUG [sqlserver.jtds] - Failed to find JTDS jar
2024-01-26 13:04:27,478 TRACE [sqlserver.jtds] - No JTDS jar on classpath
2024-01-26 13:04:27,498 DEBUG [data.util] - CRSConverterFactory can be applied from Strings to CRS only.
2024-01-26 13:04:27,498 DEBUG [data.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.
2024-01-26 13:04:27,498 DEBUG [sqlserver.jtds] - Failed to find JTDS jar
2024-01-26 13:04:27,498 TRACE [sqlserver.jtds] - No JTDS jar on classpath
2024-01-26 13:04:27,585 ERROR [data.ows] - Failed to execute request https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/get?REQUEST=GetCapabilities&VERSION=1.0.0&SERVICE=WMTS


Sincerely,
Yaras

That server is down as far as I can see so I don’t see that it will respond with any version of GeoServer - are you sure you have the URL correct?

Ian

···

Ian Turton

I am sorry, this is a double post (posted this question couple of days ago).

Server is up and running but only inside the country, it seems. I tried some other [open data] wmts services - they work correctly.

Error I get in GUI says that wmts url validator fails. Is the code open to see what could be wrong?