kartoza / IGRAC-GGIS

https://ggis.un-igrac.org/
GNU Affero General Public License v3.0
4 stars 5 forks source link

WMS harvesting is not working #618

Open SterckxArnaud opened 9 months ago

SterckxArnaud commented 9 months ago

Dear Irwan, I noticed that the layers that we fetch through WMS services from external websites are not available anymore. See for instance https://ggis.un-igrac.org/catalogue/#/?f=dataset&q=whymap I tried to restore the service but it does not work https://ggis.un-igrac.org/services/1871/ Could you please have a look?

meomancer commented 9 months ago

hi @NyakudyaA Could you help me check this?

NyakudyaA commented 9 months ago

There are a couple of errors that have been flagged here https://ggis.un-igrac.org/en-us/admin/harvesting/asynchronousharvestingsession/9/change/

I think the best way would be to delete those sessions but I am not sure if those layers are being used in maps or other places

SterckxArnaud commented 9 months ago

Hi Admire, you can delete these sessions, they are from a few days ago when I tried to restore the WMS connections (without success).

NyakudyaA commented 9 months ago

@meomancer I have checked this and it seems to always error on

state: FAILURE
result: IntegrityError('duplicate key value violates unique constraint "layers_dataset_store_workspace_name_0b4228a1_uniq"\nDETAIL: Key (store, workspace, name)=(httpsservicesbgrdewmsgrundwasserwhymap_gwr, remoteWorkspace, 11) already exists.\n')
traceback: None

This error has already been reported and fixed here https://github.com/geosolutions-it/nexus-geonode/issues/496

I believe we might have to delete the service and register it again. @SterckxArnaud Are those layers being used in maps or geostories ?

SterckxArnaud commented 9 months ago

I believe we might have to delete the service and register it again. @SterckxArnaud Are those layers being used in maps or geostories ?

Yes, but most of them can be deleted. The following wms need to be preserved: https://www.gapmaps.org/geoserver/wms https://sig.lneg.pt/server/services/CartaGuine/MapServer/WMSServer http://mapsref.brgm.fr/wxs/1GG/IGC35_CGMW_BRGM_Africa_Geology?

meomancer commented 9 months ago

hi @NyakudyaA Thank you, could you help me re-register the datasets?

thank you

Jeremy-Prior commented 4 months ago

https://sig.lneg.pt/server/services/CartaGuine/MapServer/WMSServer is working: image

http://mapsref.brgm.fr/wxs/1GG/IGC35_CGMW_BRGM_Africa_Geology is also working: image

https://www.gapmaps.org/geoserver/wms still has an issue, is it possible the source url has changed? It is not a recognised remote service: image

SterckxArnaud commented 4 months ago

Thank you Jeremy! I checked the gapmap platform and I can't see the layers indeed, it seems that they are not available. @clau1313, could you please check with Joel if everything is OK on their side?

robertohuru commented 1 month ago

@meomancer it is still not possible to harvest from https://www.gapmaps.org/geoserver/wms because of timeout.

@clau1313 did you check on this with Joel?