[GeoNode-users] Dificulty logging into GeoServer

Alessio Fabiani alessio.fabiani at geo-solutions.it
Fri Nov 17 08:32:46 PST 2017


Hi Daniel,
currently there's a known issue on GeoServer preview with OAuth2, not
correctly managing the Oauth2 token. Maybe this is the case.

Regards,

Alessio Fabiani

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==

Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

On Fri, Nov 17, 2017 at 5:06 PM, Daniel Victoria <daniel.victoria at gmail.com>
wrote:

> Just found out that GeoServer autentication stops working after I try to
> look at any raster layer using the OpenLayers Map Preview. And if it's
> broken in one browser (firefox, for exemple), it's still working in another
> (chomium)
>
> Very strange...
>
>
> On Fri, Nov 17, 2017 at 1:21 PM Daniel Victoria <daniel.victoria at gmail.com>
> wrote:
>
>> The funny thing is that it works the first time I login after a
>> apache/tomcat restart
>>
>> Where can I look to try and debug this problem?
>>
>> I'm also seeing this in apache error.log. Not sure if it's related:
>>
>> extern "Python": function Cryptography_rand_bytes() called, but
>> @ffi.def_extern() was not called in the current subinterpreter.  Returning
>> 0.
>>
>>
>> On Fri, Nov 17, 2017 at 1:12 PM Alessio Fabiani <alessio.fabiani at geo-
>> solutions.it> wrote:
>>
>>> Ok, so the problem arise when you try to use the geonode button, right?
>>>
>>> In that case I'm afraid there's an issue on the OAuth2 configuration
>>> which can be either on GeoNode side, GeoServer side or both :(
>>>
>>> Also you have to be sure that GeoServer can reach GeoNode in order to
>>> validate the credentials and successfully complete the handshake.
>>>
>>> Regards,
>>>
>>> Alessio Fabiani
>>>
>>> ==
>>> GeoServer Professional Services from the experts! Visit
>>> http://goo.gl/it488V for more information.
>>> ==
>>>
>>> Ing. Alessio Fabiani
>>>
>>> @alfa7691
>>> Founder/Technical Lead
>>>
>>>
>>> GeoSolutions S.A.S.
>>> Via di Montramito 3/A
>>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
>>> 55054  Massarosa
>>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
>>> (LU)
>>> Italy
>>> phone: +39 0584 962313 <+39%200584%20962313>
>>> fax:     +39 0584 1660272 <+39%200584%20166%200272>
>>> mob:   +39 331 6233686 <+39%20331%20623%203686>
>>>
>>> http://www.geo-solutions.it
>>> http://twitter.com/geosolutions_it
>>>
>>> -------------------------------------------------------
>>>
>>> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>>>
>>> Le informazioni contenute in questo messaggio di posta elettronica e/o
>>> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
>>> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
>>> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
>>> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
>>> darcene notizia via e-mail e di procedere alla distruzione del messaggio
>>> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
>>> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
>>> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
>>> principi dettati dal D.Lgs. 196/2003.
>>>
>>> The information in this message and/or attachments, is intended solely
>>> for the attention and use of the named addressee(s) and may be confidential
>>> or proprietary in nature or covered by the provisions of privacy act
>>> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
>>> Code).Any use not in accord with its purpose, any disclosure, reproduction,
>>> copying, distribution, or either dissemination, either whole or partial, is
>>> strictly forbidden except previous formal approval of the named
>>> addressee(s). If you are not the intended recipient, please contact
>>> immediately the sender by telephone, fax or e-mail and delete the
>>> information in this message that has been received in error. The sender
>>> does not give any warranty or accept liability as the content, accuracy or
>>> completeness of sent messages and accepts no responsibility  for changes
>>> made after they were sent or for other risks which arise as a result of
>>> e-mail transmission, viruses, etc.
>>>
>>> On Fri, Nov 17, 2017 at 4:06 PM, Daniel Victoria <
>>> daniel.victoria at gmail.com> wrote:
>>>
>>>> Hi Alessio,
>>>>
>>>> I can log into Geoserver using the admin password.
>>>>
>>>> And the geoserver web gui works also
>>>>
>>>>
>>>> On Fri, Nov 17, 2017 at 11:49 AM Alessio Fabiani <alessio.fabiani at geo-
>>>> solutions.it> wrote:
>>>>
>>>>> Hi Daniel,
>>>>> a question, are you able to login to GeoServer at least the first time
>>>>> or you cannot login to GeoServer anyway?
>>>>>
>>>>> Also the GeoServer web gui appears, even if you are not logged in, if
>>>>> you go directly to the geoserver url?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Alessio Fabiani
>>>>>
>>>>> ==
>>>>> GeoServer Professional Services from the experts! Visit
>>>>> http://goo.gl/it488V for more information.
>>>>> ==
>>>>>
>>>>> Ing. Alessio Fabiani
>>>>>
>>>>> @alfa7691
>>>>> Founder/Technical Lead
>>>>>
>>>>>
>>>>> GeoSolutions S.A.S.
>>>>> Via di Montramito 3/A
>>>>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
>>>>> 55054  Massarosa
>>>>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
>>>>> (LU)
>>>>> Italy
>>>>> phone: +39 0584 962313 <+39%200584%20962313>
>>>>> fax:     +39 0584 1660272 <+39%200584%20166%200272>
>>>>> mob:   +39 331 6233686 <+39%20331%20623%203686>
>>>>>
>>>>> http://www.geo-solutions.it
>>>>> http://twitter.com/geosolutions_it
>>>>>
>>>>> -------------------------------------------------------
>>>>>
>>>>> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>>>>>
>>>>> Le informazioni contenute in questo messaggio di posta elettronica e/o
>>>>> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
>>>>> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
>>>>> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
>>>>> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
>>>>> darcene notizia via e-mail e di procedere alla distruzione del messaggio
>>>>> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
>>>>> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
>>>>> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
>>>>> principi dettati dal D.Lgs. 196/2003.
>>>>>
>>>>> The information in this message and/or attachments, is intended solely
>>>>> for the attention and use of the named addressee(s) and may be confidential
>>>>> or proprietary in nature or covered by the provisions of privacy act
>>>>> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
>>>>> Code).Any use not in accord with its purpose, any disclosure, reproduction,
>>>>> copying, distribution, or either dissemination, either whole or partial, is
>>>>> strictly forbidden except previous formal approval of the named
>>>>> addressee(s). If you are not the intended recipient, please contact
>>>>> immediately the sender by telephone, fax or e-mail and delete the
>>>>> information in this message that has been received in error. The sender
>>>>> does not give any warranty or accept liability as the content, accuracy or
>>>>> completeness of sent messages and accepts no responsibility  for changes
>>>>> made after they were sent or for other risks which arise as a result of
>>>>> e-mail transmission, viruses, etc.
>>>>>
>>>>> On Fri, Nov 17, 2017 at 2:20 PM, Daniel Victoria <
>>>>> daniel.victoria at gmail.com> wrote:
>>>>>
>>>>>> Hi list,
>>>>>>
>>>>>> I just installed GeoNode 2.6 in a fresh Ubuntu Server, using the
>>>>>> ppa:geonode/stable repository. I then created a superuser and updated the
>>>>>> IP.
>>>>>>
>>>>>> After that i tried to log into GeoServer clicking on the GeoNode icon
>>>>>> that appears in the Geoserver web page but it did not work. It gave me a
>>>>>> "mismatching redirect uri" Searching the web I found some discussion about
>>>>>> setting up GeoServer to allow for Oauth2 to work
>>>>>>
>>>>>> https://lists.osgeo.org/pipermail/geonode-users/2017-June/003261.html
>>>>>>
>>>>>> This I followed the steps detailed in a Google Docs written by
>>>>>> Alessio Fabiani. After that, things seamed to work. I would log into
>>>>>> GeoNode as admin, go to GeoServer and things would work. But if I close
>>>>>> geoserver and open again, I'm logged out. And when I click on the GeoNode
>>>>>> icon, to log into geoserver, I'm recieve a 404 error
>>>>>>
>>>>>> HTTP Status 404 -
>>>>>> ------------------------------
>>>>>>
>>>>>> *type* Status report
>>>>>>
>>>>>> *message*
>>>>>>
>>>>>> *description* *The requested resource is not available.*
>>>>>> ------------------------------
>>>>>> Apache Tomcat/7.0.68 (Ubuntu)
>>>>>>
>>>>>> Any idea what is going on?
>>>>>>
>>>>>> Thanks
>>>>>> Daniel
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> geonode-users mailing list
>>>>>> geonode-users at lists.osgeo.org
>>>>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>>>
>>>>>>
>>>>>
>>>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20171117/27986718/attachment-0001.html>


More information about the geonode-users mailing list