[GeoNode-users] Error 401 & Error 404

said lahssini marghadi at gmail.com
Thu May 5 05:19:27 PDT 2016


Dear All,

I would like to ask you if it is possible to have a separate instance of geocode and geoserver (we installed a geocode on a local machine, then a geoserver on a remote machine and other machine contains the RDBMS)?

After we installed and configured adequately the three servers, we can display spatial data within the RDBMS. But when we try to visualize or to edit the Data through geoportal it fails with error 401 and 404.




SITEURL2='http://192.168.2.39:8080/'
GEOSERVER_URL = SITEURL2 + 'geoserver/'

# OGC (WMS/WFS/WCS) Server Settings
OGC_SERVER = {
    'default' : {
        'BACKEND' : 'geonode.geoserver',
        #'LOCATION' : 'http://localhost:8080/geoserver/',
        'LOCATION' : 'http://192.168.2.39:8080/geoserver/',
        'PUBLIC_LOCATION' : GEOSERVER_URL,
        'USER' : ‘admin',
        'PASSWORD' : ‘xxxxxx',
        'MAPFISH_PRINT_ENABLED' : True,
        'PRINT_NG_ENABLED' : True,
        'GEONODE_SECURITY_ENABLED' : True,
        'GEOGIG_ENABLED' : False,
        'WMST_ENABLED' : False,
        'BACKEND_WRITE_ENABLED': True,
        'WPS_ENABLED' : True,
        'LOG_FILE':'/usr/share/geoserver/data/logs/geoserver.log',
        # Set to name of database in DATABASES dictionary to enable
        'DATASTORE': 'datastore',
    }
}


What could be the problem with our configuration?



Said


More information about the geonode-users mailing list