[GeoNode-users] Error adding remote service

Simone Dalmasso simone.dalmasso at gmail.com
Tue Oct 13 05:40:25 PDT 2015


Hi, seems that you have set a PROXY_ALLOWED_HOSTS = ['ip1', 'ip2',] using
square brackets, you should use normal parenthesis PROXY_ALLOWED_HOSTS =
('ip1','ip2',)

2015-10-13 14:29 GMT+02:00 David Alda Fernandez de Lezea <dalda at hazi.eus>:

> Hi list,
>
> From the user interface, while creating a Map, I'm trying to add a remote
> WMS, from another organization but without success, indeed I'm getting the
> following error:
>
> [Tue Oct 13 07:24:33 2015] [error] Internal Server Error: /proxy/
> [Tue Oct 13 07:24:33 2015] [error] Traceback (most recent call last):
> [Tue Oct 13 07:24:33 2015] [error]   File
> "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 115,
> in get_response
> [Tue Oct 13 07:24:33 2015] [error]     response = callback(request,
> *callback_args, **callback_kwargs)
> [Tue Oct 13 07:24:33 2015] [error]   File
> "/usr/local/lib/python2.7/dist-packages/geonode/proxy/views.py", line 31,
> in proxy
> [Tue Oct 13 07:24:33 2015] [error]     PROXY_ALLOWED_HOSTS =
> (ogc_server_settings.hostname,) + getattr(settings, 'PROXY_ALLOWED_HOSTS',
> ())
> [Tue Oct 13 07:24:33 2015] [error] TypeError: can only concatenate tuple
> (not "list") to tuple
> [Tue Oct 13 07:24:33 2015] [error] Internal Server Error: /proxy/
> [Tue Oct 13 07:24:33 2015] [error] Traceback (most recent call last):
> [Tue Oct 13 07:24:33 2015] [error]   File
> "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 115,
> in get_response
> [Tue Oct 13 07:24:33 2015] [error]     response = callback(request,
> *callback_args, **callback_kwargs)
> [Tue Oct 13 07:24:33 2015] [error]   File
> "/usr/local/lib/python2.7/dist-packages/geonode/proxy/views.py", line 31,
> in proxy
> [Tue Oct 13 07:24:33 2015] [error]     PROXY_ALLOWED_HOSTS =
> (ogc_server_settings.hostname,) + getattr(settings, 'PROXY_ALLOWED_HOSTS',
> ())
> [Tue Oct 13 07:24:33 2015] [error] TypeError: can only concatenate tuple
> (not "list") to tuple
>
> Do I have to configure anything related with grants or something like that?
>
> Thanks in advance,
>
> Agur bero bat,
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> dalda at hazi.eus | www.hazi.eus
> T 945 003 240 - M 627 923 170 - F 945 003 290
> Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba
>
> *********************  LEGE OHARRA   *******************   AVISOLEGAL
> *******************   DISCLAIMER   *****************************
> Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera
> debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta
> kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>



-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20151013/1db7da26/attachment.html>


More information about the geonode-users mailing list