<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Again you are loosing the authentication between geonode and geoserver and in that sense you are receiving an http 401 error code from the security system of geonode since such operations have to be performed by an authenticated user in geoserver.<div><br></div><div><div><div>Il giorno 06/mag/2016, alle ore 20:02, Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com">simone.dalmasso@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">I see, it doesn't have to be on the same machine but it has to be the geoserver shipped with geonode otherwise you will lose the geonode permissions system and you have to disable the permissions in geonode</div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-06 19:51 GMT+02:00 said LAHSSINI <span dir="ltr"><<a href="mailto:marghadi@gmail.com" target="_blank">marghadi@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you for your answer.<div><br></div><div>We installed geoserver on a server <span style="font-size:12.8px">'</span><a href="http://192.168.2.39:8080/" rel="noreferrer" style="font-size:12.8px" target="_blank">http://192.168.2.39:8080/</a><span style="font-size:12.8px">', then we installed a geonode with its geoserver on </span><span style="font-size:12.8px">'</span><a href="http://192.168.2.39:8080/" rel="noreferrer" style="font-size:12.8px" target="_blank">http://192.168.2.</a>38 and then postgis server on <span style="font-size:12.8px">'</span><a href="http://192.168.2.39:8080/" rel="noreferrer" style="font-size:12.8px" target="_blank">http://192.168.2.40/</a><span style="font-size:12.8px">'. Our choice was, instead of using geonode's geoserver, to use a dedicated remote machine for geoserver.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">After installing the three servers, we loaded a postgis dump into the database. </span><span style="font-size:12.8px">In addition, we changed the initial setting (local_settings) and then we defined for geoserver (192.168.2.39) datastores to postgis tables. Finally,  we executed geonode updatelayers. (We did not any extra setting in the dedicated geoserver : 192.168.39)</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">As geonode permitted us to visualize all spatial data within geoserver all seem working fine. Unforunately, when we tray to modify or to insert a new geometry within geoportal (geonode) it through the 401 and 404 error (please see the attached file) . </span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Is it something wrong to set in the dedicated geoserver? or geoserver must be with geonode within the same machine?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thank you very much </span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Said </span></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-06 13:25 GMT+01:00 Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Did you start with this setup or you migrated to this setup after having loaded the layers? also, what requests are hitting the wrong url? </div><div class="gmail_extra"><br><div class="gmail_quote"><div>2016-05-05 14:19 GMT+02:00 said lahssini <span dir="ltr"><<a href="mailto:marghadi@gmail.com" target="_blank">marghadi@gmail.com</a>></span>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Dear All,<br>
<br>
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)?<br>
<br>
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.<br>
<br>
<br>
<br>
<br>
SITEURL2='<a href="http://192.168.2.39:8080/" rel="noreferrer" target="_blank">http://192.168.2.39:8080/</a>'<br>
GEOSERVER_URL = SITEURL2 + 'geoserver/'<br>
<br>
# OGC (WMS/WFS/WCS) Server Settings<br>
OGC_SERVER = {<br>
    'default' : {<br>
        'BACKEND' : 'geonode.geoserver',<br>
        #'LOCATION' : '<a href="http://localhost:8080/geoserver/" rel="noreferrer" target="_blank">http://localhost:8080/geoserver/</a>',<br>
        'LOCATION' : '<a href="http://192.168.2.39:8080/geoserver/" rel="noreferrer" target="_blank">http://192.168.2.39:8080/geoserver/</a>',<br>
        'PUBLIC_LOCATION' : GEOSERVER_URL,<br>
        'USER' : ‘admin',<br>
        'PASSWORD' : ‘xxxxxx',<br>
        'MAPFISH_PRINT_ENABLED' : True,<br>
        'PRINT_NG_ENABLED' : True,<br>
        'GEONODE_SECURITY_ENABLED' : True,<br>
        'GEOGIG_ENABLED' : False,<br>
        'WMST_ENABLED' : False,<br>
        'BACKEND_WRITE_ENABLED': True,<br>
        'WPS_ENABLED' : True,<br>
        'LOG_FILE':'/usr/share/geoserver/data/logs/geoserver.log',<br>
        # Set to name of database in DATABASES dictionary to enable<br>
        'DATASTORE': 'datastore',<br>
    }<br>
}<br>
<br>
<br>
What could be the problem with our configuration?<br>
<br>
<br>
<br>
Said<br></div>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><span><font color="#888888"><br>
</font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div>Simone </div>
</font></span></font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>*-* =-=-=-=-=-=-=-=-=-=-=-*=*=*=*=*=*=*=*=*=*-* =-=-=-=-=-=-=-=-=-=-=-*=*<br>*-*      Saïd LAHSSINI <br>*-*     P.A Sciences Forestières</div><div>*-*     Ecole Nationale Forestière d'Ingénieurs</div>
<div>*-*      <span style="font-family: Garamond; font-size: inherit;">BP 511 Tabriquet, Salé</span></div><div><font size="3"><font face="Garamond"><span>*-*     Tél.: </span></font></font><strong style="font-family: 'Times New Roman'; font-size: inherit; text-align: -webkit-center;"><font color="336699" size="2"><font>+212(0) 37 86 37 04</font></font></strong><font size="3"><font face="Garamond"><span> // Fax.: </span></font></font><strong style="font-family: 'Times New Roman'; font-size: inherit; text-align: -webkit-center;"><font color="336699" size="2"><font>+212(0) 37 86 11 49</font></font></strong></div>
<div>*-*      GSM : 00212 663 666596<br>*-* <br>*-* <br>*-* =-=-=-=-=-=-=-=-=-=-=-*=*=*=*=*=*=*=*=*=*-* =-=-=-=-=-=-=-=-=-=-=-=-=-<br></div></div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>
_______________________________________________<br>geonode-users mailing list<br><a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/geonode-users<br></blockquote></div><br></div></body></html>