<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear Daniel,<div class=""><br class=""></div><div class="">some Mails ago you wrote:</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><blockquote type="cite" class="">I then created a superuser and updated the<br class="">IP.<br class=""></blockquote></blockquote></blockquote><div class=""><br class=""></div>How did you update your IP?</div><div class="">a) by changing it directly in local_settings.py</div><div class="">b) by geonode-updateip #</div><div class=""><br class=""></div><div class="">b) should configure oauth for you:</div><div class=""><a href="https://github.com/GeoNode/geonode/blob/91cab33f61cdbd5523dd330eda8119c8c9509fb8/package/support/geonode.updateip#L126" class="">https://github.com/GeoNode/geonode/blob/91cab33f61cdbd5523dd330eda8119c8c9509fb8/package/support/geonode.updateip#L126</a></div><div class=""><br class=""></div><div class="">If after that I´m still facing problems with auth I continue by</div><div class="">searching for a updated (old) IP within the geoserver</div><div class="">security directory grep -R …</div><div class=""><br class=""></div><div class="">Don´t forget to restart your tomcat after any changes.</div><div class=""><br class=""></div><div class="">cheers,</div><div class=""><br class=""></div><div class="">Toni</div><div class=""><br class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div class="">-----------------------------------------------</div><div class="">CSGIS</div><div class=""><br class=""></div><div class="">-----------------------------------------------</div><div class=""><div class="" style="orphans: 2; widows: 2;">Kolonnadenstraße 1</div><div class="" style="orphans: 2; widows: 2;">04109 Leipzig</div></div><div class="">-----------------------------------------------</div><div class="">Mobil<span class="Apple-tab-span" style="white-space: pre;">      </span>+49/ (0) 176 6680 3198</div><div class="">Tel <span class="Apple-tab-span" style="white-space: pre;">         </span>+49/ (0) 341 24 04 738</div><div class="">Fax <span class="Apple-tab-span" style="white-space: pre;">         </span>+49/ (0) 341 24 04 73</div><div class="">Web<span class="Apple-tab-span" style="white-space: pre;">                </span><a href="http://csgis.de" class="">http://csgis.de</a></div><div class="">-----------------------------------------------</div><div class=""><br class=""></div><div class="">Hinweis gemäß § 33 BDSG</div><div class="">Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den </div><div class="">Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich </div><div class="">erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht </div><div class="">von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, </div><div class="">Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.</div></div></div></div></div></div></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">Am 17.11.2017 um 17:06 schrieb <a href="mailto:geonode-users-request@lists.osgeo.org" class="">geonode-users-request@lists.osgeo.org</a>:</div><br class="Apple-interchange-newline"><div class=""><div class="">Send geonode-users mailing list submissions to<br class=""><span class="Apple-tab-span" style="white-space:pre">      </span><a href="mailto:geonode-users@lists.osgeo.org" class="">geonode-users@lists.osgeo.org</a><br class=""><br class="">To subscribe or unsubscribe via the World Wide Web, visit<br class=""><span class="Apple-tab-span" style="white-space:pre">   </span>https://lists.osgeo.org/mailman/listinfo/geonode-users<br class="">or, via email, send a message with subject or body 'help' to<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>geonode-users-request@lists.osgeo.org<br class=""><br class="">You can reach the person managing the list at<br class=""><span class="Apple-tab-span" style="white-space:pre">   </span>geonode-users-owner@lists.osgeo.org<br class=""><br class="">When replying, please edit your Subject line so it is more specific<br class="">than "Re: Contents of geonode-users digest..."<br class=""><br class=""><br class="">Today's Topics:<br class=""><br class="">   1. Re: Dificulty logging into GeoServer (Daniel Victoria)<br class=""><br class=""><br class="">----------------------------------------------------------------------<br class=""><br class="">Message: 1<br class="">Date: Fri, 17 Nov 2017 16:06:36 +0000<br class="">From: Daniel Victoria <daniel.victoria@gmail.com><br class="">To: Alessio Fabiani <alessio.fabiani@geo-solutions.it><br class="">Cc: "geonode-users@lists.osgeo.org" <geonode-users@lists.osgeo.org><br class="">Subject: Re: [GeoNode-users] Dificulty logging into GeoServer<br class="">Message-ID:<br class=""><span class="Apple-tab-span" style="white-space:pre">  </span><CA+irsJi+AgtSGSZKoaNEBQUcpT=xSc_u4BieqKH1iqVHvouO4A@mail.gmail.com><br class="">Content-Type: text/plain; charset="utf-8"<br class=""><br class="">Just found out that GeoServer autentication stops working after I try to<br class="">look at any raster layer using the OpenLayers Map Preview. And if it's<br class="">broken in one browser (firefox, for exemple), it's still working in another<br class="">(chomium)<br class=""><br class="">Very strange...<br class=""><br class="">On Fri, Nov 17, 2017 at 1:21 PM Daniel Victoria <daniel.victoria@gmail.com><br class="">wrote:<br class=""><br class=""><blockquote type="cite" class="">The funny thing is that it works the first time I login after a<br class="">apache/tomcat restart<br class=""><br class="">Where can I look to try and debug this problem?<br class=""><br class="">I'm also seeing this in apache error.log. Not sure if it's related:<br class=""><br class="">extern "Python": function Cryptography_rand_bytes() called, but<br class="">@ffi.def_extern() was not called in the current subinterpreter.  Returning<br class="">0.<br class=""><br class=""><br class="">On Fri, Nov 17, 2017 at 1:12 PM Alessio Fabiani <<br class="">alessio.fabiani@geo-solutions.it> wrote:<br class=""><br class=""><blockquote type="cite" class="">Ok, so the problem arise when you try to use the geonode button, right?<br class=""><br class="">In that case I'm afraid there's an issue on the OAuth2 configuration<br class="">which can be either on GeoNode side, GeoServer side or both :(<br class=""><br class="">Also you have to be sure that GeoServer can reach GeoNode in order to<br class="">validate the credentials and successfully complete the handshake.<br class=""><br class="">Regards,<br class=""><br class="">Alessio Fabiani<br class=""><br class="">==<br class="">GeoServer Professional Services from the experts! Visit<br class="">http://goo.gl/it488V for more information.<br class="">==<br class=""><br class="">Ing. Alessio Fabiani<br class=""><br class="">@alfa7691<br class="">Founder/Technical Lead<br class=""><br class=""><br class="">GeoSolutions S.A.S.<br class="">Via di Montramito 3/A<br class=""><https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g><br class="">55054  Massarosa<br class=""><https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g><br class="">(LU)<br class="">Italy<br class="">phone: +39 0584 962313 <+39%200584%20962313><br class="">fax:     +39 0584 1660272 <+39%200584%20166%200272><br class="">mob:   +39 331 6233686 <+39%20331%20623%203686><br class=""><br class="">http://www.geo-solutions.it<br class="">http://twitter.com/geosolutions_it<br class=""><br class="">-------------------------------------------------------<br class=""><br class="">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003<br class=""><br class="">Le informazioni contenute in questo messaggio di posta elettronica e/o<br class="">nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il<br class="">loro utilizzo è consentito esclusivamente al destinatario del messaggio,<br class="">per le finalità indicate nel messaggio stesso. Qualora riceviate questo<br class="">messaggio senza esserne il destinatario, Vi preghiamo cortesemente di<br class="">darcene notizia via e-mail e di procedere alla distruzione del messaggio<br class="">stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,<br class="">divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od<br class="">utilizzarlo per finalità diverse, costituisce comportamento contrario ai<br class="">principi dettati dal D.Lgs. 196/2003.<br class=""><br class="">The information in this message and/or attachments, is intended solely<br class="">for the attention and use of the named addressee(s) and may be confidential<br class="">or proprietary in nature or covered by the provisions of privacy act<br class="">(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection<br class="">Code).Any use not in accord with its purpose, any disclosure, reproduction,<br class="">copying, distribution, or either dissemination, either whole or partial, is<br class="">strictly forbidden except previous formal approval of the named<br class="">addressee(s). If you are not the intended recipient, please contact<br class="">immediately the sender by telephone, fax or e-mail and delete the<br class="">information in this message that has been received in error. The sender<br class="">does not give any warranty or accept liability as the content, accuracy or<br class="">completeness of sent messages and accepts no responsibility  for changes<br class="">made after they were sent or for other risks which arise as a result of<br class="">e-mail transmission, viruses, etc.<br class=""><br class="">On Fri, Nov 17, 2017 at 4:06 PM, Daniel Victoria <<br class="">daniel.victoria@gmail.com> wrote:<br class=""><br class=""><blockquote type="cite" class="">Hi Alessio,<br class=""><br class="">I can log into Geoserver using the admin password.<br class=""><br class="">And the geoserver web gui works also<br class=""><br class=""><br class="">On Fri, Nov 17, 2017 at 11:49 AM Alessio Fabiani <<br class="">alessio.fabiani@geo-solutions.it> wrote:<br class=""><br class=""><blockquote type="cite" class="">Hi Daniel,<br class="">a question, are you able to login to GeoServer at least the first time<br class="">or you cannot login to GeoServer anyway?<br class=""><br class="">Also the GeoServer web gui appears, even if you are not logged in, if<br class="">you go directly to the geoserver url?<br class=""><br class="">Regards,<br class=""><br class="">Alessio Fabiani<br class=""><br class="">==<br class="">GeoServer Professional Services from the experts! Visit<br class="">http://goo.gl/it488V for more information.<br class="">==<br class=""><br class="">Ing. Alessio Fabiani<br class=""><br class="">@alfa7691<br class="">Founder/Technical Lead<br class=""><br class=""><br class="">GeoSolutions S.A.S.<br class="">Via di Montramito 3/A<br class=""><https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g><br class="">55054  Massarosa<br class=""><https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g><br class="">(LU)<br class="">Italy<br class="">phone: +39 0584 962313 <+39%200584%20962313><br class="">fax:     +39 0584 1660272 <+39%200584%20166%200272><br class="">mob:   +39 331 6233686 <+39%20331%20623%203686><br class=""><br class="">http://www.geo-solutions.it<br class="">http://twitter.com/geosolutions_it<br class=""><br class="">-------------------------------------------------------<br class=""><br class="">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003<br class=""><br class="">Le informazioni contenute in questo messaggio di posta elettronica e/o<br class="">nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il<br class="">loro utilizzo è consentito esclusivamente al destinatario del messaggio,<br class="">per le finalità indicate nel messaggio stesso. Qualora riceviate questo<br class="">messaggio senza esserne il destinatario, Vi preghiamo cortesemente di<br class="">darcene notizia via e-mail e di procedere alla distruzione del messaggio<br class="">stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,<br class="">divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od<br class="">utilizzarlo per finalità diverse, costituisce comportamento contrario ai<br class="">principi dettati dal D.Lgs. 196/2003.<br class=""><br class="">The information in this message and/or attachments, is intended solely<br class="">for the attention and use of the named addressee(s) and may be confidential<br class="">or proprietary in nature or covered by the provisions of privacy act<br class="">(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection<br class="">Code).Any use not in accord with its purpose, any disclosure, reproduction,<br class="">copying, distribution, or either dissemination, either whole or partial, is<br class="">strictly forbidden except previous formal approval of the named<br class="">addressee(s). If you are not the intended recipient, please contact<br class="">immediately the sender by telephone, fax or e-mail and delete the<br class="">information in this message that has been received in error. The sender<br class="">does not give any warranty or accept liability as the content, accuracy or<br class="">completeness of sent messages and accepts no responsibility  for changes<br class="">made after they were sent or for other risks which arise as a result of<br class="">e-mail transmission, viruses, etc.<br class=""><br class="">On Fri, Nov 17, 2017 at 2:20 PM, Daniel Victoria <<br class="">daniel.victoria@gmail.com> wrote:<br class=""><br class=""><blockquote type="cite" class="">Hi list,<br class=""><br class="">I just installed GeoNode 2.6 in a fresh Ubuntu Server, using the<br class="">ppa:geonode/stable repository. I then created a superuser and updated the<br class="">IP.<br class=""><br class="">After that i tried to log into GeoServer clicking on the GeoNode icon<br class="">that appears in the Geoserver web page but it did not work. It gave me a<br class="">"mismatching redirect uri" Searching the web I found some discussion about<br class="">setting up GeoServer to allow for Oauth2 to work<br class=""><br class="">https://lists.osgeo.org/pipermail/geonode-users/2017-June/003261.html<br class=""><br class="">This I followed the steps detailed in a Google Docs written by Alessio<br class="">Fabiani. After that, things seamed to work. I would log into GeoNode as<br class="">admin, go to GeoServer and things would work. But if I close geoserver and<br class="">open again, I'm logged out. And when I click on the GeoNode icon, to log<br class="">into geoserver, I'm recieve a 404 error<br class=""><br class="">HTTP Status 404 -<br class="">------------------------------<br class=""><br class="">*type* Status report<br class=""><br class="">*message*<br class=""><br class="">*description* *The requested resource is not available.*<br class="">------------------------------<br class="">Apache Tomcat/7.0.68 (Ubuntu)<br class=""><br class="">Any idea what is going on?<br class=""><br class="">Thanks<br class="">Daniel<br class=""><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=""></blockquote><br class=""></blockquote></blockquote><br class=""></blockquote></blockquote>-------------- next part --------------<br class="">An HTML attachment was scrubbed...<br class="">URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20171117/50a1993e/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 34, Issue 32<br class="">*********************************************<br class=""></div></div></blockquote></div><br class=""></div></body></html>