Closed Darkonyks closed 3 years ago
Why do you need to load your local GeoNode GeoServer into GeoNode as remote services? TBH I do not understand why such remote service should fail, but neither do I see a point in doing that. You can use the updatelayers
management command to fetch layers which are present in GeoServer but not registered in GeoNode, yet. A use case for that is to create GeoNode layers for datatypes GeoNode is not able to ingest, eg. netCDF. See this documentation: https://docs.geonode.org/en/master/admin/mgmt_commands/index.html#management-command-updatelayers
Well, maybe it fails because of docker network routing? You could try this
http://geoserver:8080/geoserver/ows?service=wms&version=1.3.0&request=GetCapabilities
which will use the geoserver service inside the docker network. But above is untested.
I use Geoserver to serve layers from different sources. I'm not truing to add layers that are already uploaded in geonode_data database in Postgresql, than to add layers from MS SQL server in different Workspace/Source. Also, my Geonode instance is public and Geoserver also, they are not on localhost any more than on public host - production. I have tried WMS service's to add in several different GeoNode instances and I face the same problem. Also when I run command
./manage.sh sync_geonode_layers --updatepermissions
Syncing layer 1/1: GRAD Syncing permissions...
I got an error
RuntimeError: Could not ADD GeoServer User 'admin' Rule for Layer .......
./manage.sh sync_geonode_layers --updatethumbnails Syncing layer 1/1: GRAD Regenerating thumbnails... There are 0 layers which could not be updated because of errors.
I think than it might be something with GeoFences setings... Maybe !?
Hi,
I'm facing with issue loading wms Remote Services from local Geoserver. I have geonode-project 3.2.x docker installation.
First I thought that wms service in geoserver is not well set. But when I try to add wms to QGIS it loads it without any problems (except ssl exception)
Also I added with no problems wms from server: https://maps.geo-solutions.it/geoserver/wms
local geoserver wms:
QGIS:
I looked in logs for geoserver, django, nginx and I could not find any message that can lead my to some problem and solution.
Did I had to add/change something in settings or .env ... ? I couldn't find anything in documentation also.