<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Tomás,<div class=""><br class=""></div><div class="">have you tried setting 8080 here?</div><div class=""><a href="https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L752" class="">https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L752</a></div><div class=""><br class=""></div><div class="">I do know of the problem with wrong redirect to geoserver from the top nav menu</div><div class="">but had never problems with uploading / viewing of layers.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Toni</div><div class=""><br class=""></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class="">Hi all,<br class=""><br class="">I've just installed successfully GeoNode 2.10rc4 for development.<br class="">After running paver start I can enter GeoNode app, and also GeoServer app<br class="">if I put the correct URL in the browser. But the comunication between<br class="">GeoNode and GeoServer is not working. I cannot see from GeoNode any layers<br class="">uploaded, and when I try to enter GeoServer from the link in GeoNode, it<br class="">fails to redirect because it's going to port 8000, and GeoServer is in port<br class="">8080.<br class=""><br class="">Is there any proxy configuration for django that i'm missing?<br class=""><br class="">Thanks in advance,<br class=""><br class="">Tomás<br class=""><br class=""><br class=""><br class="">-- <br class=""><br class=""><br class="">Tomás Juan Link<br class=""><br class="">Software Developer<br class=""><br class="">+54 (11) 4342-2976/84<br class=""><br class=""><a href="http://www.spacesur.com" class="">www.spacesur.com</a><br class="">-------------- next part --------------<br class="">An HTML attachment was scrubbed...<br class="">URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190416/c95e60a8/attachment-0001.html><br class=""><br class="">------------------------------<br class=""><br class="">Message: 2<br class="">Date: Tue, 16 Apr 2019 17:41:10 -0300<br class="">From: 1520 gis <juliermeopensourcedeveloper@gmail.com><br class="">To: Tomas Link <tomaslink@spacesur.com><br class="">Cc: geonode-users <geonode-users@lists.osgeo.org><br class="">Subject: Re: [GeoNode-users] [Can't communicate with GeoServer: port<br class=""><span class="Apple-tab-span" style="white-space:pre">     </span>8000 vs 8080][Geonode 2.10 in Development Mode]<br class="">Message-ID:<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><CAKTKyJJEor1y4s3=2RvJrKMUy_SswhQSnbwxYp0x=1n+dA4kUQ@mail.gmail.com><br class="">Content-Type: text/plain; charset="utf-8"<br class=""><br class="">Hi Tomas,<br class=""><br class="">What GeoNode installation method are you using?<br class=""><br class="">In your local_settings.py, see if this change can help you:<br class=""><br class="">*# **C**omment the line**s*#GEOSERVER_PUBLIC_PORT = os.getenv(#<br class="">'GEOSERVER_PUBLIC_PORT', *SITE_HOST_PORT*#)*# Add the<br class="">lines*GEOSERVER_PUBLIC_PORT = os.getenv(    'GEOSERVER_PUBLIC_PORT',<br class="">'*8080*')<br class=""><br class="">I hope it helps<br class=""><br class="">Julierme<br class=""><br class="">On Tue, Apr 16, 2019 at 4:48 PM Tomas Link <tomaslink@spacesur.com> wrote:<br class=""><br class=""><blockquote type="cite" class="">Hi all,<br class=""><br class="">I've just installed successfully GeoNode 2.10rc4 for development.<br class="">After running paver start I can enter GeoNode app, and also GeoServer app<br class="">if I put the correct URL in the browser. But the comunication between<br class="">GeoNode and GeoServer is not working. I cannot see from GeoNode any layers<br class="">uploaded, and when I try to enter GeoServer from the link in GeoNode, it<br class="">fails to redirect because it's going to port 8000, and GeoServer is in port<br class="">8080.<br class=""><br class="">Is there any proxy configuration for django that i'm missing?<br class=""><br class="">Thanks in advance,<br class=""><br class="">Tomás<br class=""><br class=""><br class=""><br class="">--<br class=""><br class=""><br class="">Tomás Juan Link<br class=""><br class="">Software Developer<br class=""><br class="">+54 (11) 4342-2976/84<br class=""><br class="">www.spacesur.com<br class=""><br class="">_______________________________________________<br class="">geonode-users mailing list<br class="">geonode-users@lists.osgeo.org<br class="">https://lists.osgeo.org/mailman/listinfo/geonode-users<br class=""><br class=""></blockquote>-------------- next part --------------<br class="">An HTML attachment was scrubbed...<br class="">URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190416/7fcf32ec/attachment-0001.html><br class=""><br class="">------------------------------<br class=""><br class="">Message: 3<br class="">Date: Tue, 16 Apr 2019 18:16:22 -0300<br class="">From: Tomas Link <tomaslink@spacesur.com><br class="">To: 1520 gis <juliermeopensourcedeveloper@gmail.com><br class="">Cc: geonode-users <geonode-users@lists.osgeo.org><br class="">Subject: Re: [GeoNode-users] [Can't communicate with GeoServer: port<br class=""><span class="Apple-tab-span" style="white-space:pre">   </span>8000 vs 8080][Geonode 2.10 in Development Mode]<br class="">Message-ID:<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><CAFDUhCuSdsuKb7Vf9F-QA9hd9PC1LzAMM9SoH56FEu2P8Z=yew@mail.gmail.com><br class="">Content-Type: text/plain; charset="utf-8"<br class=""><br class="">Hi Julierme,<br class=""><br class="">Thanks for the reply.<br class=""><br class="">I'm using this guide, more or less:<br class="">http://docs.geonode.org/en/master/tutorials/install_and_admin/quick_install.html#ubuntu-for-development<br class="">In Ubuntu 16.04 and the tag from 2.10rc4.<br class="">I had to make a couple of changes to make work the *paver setup* command.<br class="">But I successfully started GeoNode after that.<br class="">GeoServer is wroking well also, in port 8080.<br class=""><br class="">I don't have the variable* GEOSERVER_PUBLIC_PORT* declared in my<br class="">settings.py.<br class="">I tried add that one in the settings.py as you suggested but the problem is<br class="">still there.<br class=""><br class="">I debbuged the code in *geonode/proxy/views.py*, in the "proxy" function<br class="">and what I can see is that, for every request, redirects to *host*:*port*{<br class="">*locator*} where *locator* = '/geoserver/' in this case, and *host* and<br class="">*port* are the the ones from GeoNode. The request parameter holds correctly<br class="">the *host:8080/geoserver* URL, but this code always redirects to the same<br class="">host and port of GeoNode.<br class=""><br class="">I don't had this problem when I deployed 2.8 for production, because Apache<br class="">Server redirects geoserver requests to port 8080 correctly. But in this<br class="">development environment, I don't know how we must handle that.<br class=""><br class=""><br class=""><br class="">El mar., 16 abr. 2019 a las 17:41, 1520 gis (<<br class="">juliermeopensourcedeveloper@gmail.com>) escribió:<br class=""><br class=""><blockquote type="cite" class="">Hi Tomas,<br class=""><br class="">What GeoNode installation method are you using?<br class=""><br class="">In your local_settings.py, see if this change can help you:<br class=""><br class="">*# **C**omment the line**s*#GEOSERVER_PUBLIC_PORT = os.getenv(#    'GEOSERVER_PUBLIC_PORT', *SITE_HOST_PORT*#)*# Add the lines*GEOSERVER_PUBLIC_PORT = os.getenv(    'GEOSERVER_PUBLIC_PORT', '*8080*')<br class=""><br class="">I hope it helps<br class=""><br class="">Julierme<br class=""><br class="">On Tue, Apr 16, 2019 at 4:48 PM Tomas Link <tomaslink@spacesur.com> wrote:<br class=""><br class=""><blockquote type="cite" class="">Hi all,<br class=""><br class="">I've just installed successfully GeoNode 2.10rc4 for development.<br class="">After running paver start I can enter GeoNode app, and also GeoServer app<br class="">if I put the correct URL in the browser. But the comunication between<br class="">GeoNode and GeoServer is not working. I cannot see from GeoNode any layers<br class="">uploaded, and when I try to enter GeoServer from the link in GeoNode, it<br class="">fails to redirect because it's going to port 8000, and GeoServer is in port<br class="">8080.<br class=""><br class="">Is there any proxy configuration for django that i'm missing?<br class=""><br class="">Thanks in advance,<br class=""><br class="">Tomás<br class=""><br class=""><br class=""><br class="">--<br class=""><br class=""><br class="">Tomás Juan Link<br class=""><br class="">Software Developer<br class=""><br class="">+54 (11) 4342-2976/84<br class=""><br class="">www.spacesur.com<br class=""><br class="">_______________________________________________<br class="">geonode-users mailing list<br class="">geonode-users@lists.osgeo.org<br class="">https://lists.osgeo.org/mailman/listinfo/geonode-users<br class=""><br class=""></blockquote><br class=""></blockquote><br class="">-- <br class=""><br class=""><br class="">Tomás Juan Link<br class=""><br class="">Software Developer<br class=""><br class="">+54 (11) 4342-2976/84<br class=""><br class="">www.spacesur.com<br class="">-------------- next part --------------<br class="">An HTML attachment was scrubbed...<br class="">URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190416/2f1fb578/attachment.html><br class=""><br class="">------------------------------<br class=""><br class="">Subject: Digest Footer<br class=""><br class="">_______________________________________________<br class="">geonode-users mailing list<br class="">geonode-users@lists.osgeo.org<br class="">https://lists.osgeo.org/mailman/listinfo/geonode-users<br class=""><br class=""><br class="">------------------------------<br class=""><br class="">End of geonode-users Digest, Vol 51, Issue 12<br class="">*********************************************<br class=""></div></div></blockquote></div><br class=""></div></body></html>