Geoserver 2.7.3 and Mapstore v2025.01.02
--
You received this message because you are subscribed to the Google Groups "mapstore-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mapstore-users/41e8575f-55cf-4f9b-aebd-169470d76c39n%40googlegroups.com.
-- Dipl.Ing. Stefan Overkamp

Many thanks,
I put it into plugins { desktop.
Moving it to plugins level solved the first error. I now see the GUI.
The plugin tries to call
https://mapstore.mydomain.de/geoserver/rest/geofence/rules/count
But my geoserver is at https://mydomain.de/geoserver
changing "geoFenceUrl": to "https://mydomain.de/geoserver/",
the count request succeeds and i can see my 10 rules in the grid.
The cells are empty. I can see a request like
https://mydomain.de/geoserver/rest/geofence/rules?page=0&entries=20&authkey=someKey
is failing as OPTIONS with status 403 forbidden.
I think i must look into my reverse proxy or into rest.properties?
Many thanks
Stefan
To view this discussion visit https://groups.google.com/d/msgid/mapstore-users/253d3749-192f-4bbc-87ee-dd37d1a9efc7n%40googlegroups.com.
-- Dipl.Ing. Stefan Overkamp


To view this discussion visit https://groups.google.com/d/msgid/mapstore-users/22d670b0-4c82-421d-94f1-2f7366367c97%40posteo.de.
Hi Lorenzo,
I already had enabled it.
I think it is a CORS problem:
Access to XMLHttpRequest at
'https://mydomain.de/geoserver/rest/geofence/rules?page=0&entries=20&authkey=2c83e853-4dd6-431b-992a-88900bc626ce'
from origin 'https://mapstore.mydomain.de' has been blocked by
CORS policy: Response to preflight request doesn't pass access
control check: It does not have HTTP ok status.
I will investigate further in my apache reverse proxy.
Many thanks
Stefan
To view this discussion visit https://groups.google.com/d/msgid/mapstore-users/CAGBwUg-HFvxnogcpqkdouE%3DmNRjtb0%3DS56LeqZ6qB8LAheDj1w%40mail.gmail.com.
-- Dipl.Ing. Stefan Overkamp over...@posteo.de
Hi,
using my subdomain mapstore.mydomain.de I didn't find a way to
configure my apache reverse proxy to solve the CORS problem:
Access to XMLHttpRequest at
'https://mydomain.de/geoserver/rest/geofence/rules?page=0&entries=20&authkey=68686ef8-8137-4b06-b9f1-a17346283c94'
from origin 'https://mapstore.mydomain.de' has been blocked by
CORS policy: Response to preflight request doesn't pass access
control check: It does not have HTTP ok status.
It seems to be a problem with the preflight request as other GET
requests like
https://mydomain.de/geoserver/rest/geofence/rules/count?authkey=68686ef8-8130-4b06-b9f1-a17346283c94
are returned with Status 200.
But using https://mydomain.de/mapstore/#/rules-manager all is
going well with no problems!
So I will go ahead not using the subdomain, as too complicated or
impossible to configure.
I've read dozens of articles, but haven't found one that offers a
working solution
to allow communication between all subdomains and the domain with
apache webserver.
Maybe I should switch to a more user orientated web server
solution.
Many Thanks
Stefan
To view this discussion visit https://groups.google.com/d/msgid/mapstore-users/13a75aeb-256f-4cca-b4f0-afd8d7a1244en%40googlegroups.com.
-- Dipl.Ing. Stefan Overkamp
Hi Lorenzo,
I don't know if it is a possibility for you, but I usually prefer, when possible, to publish both mapstore and geoserver on the same domain.
Configuring the Apache ReverseProxy to publish /geoserver on the same sub-domain used by Mapstore did the trick.
On this installation I had CORS problems with the map widgets WPS
requests.
I had to change some URLs in stored_data (geostore.gs_stored_data)
to this new URL.
After that, all widgets (WPS requests) had status 200 OK.
Will try with the geofence problem later.
many thanks from
Stefan
-- Dipl.Ing. Stefan Overkamp Laakmannsbusch 44, 42555 Velbert