Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

GeoWebCache (with vectortiles) does not return tiles #43

Open
gannebamm opened this issue Sep 10, 2024 · 7 comments
Open

GeoWebCache (with vectortiles) does not return tiles #43

gannebamm opened this issue Sep 10, 2024 · 7 comments
Labels
bug Something isn't working EPIC Maintenance LB 2.1.3

Comments

@gannebamm
Copy link
Contributor

gannebamm commented Sep 10, 2024

Expected Behavior

I download plugins like described here https://github.com/Thuenen-GeoNode-Development/thuenen_atlas/tree/thuenen_4.x/docker/geoserver#plugins and build the GeoServer container. Now I can serve and fetch vectortiles via the integrated GWC. I can use the TMS service in QGIS to get vectortiles and I can use them in web-applications (like openlayers). The web application should work like this:

2024-09-26-382-LPIT40174-BS

Actual Behavior

The data is not fetched properly. I can neither use them in QGIS nor in web-applications.

Steps to Reproduce the Problem

or

grafik

  • But you can not click on other municipalities to get new diagrams because the vectortiles are not fetched.

grafik

Specifications

Additional information

  1. We have a similar GeoServer setup with GWC and vectortiles but without GeoNode here: https://geoserver-bw.thuenen.de/atlas_thuenen_rs/index.html

Which serves vectortiles in scales under 1:94242 like:

https://geoserver-bw.thuenen.de/geoserver/gwc/service/tms/1.0.0/rs_v201:ctm_ger_2023_lsm_hex_v201@EPSG%3A900913@pbf/{z}/{x}/{-y}.pbf

which can be used in QGIS.

  1. The GeoWebCache Demo on atlas.thuenen.de does render the tiles. logged in as GeoServer admin the link https://atlas.thuenen.de/geoserver/gwc/demo/aa_at_geoserver_99_20:rlevl_uaa_2020_bkr?gridSet=EPSG:900913&format=application/vnd.mapbox-vector-tile does show the tiles. For anonymous the tiles will not get displayed.

  2. If I am logged into GeoServer with OAuth and the GeoNode admin account I will be able to load new diagrams and the vector tiles are fetched for the web application listed above. It works as expected (see gif above).

Maybe related to GeoNode/geonode#11763 (comment)

The filterchain was already changed in our instance to gwc | /gwc/rest/**

@gannebamm gannebamm added bug Something isn't working EPIC Maintenance LB 2.1.3 labels Sep 10, 2024
@gannebamm
Copy link
Contributor Author

maybe related to: #39

@ridoo
Copy link
Collaborator

ridoo commented Oct 1, 2024

An additional observation: On Firefox I can see the first charts as you mentioned (Chrome misses this from time to time):

image

There is a deprecation note on the console:

MouseEvent.mozPressure is deprecated. Use PointerEvent.pressure instead. [Util.js:15:3](https://atlas.thuenen.de/webspace/agraratlas/agraratlas/src/core/Util.js)
MouseEvent.mozInputSource is deprecated. Use PointerEvent.pointerType instead. [Util.js:15:3](https://atlas.thuenen.de/webspace/agraratlas/agraratlas/src/core/Util.js)

Both Firefox and Chrome are logging 400 (Bad Request):

GET https://atlas.thuenen.de/geoserver/gwc/service/tms/1.0.0/aa_at_geoserver_99_20:rlevl_uaa_2020_lau2@EPSG%3A900913@pbf/7/67/85.pbf 400 (Bad Request)

@gannebamm
Copy link
Contributor Author

there are changes on GeoServer. See
GeoNode/geoserver-geonode-ext@1e36104#commitcomment-146374544

@ridoo This (GeoNode/geoserver-geonode-ext#190) will likely trigger an overwrite of 2.24.4 image? This should create a new 2.24.5 (GeoNode/geoserver-geonode-ext#190). Maybe as 2.24-v2? We need to check this after they are finished.

@gannebamm
Copy link
Contributor Author

gannebamm commented Nov 22, 2024

@ridoo

GeoSolutions told me:

Hi Florian,
all the artifacts and Docker images for the GeoServer 2.24.2 data directory have been updated.

This means recreating the 52North ones and tagging them accordingly, right?

@ridoo
Copy link
Collaborator

ridoo commented Nov 25, 2024

This means recreating the 52North ones and tagging them accordingly, right?

@gannebamm actually, there is only a customized thuenen GeoNode image we reference. You should be ok with updating the versions in the .env file. I will do an update for those anyway when starting the 4.4.x update. However, I will have to investigate what has changed to evaluate the update there. The updates in the data dir were always a bit intransparent TBH

@gannebamm
Copy link
Contributor Author

Just changing the env was enough since we built from geonode https://github.com/Thuenen-GeoNode-Development/thuenen_atlas/blob/thuenen_4.x/docker/geoserver/Dockerfile#L2 & https://github.com/Thuenen-GeoNode-Development/thuenen_atlas/blob/thuenen_4.x/docker/geoserver_data/Dockerfile#L2
deployed on geonode-demo.thuenen.de

After taking a look the update shall close the isse #42 and not this one, though.

@gannebamm
Copy link
Contributor Author

rebuild the images which fixed the time series error, but this one persists.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working EPIC Maintenance LB 2.1.3
Projects
None yet
Development

No branches or pull requests

2 participants