<div dir="ltr">Hi, seems that you have set a <span style="font-size:12.8px">PROXY_ALLOWED_HOSTS = ['ip1', 'ip2',] using square brackets, you should use normal parenthesis </span><span style="font-size:12.8px">PROXY_ALLOWED_HOSTS = ('ip1','ip2',)</span></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-13 14:29 GMT+02:00 David Alda Fernandez de Lezea <span dir="ltr"><<a href="mailto:dalda@hazi.eus" target="_blank">dalda@hazi.eus</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi list,<br>
<br>
>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:<br>
<br>
[Tue Oct 13 07:24:33 2015] [error] Internal Server Error: /proxy/<br>
[Tue Oct 13 07:24:33 2015] [error] Traceback (most recent call last):<br>
[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<br>
[Tue Oct 13 07:24:33 2015] [error] response = callback(request, *callback_args, **callback_kwargs)<br>
[Tue Oct 13 07:24:33 2015] [error] File "/usr/local/lib/python2.7/dist-packages/geonode/proxy/views.py", line 31, in proxy<br>
[Tue Oct 13 07:24:33 2015] [error] PROXY_ALLOWED_HOSTS = (ogc_server_settings.hostname,) + getattr(settings, 'PROXY_ALLOWED_HOSTS', ())<br>
[Tue Oct 13 07:24:33 2015] [error] TypeError: can only concatenate tuple (not "list") to tuple<br>
[Tue Oct 13 07:24:33 2015] [error] Internal Server Error: /proxy/<br>
[Tue Oct 13 07:24:33 2015] [error] Traceback (most recent call last):<br>
[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<br>
[Tue Oct 13 07:24:33 2015] [error] response = callback(request, *callback_args, **callback_kwargs)<br>
[Tue Oct 13 07:24:33 2015] [error] File "/usr/local/lib/python2.7/dist-packages/geonode/proxy/views.py", line 31, in proxy<br>
[Tue Oct 13 07:24:33 2015] [error] PROXY_ALLOWED_HOSTS = (ogc_server_settings.hostname,) + getattr(settings, 'PROXY_ALLOWED_HOSTS', ())<br>
[Tue Oct 13 07:24:33 2015] [error] TypeError: can only concatenate tuple (not "list") to tuple<br>
<br>
Do I have to configure anything related with grants or something like that?<br>
<br>
Thanks in advance,<br>
<br>
Agur bero bat,<br>
<br>
<br>
David Alda Fernández de Lezea<br>
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.<br>
dalda@hazi.eus | www.hazi.eus<br>
T 945 003 240 - M 627 923 170 - F 945 003 290<br>
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba<br>
<br>
********************* LEGE OHARRA ******************* AVISOLEGAL ******************* DISCLAIMER *****************************<br>
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.<br>
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.<br>
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.<br>
<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>