[GeoNode-users] Proxy error with geoserver link in my profile

Maxime Audet-Roberge maximeaudetr at hotmail.com
Wed May 29 18:06:08 PDT 2019


Hi Alessio,

First I want to thank you for your quick answer, I really appreciate!

I looked at my local_config.py file and I already have a GEOSERVER_WEB_UI_LOCATION variable:

GEOSERVER_WEB_UI_LOCATION = os.getenv(
    'GEOSERVER_WEB_UI_LOCATION', GEOSERVER_LOCATION
)

and my GEOSERVER_LOCATION variable is:

GEOSERVER_LOCATION = os.getenv(
    'GEOSERVER_LOCATION', 'http://localhost/geoserver/'
)

I tried to set it with a value:

GEOSERVER_WEB_UI_LOCATION = 'http://localhost/geoserver/'

Without success. I still have the same issue.

Do you have any idea what I should try next?

Thanks for your help!

Maxime
________________________________
De : Alessio Fabiani <alessio.fabiani at geo-solutions.it>
Envoyé : 29 mai 2019 03:29
À : Maxime Audet-Roberge
Cc : geonode-users at lists.osgeo.org
Objet : Re: [GeoNode-users] Proxy error with geoserver link in my profile

Hello Maxime,
define either an environment variable or set explicitly on your settings the following variable

GEOSERVER_WEB_UI_LOCATION=http://<full_address_of_geoserver>/




Il giorno mer 29 mag 2019 alle ore 03:32 Maxime Audet-Roberge <maximeaudetr at hotmail.com<mailto:maximeaudetr at hotmail.com>> ha scritto:

Hello GeoNode Users,


I installed GeoNode 2.10 rc5 on a Ubuntu 18.04 VM following the guide written by GeoSolutions (https://docs.google.com/document/d/1jNg2BKn2H9Haoyqpe7XkK_Nj-siL7PUlhP40hGi9OZ8/edit). I also installed GeoServer 2.15.1. Almost everything is working fine so far, I have access to geoserver and the authentication works! However, I have some issues. Here is one: the link to geoserver in my profile is not working and I have a proxy error.


When I click on the top left menu (I am logged as admin), the GeoServer link is localhost/geoserver. This link is workong fine when I click on it. However, if I open my profile (localhost/people/admin/), the link to geoserver will be localhost/proxy/?url=http://localhost/geoserver. When I click on this link, I have the following message in my browser : “The proxy service requires a URL-encoded URL as a parameter.” and the address is “localhost/proxy/web”.


Do you have any idea how I can avoid this error?


Thanks a lot!


Maxime

_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/geonode-users


--

==

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
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190530/113365f1/attachment-0001.html>


More information about the geonode-users mailing list