<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi all,<br><br>could anybody suggest me a pair of geonode hosting services,<br>and of course relatives links?<br><br>best<br><br>Eugenio<br><br><div><hr id="stopSpelling">From: simone.dalmasso@gmail.com<br>Date: Tue, 24 May 2016 16:53:03 +0200<br>To: raul.marcelo.villarroel.villazon@gmail.com<br>Subject: Re: [GeoNode-users] rest service connection<br>CC: geonode-devel@lists.osgeo.org; geonode-users@lists.osgeo.org<br><br><div dir="ltr">Hi,<div><br></div><div>the ALLOWED_HOSTS is only for your server name and it's not involved in the remote server use. It should contain the name or IP of your geonode server.</div><div>the <span style="font-size:12.8px;">PROXY_ALLOWED_HOSTS should look like (</span><span style="font-size:12.8px;"> '<host>', ) beware the parenthesis.</span></div><div><span style="font-size:12.8px;"><br></span></div><div><span style="font-size:12.8px;">In case it still don't work you can open the browser debug console and see what request is issued.</span></div><div><span style="font-size:12.8px;"><br></span></div><div><span style="font-size:12.8px;">hope this helps</span></div></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">2016-05-24 16:48 GMT+02:00 Marcelo Villarroel <span dir="ltr"><<a href="mailto:raul.marcelo.villarroel.villazon@gmail.com" target="_blank">raul.marcelo.villarroel.villazon@gmail.com</a>></span>:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">Hi,<div><br></div><div>Geonode, version 2.4b25, is installed in a linux server of my office. I´m connecting as superuser through local network.</div><div><br></div><div>There are ArcGIS rest services I want to add. They are provided as:</div><div><br></div><div>https://<host>/arcgis/rest/services/SMA/WebMap_Existente/MapServer/<name><br></div><div><br></div><div>I added this server in local_settings.py:</div><div><br></div><div>ALLOWED_HOSTS= [ 'https://<host>/arcgis/services' ]</div><div>PROXY_ALLOWED_HOSTS = [ 'https://<host>/arcgis/services' ]</div><div><br></div><div>When I want to add a layer to a map:</div><div><br></div><div>Layers/ Add layers / Add a new Server... / Type: ArcGIS REST Service (REST)</div><div>URL: https://<host>/arcgis/rest/services/SMA/WebMap_Existente/MapServer/<name></div><div><br clear="all"><div>The message remains: Contacting server... and does not connect.</div><div><br></div><div>Do you know if there is something I´m missing in the configuration file, or is something related to the ArcGIS service itself?</div><div><br></div><div>Thank you.</div><div>Regards,</div><span class="ecxHOEnZb"><font color="#888888">-- <br><div><div dir="ltr"><div><div dir="ltr"><div><b>R. Marcelo Villarroel V.</b></div><div>Ing. Civil, MSc.</div><div><b>Sistemas de Información Geográfica</b></div><div><br></div><div>Cochabamba, Bolivia.<br></div><div><br></div><div>Cel.: (+591) 722 12346<br></div><div>Mail: <a href="mailto:raul.marcelo.villarroel.villazon@gmail.com" target="_blank">raul.marcelo.villarroel.villazon@gmail.com</a></div></div></div></div></div>
</font></span></div></div>
<br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">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><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="ecxgmail_signature">Simone </div>
</div>
<br>_______________________________________________
geonode-users mailing list
geonode-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geonode-users</div> </div></body>
</html>