[GeoNode-users] Issues adding WMS URL in GeoNode

Simone Dalmasso simone.dalmasso at gmail.com
Tue Jun 20 05:19:45 PDT 2017


Unfortunately I don't have any other advice, if the server is properly
connected to the internet and is correctly accessing it, then it should
work without requiring specific settings but the PROXY_ALLOWED_HOSTS, which
you already set.


2017-06-20 14:08 GMT+02:00 Naresh N <naresh919 at gmail.com>:

> Dear Simone,
> Thanks for the responses
> As you told the following request getting proper response
> http://demo.geonode.org/proxy/?url=http%3A%2F%2Ffase2kort.kl
> imatilpasning.dk%3A80%2Fgeoserver%2Fwms%3FSERVICE%3DWMS%
> 26REQUEST%3DGetCapabilities%26TILED%3Dtrue%26VERSION%3D1.1.1
>
> and in case of my geonode  the following request is getting the error
>
> http://localhost/proxy/?url=http%3A%2F%2Ffase2kort.klimatilp
> asning.dk%3A80%2Fgeoserver%2Fwms%3FSERVICE%3DWMS%
> 26REQUEST%3DGetCapabilities%26TILED%3Dtrue%26VERSION%3D1.1.1
>
> However in my browser with the url : http://fase2kort.klimatilpas
> ning.dk/geoserver/wms?SERVICE=WMS&REQUEST=GetCapabilities&
> TILED=true&VERSION=1.1.1, it is getting proper respone
>
> Do I need to add *my proxy server address some where in GeoNode code*? or
> proxy address will take directly from the system?  I have also asked
> network administrator, but  they are not able to understand
> As you know, this functionality is very much important, as it will connect
> others server and fetch the data . Please  suggest some clue to resolve
>
> Thanks,
> Naresh
>
> On Tue, Jun 20, 2017 at 5:13 PM, Simone Dalmasso <
> simone.dalmasso at gmail.com> wrote:
>
>> No, that server is not responding to ping so it will never work. Not sure
>> what setting you need for the server but to me it looks an error related to
>> your network. On demo.geonode.org is, for example, working.
>>
>> 2017-06-20 12:45 GMT+02:00 Naresh N <naresh919 at gmail.com>:
>>
>>> Dear Simone,
>>>   I have opened the terminal in  my server(Geonode deployed system) and
>>> typed the ping  fase2kort.klimatilpasning.dk, but not getting
>>> connected. Do I need to change/add my server settings?
>>>
>>> Thanks,
>>> Naresh
>>>
>>> On Tue, Jun 20, 2017 at 3:46 PM, Simone Dalmasso <
>>> simone.dalmasso at gmail.com> wrote:
>>>
>>>> Ok so maybe your server is unable to reach that address, can you check
>>>> that?
>>>>
>>>> 2017-06-20 12:01 GMT+02:00 Naresh N <naresh919 at gmail.com>:
>>>>
>>>>> Dear Simone,
>>>>>  when I opened the http://fase2kort.klimatilp
>>>>> asning.dk:80/geoserver/wms
>>>>> <http://fase2kort.klimatilpasning.dk/geoserver/wms> in browsers, it
>>>>> is showine geoserver related error. Please find the attached response file
>>>>> for you  reference.
>>>>>
>>>>> Thanks,
>>>>> Naresh
>>>>>
>>>>> On Tue, Jun 20, 2017 at 3:14 PM, Simone Dalmasso <
>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>
>>>>>> It might be. Are you able to access that wms backend from in the
>>>>>> browser? http://fase2kort.klimatilpasning.dk:80/geoserver/wms
>>>>>> <http://fase2kort.klimatilpasning.dk/geoserver/wms>
>>>>>> it should give you an XML containing the geoserver error related to
>>>>>> missing request parameter.
>>>>>>
>>>>>> 2017-06-20 11:00 GMT+02:00 Naresh N <naresh919 at gmail.com>:
>>>>>>
>>>>>>> Dear Simone,
>>>>>>>   Yes we are in office campus, we are using proxy server. So  is
>>>>>>> this the reason?  if so where I need to do the changes?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Naresh
>>>>>>>
>>>>>>> On Tue, Jun 20, 2017 at 2:11 PM, Simone Dalmasso <
>>>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>>>
>>>>>>>> At this point I would check your local internet connection, are you
>>>>>>>> behind a proxy that may block it?
>>>>>>>>
>>>>>>>> 2017-06-20 10:37 GMT+02:00 Naresh N <naresh919 at gmail.com>:
>>>>>>>>
>>>>>>>>> Dear Simone,
>>>>>>>>>   Thanks for the responding.  As per I understand from below code
>>>>>>>>> in the proxy/views.py
>>>>>>>>> if not settings.DEBUG:
>>>>>>>>>         if not validate_host(url.hostname, PROXY_ALLOWED_HOSTS):
>>>>>>>>>             return HttpResponse("DEBUG is set to False but the
>>>>>>>>> host of the path provided to the proxy service"
>>>>>>>>>                                 " is not in the
>>>>>>>>> PROXY_ALLOWED_HOSTS setting.",
>>>>>>>>>                                 status=403,
>>>>>>>>>                                 content_type="text/plain"
>>>>>>>>>                                 )
>>>>>>>>>
>>>>>>>>>  if GeoNode  debug mode value is flase, the wms url may not be
>>>>>>>>> required to add in  PROXY_ALLOWED_HOSTS. And even if debug mode
>>>>>>>>> value is ture, it should show the following error 'DEBUG is set
>>>>>>>>> to False but the host of the path provided to the proxy service"
>>>>>>>>>                                 " is not in the
>>>>>>>>> PROXY_ALLOWED_HOSTS setting',. In my case nothing this kind of error/alert
>>>>>>>>> message is not getting
>>>>>>>>> And I added the  fase2kort.klimatilpasning.dk  in Demo GeoNode
>>>>>>>>> site, it is fetching the layers
>>>>>>>>> However now,I have added  fase2kort.klimatilpasning.dk in PROXY_ALLOWED_HOSTS
>>>>>>>>> = ('192.168.198.209',' 'fase2kort.klimatilpasning.dk',) but it is
>>>>>>>>> showing same error.
>>>>>>>>>
>>>>>>>>> I have been trying from last two days to overcome this issue, but
>>>>>>>>> not able to do. Please suggest anywhere more I need to investigate the
>>>>>>>>> code/settings?
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Naresh
>>>>>>>>>
>>>>>>>>> On Tue, Jun 20, 2017 at 1:19 PM, Simone Dalmasso <
>>>>>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Naresh, you should add the fase2kort.klimatilpasning.dk
>>>>>>>>>> <http://fase2kort.klimatilpasning.dk/geoserver/wms> string in
>>>>>>>>>> the PROXY_ALLOWED_HOSTS directive as every remote address should be
>>>>>>>>>> authorised there.
>>>>>>>>>>
>>>>>>>>>> I tested locally and seems to work.
>>>>>>>>>>
>>>>>>>>>> 2017-06-20 8:39 GMT+02:00 Naresh N <naresh919 at gmail.com>:
>>>>>>>>>>
>>>>>>>>>>> Dear Simone,
>>>>>>>>>>> After including comma in PROXY_ALLOWED_HOSTS .i.e. PROXY_ALLOWED_HOSTS
>>>>>>>>>>> = ('192.168.198.209', ) the error, str and tupple can not be concatenated
>>>>>>>>>>> is solved.
>>>>>>>>>>> How ever, not able to add any WMS Layer url, it is showing the
>>>>>>>>>>> following error.
>>>>>>>>>>> For example Layer URL: http://fase2kort.klimatilpasni
>>>>>>>>>>> ng.dk:80/geoserver/wms. Getting the following error.
>>>>>>>>>>> Internal Server Error: /proxy/
>>>>>>>>>>> [Mon Jun 19 23:59:55.230275 2017] [:error] [pid 17629] Traceback
>>>>>>>>>>> (most recent call last):
>>>>>>>>>>> [Mon Jun 19 23:59:55.230278 2017] [:error] [pid 17629] File
>>>>>>>>>>> "/usr/lib/python2.7/site-packages/django/core/handlers/base.py",
>>>>>>>>>>> line 112, in get_response
>>>>>>>>>>> [Mon Jun 19 23:59:55.230281 2017] [:error] [pid 17629] response
>>>>>>>>>>> = wrapped_callback(request, *callback_args, **callback_kwargs)
>>>>>>>>>>> [Mon Jun 19 23:59:55.230291 2017] [:error] [pid 17629] File
>>>>>>>>>>> "/data/cms/geonode/geonode/proxy/views.py", line 82, in proxy
>>>>>>>>>>> [Mon Jun 19 23:59:55.230294 2017] [:error] [pid 17629]
>>>>>>>>>>> conn.request(request.method, locator, request.body, headers)
>>>>>>>>>>> [Mon Jun 19 23:59:55.230296 2017] [:error] [pid 17629] File
>>>>>>>>>>> "/usr/lib64/python2.7/httplib.py", line 1017, in request
>>>>>>>>>>> [Mon Jun 19 23:59:55.230298 2017] [:error] [pid 17629]
>>>>>>>>>>> self._send_request(method, url, body, headers)
>>>>>>>>>>> [Mon Jun 19 23:59:55.230301 2017] [:error] [pid 17629] File
>>>>>>>>>>> "/usr/lib64/python2.7/httplib.py", line 1051, in _send_request
>>>>>>>>>>> [Mon Jun 19 23:59:55.230321 2017] [:error] [pid 17629]
>>>>>>>>>>> self.endheaders(body)
>>>>>>>>>>> [Mon Jun 19 23:59:55.230323 2017] [:error] [pid 17629] File
>>>>>>>>>>> "/usr/lib64/python2.7/httplib.py", line 1013, in endheaders
>>>>>>>>>>> [Mon Jun 19 23:59:55.230326 2017] [:error] [pid 17629]
>>>>>>>>>>> self._send_output(message_body)
>>>>>>>>>>> [Mon Jun 19 23:59:55.230329 2017] [:error] [pid 17629] File
>>>>>>>>>>> "/usr/lib64/python2.7/httplib.py", line 864, in _send_output
>>>>>>>>>>> [Mon Jun 19 23:59:55.232014 2017] [:error] [pid 17629]
>>>>>>>>>>> self.send(msg)
>>>>>>>>>>> [Mon Jun 19 23:59:55.232033 2017] [:error] [pid 17629] File
>>>>>>>>>>> "/usr/lib64/python2.7/httplib.py", line 826, in send
>>>>>>>>>>> [Mon Jun 19 23:59:55.232036 2017] [:error] [pid 17629]
>>>>>>>>>>> self.connect()
>>>>>>>>>>> [Mon Jun 19 23:59:55.232038 2017] [:error] [pid 17629] File
>>>>>>>>>>> "/usr/lib64/python2.7/httplib.py", line 807, in connect
>>>>>>>>>>> [Mon Jun 19 23:59:55.232040 2017] [:error] [pid 17629]
>>>>>>>>>>> self.timeout, self.source_address)
>>>>>>>>>>> [Mon Jun 19 23:59:55.232042 2017] [:error] [pid 17629] File
>>>>>>>>>>> "/usr/lib64/python2.7/socket.py", line 577, in create_connection
>>>>>>>>>>> [Mon Jun 19 23:59:55.232045 2017] [:error] [pid 17629] raise err
>>>>>>>>>>> [Mon Jun 19 23:59:55.232067 2017] [:error] [pid 17629] error:
>>>>>>>>>>> [Errno 111] Connection refused
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Even I went to httplib.py and socket.py with the alerts I could
>>>>>>>>>>> able to see the following WMS server IP and port details ('188.64.159.9',
>>>>>>>>>>> 80) and source_address is none
>>>>>>>>>>>
>>>>>>>>>>> Please help me how to resolve the issue, is that any where my
>>>>>>>>>>> GeoNode Deployed System Ip need to place?
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Naresh
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Jun 16, 2017 at 6:25 PM, Simone Dalmasso <
>>>>>>>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> It must be an array and not a tuple.
>>>>>>>>>>>>
>>>>>>>>>>>> I don't know what ssl misconfiguration could be
>>>>>>>>>>>>
>>>>>>>>>>>> Il giorno ven 16 giu 2017 alle 14:46 Naresh N <
>>>>>>>>>>>> naresh919 at gmail.com> ha scritto:
>>>>>>>>>>>>
>>>>>>>>>>>>> Dear Simone,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Now I added in settings.py PROXY_ALLOWED_HOSTS =
>>>>>>>>>>>>> ('192.168.198.209') and in proxy/views.py linenumber: 37 is reverted means
>>>>>>>>>>>>> removed ip adress and kept as hostname. It is showing following error
>>>>>>>>>>>>>
>>>>>>>>>>>>> [Fri Jun 16 07:31:27.174610 2017] [:error] [pid 17410]
>>>>>>>>>>>>> Internal Server Error: /proxy/
>>>>>>>>>>>>> [Fri Jun 16 07:31:27.174671 2017] [:error] [pid 17410]
>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>> [Fri Jun 16 07:31:27.174675 2017] [:error] [pid 17410]   File
>>>>>>>>>>>>> "/usr/lib/python2.7/site-packages/django/core/handlers/base.py",
>>>>>>>>>>>>> line 112, in get_response
>>>>>>>>>>>>> [Fri Jun 16 07:31:27.174679 2017] [:error] [pid 17410]
>>>>>>>>>>>>> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>>>>>>>>>>>>> [Fri Jun 16 07:31:27.174682 2017] [:error] [pid 17410]   File
>>>>>>>>>>>>> "/data/cms/geonode/geonode/proxy/views.py", line 37, in proxy
>>>>>>>>>>>>> [Fri Jun 16 07:31:27.174684 2017] [:error] [pid 17410]
>>>>>>>>>>>>> PROXY_ALLOWED_HOSTS +=hostname
>>>>>>>>>>>>> [Fri Jun 16 07:31:27.174686 2017] [:error] [pid 17410]
>>>>>>>>>>>>> TypeError: cannot concatenate 'str' and 'tuple' objects
>>>>>>>>>>>>> [Fri Jun 16 07:31:27.174674 2017] [:error] [pid 17409]
>>>>>>>>>>>>> Internal Server Error: /proxy/
>>>>>>>>>>>>> [Fri Jun 16 07:31:27.174707 2017] [:error] [pid 17409]
>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>> [Fri Jun 16 07:31:27.174711 2017] [:error] [pid 17409]   File
>>>>>>>>>>>>> "/usr/lib/python2.7/site-packages/django/core/handlers/base.py",
>>>>>>>>>>>>> line 112, in get_response
>>>>>>>>>>>>> [Fri Jun 16 07:31:27.174716 2017] [:error] [pid 17409]
>>>>>>>>>>>>> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>>>>>>>>>>>>> [Fri Jun 16 07:31:27.174719 2017] [:error] [pid 17409]   File
>>>>>>>>>>>>> "/data/cms/geonode/geonode/proxy/views.py", line 37, in proxy
>>>>>>>>>>>>> [Fri Jun 16 07:31:27.174721 2017] [:error] [pid 17409]
>>>>>>>>>>>>> PROXY_ALLOWED_HOSTS +=hostname
>>>>>>>>>>>>> [Fri Jun 16 07:31:27.174724 2017] [:error] [pid 17409] *TypeError:
>>>>>>>>>>>>> cannot concatenate 'str' and 'tuple' objects*
>>>>>>>>>>>>> [Fri Jun 16 18:01:29.759238 2017] [:error] [pid 17622]
>>>>>>>>>>>>> Misconfiguration of certificate's CN and virtual name. The certificate CN
>>>>>>>>>>>>> has localhost4.localdomain4. We expected localhost.localdomain as virtual
>>>>>>>>>>>>> name.
>>>>>>>>>>>>> [Fri Jun 16 18:01:36.561265 2017] [:error] [pid 17535] SSL
>>>>>>>>>>>>> Library Error: -12263 SSL received a record that exceeded the maximum
>>>>>>>>>>>>> permissible length
>>>>>>>>>>>>>
>>>>>>>>>>>>> if in proxy/views.py if i add in place of hostname ip adress
>>>>>>>>>>>>> of the GeoNode, The error '*TypeError: cannot concatenate
>>>>>>>>>>>>> 'str' and 'tuple' objects ' *will go, how ever the error
>>>>>>>>>>>>> which I mentioned in my earlier mail retains.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Please suggest how to overcome above error '*TypeError:
>>>>>>>>>>>>> cannot concatenate 'str' and 'tuple' objects ' *with out
>>>>>>>>>>>>> editing proxy/views.py
>>>>>>>>>>>>>
>>>>>>>>>>>>> And also kindly suggest me how to correct misconfiguration of
>>>>>>>>>>>>> SSL error, since I am not using https any where
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>> Naresh
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Fri, Jun 16, 2017 at 5:08 PM, Simone Dalmasso <
>>>>>>>>>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Not a good idea to modify the python files, You can add the
>>>>>>>>>>>>>> PROXY_ALLOWED_HOSTS in settings.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Anyway, seems you are running under ssl. Seems a
>>>>>>>>>>>>>> misconfiguration of it.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 2017-06-16 13:22 GMT+02:00 Naresh N <naresh919 at gmail.com>:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Dear Simone,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>  I have tried with the url provided
>>>>>>>>>>>>>>> http://demo.genode.org/geoserver/wms, getting the following
>>>>>>>>>>>>>>> error.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> [image: Inline image 1]
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> *Please find the apaahe error log file and attached views.py
>>>>>>>>>>>>>>> file from proxy folder of geonode for the reference. In view.py in line no:
>>>>>>>>>>>>>>> 37 is modified (commented host name and placed IP adrdress of GeoNode
>>>>>>>>>>>>>>> installed system)*
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663803 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> Internal Server Error: /proxy/
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663868 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663873 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/usr/lib/python2.7/site-packa
>>>>>>>>>>>>>>> ges/django/core/handlers/base.py", line 112, in get_response
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663876 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663878 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/data/cms/geonode/geonode/proxy/views.py", line 67,
>>>>>>>>>>>>>>> in proxy
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663881 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> conn.request(request.method, locator, request.body, headers)
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663883 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/usr/lib64/python2.7/httplib.py", line 1017, in
>>>>>>>>>>>>>>> request
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663886 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> self._send_request(method, url, body, headers)
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663888 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/usr/lib64/python2.7/httplib.py", line 1051, in
>>>>>>>>>>>>>>> _send_request
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663890 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> self.endheaders(body)
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663892 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/usr/lib64/python2.7/httplib.py", line 1013, in
>>>>>>>>>>>>>>> endheaders
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663895 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> self._send_output(message_body)
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663897 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/usr/lib64/python2.7/httplib.py", line 864, in
>>>>>>>>>>>>>>> _send_output
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663899 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> self.send(msg)
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663901 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/usr/lib64/python2.7/httplib.py", line 826, in send
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663905 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> self.connect()
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663907 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/usr/lib64/python2.7/httplib.py", line 807, in connect
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663909 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> self.timeout, self.source_address)
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663911 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/usr/lib64/python2.7/socket.py", line 571, in
>>>>>>>>>>>>>>> create_connection
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663914 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> raise err
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.663916 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> error: [Errno 111] Connection refused
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690555 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> Internal Server Error: /proxy/
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690580 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690584 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/usr/lib/python2.7/site-packa
>>>>>>>>>>>>>>> ges/django/core/handlers/base.py", line 112, in get_response
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690587 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690589 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/data/cms/geonode/geonode/proxy/views.py", line 67,
>>>>>>>>>>>>>>> in proxy
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690591 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> conn.request(request.method, locator, request.body, headers)
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690615 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/usr/lib64/python2.7/httplib.py", line 1017, in
>>>>>>>>>>>>>>> request
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690621 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> self._send_request(method, url, body, headers)
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690623 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/usr/lib64/python2.7/httplib.py", line 1051, in
>>>>>>>>>>>>>>> _send_request
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690626 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> self.endheaders(body)
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690628 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/usr/lib64/python2.7/httplib.py", line 1013, in
>>>>>>>>>>>>>>> endheaders
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690630 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> self._send_output(message_body)
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690632 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/usr/lib64/python2.7/httplib.py", line 864, in
>>>>>>>>>>>>>>> _send_output
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690635 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> self.send(msg)
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690637 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/usr/lib64/python2.7/httplib.py", line 826, in send
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690639 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> self.connect()
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690641 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/usr/lib64/python2.7/httplib.py", line 807, in connect
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690644 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> self.timeout, self.source_address)
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690646 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> File "/usr/lib64/python2.7/socket.py", line 571, in
>>>>>>>>>>>>>>> create_connection
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690648 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> raise err
>>>>>>>>>>>>>>> [Fri Jun 16 06:16:29.690650 2017] [:error] [pid 14902]
>>>>>>>>>>>>>>> error: [Errno 111] Connection refused
>>>>>>>>>>>>>>> [Fri Jun 16 16:46:32.233785 2017] [:error] [pid 15208]
>>>>>>>>>>>>>>> Misconfiguration of certificate's CN and virtual name. The certificate CN
>>>>>>>>>>>>>>> has localhost4.localdomain4. We expected localhost.localdomain as virtual
>>>>>>>>>>>>>>> name.
>>>>>>>>>>>>>>> [Fri Jun 16 16:46:39.030787 2017] [:error] [pid 15135] SSL
>>>>>>>>>>>>>>> Library Error: -12263 SSL received a record that exceeded the maximum
>>>>>>>>>>>>>>> permissible length
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Please kindly suggest me, do i need to modify some where
>>>>>>>>>>>>>>> else?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>> Naresh
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Thu, Jun 15, 2017 at 2:29 PM, Naresh N <
>>>>>>>>>>>>>>> naresh919 at gmail.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Dear Simone,
>>>>>>>>>>>>>>>>   Thanks. I will try with the provided url.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>> Naresh
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Thu, Jun 15, 2017 at 1:17 PM, Simone Dalmasso <
>>>>>>>>>>>>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> You can try with http://demo.geonode.org/geoserver/wms.
>>>>>>>>>>>>>>>>> Not sure about our other question, don't think is possible in the standard
>>>>>>>>>>>>>>>>> code.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 2017-06-15 9:42 GMT+02:00 Naresh N <naresh919 at gmail.com>:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Dear Simone,
>>>>>>>>>>>>>>>>>>   Thanks for the replies. Is any other External WMS Layer
>>>>>>>>>>>>>>>>>> url is available ,please share me to test.  Is that any mechanism is
>>>>>>>>>>>>>>>>>> available in case if WFS of Geoserver is disabled,not enabling EDIT option
>>>>>>>>>>>>>>>>>> while reading error code.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>> Naresh
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Thu, Jun 15, 2017 at 11:50 AM, Simone Dalmasso <
>>>>>>>>>>>>>>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Ah I see, then is not your or geonode fault. This is an
>>>>>>>>>>>>>>>>>>> issue of that geoserver.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> 2017-06-15 8:18 GMT+02:00 Naresh N <naresh919 at gmail.com>
>>>>>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Dear Simone,
>>>>>>>>>>>>>>>>>>>>   This url  http://bhuvan5.nrsc.gov.in/bhuvan/web/ is
>>>>>>>>>>>>>>>>>>>> external Geoserver of others and I am adding this
>>>>>>>>>>>>>>>>>>>> http://bhuvan5.nrsc.gov.in/bhuvan/web/ url to GeoNode
>>>>>>>>>>>>>>>>>>>> using Layers ->Add server option. It is adding but it shows the issue which
>>>>>>>>>>>>>>>>>>>> I mentioned in my earlier mail.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Please kindly add the url http://bhuvan5.nrsc.gov.in
>>>>>>>>>>>>>>>>>>>> /bhuvan/wms. in demo GeoNode site  and  can be
>>>>>>>>>>>>>>>>>>>> observed same issue.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>> Naresh
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Thu, Jun 15, 2017 at 11:39 AM, Simone Dalmasso <
>>>>>>>>>>>>>>>>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> This says 2.0.2 http://bhuvan5.nrsc.gov.in/bhuvan/web/
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 2017-06-15 8:07 GMT+02:00 Naresh N <
>>>>>>>>>>>>>>>>>>>>> naresh919 at gmail.com>:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Dear Simone,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>   Earlier I faced layer issue and with your guidance
>>>>>>>>>>>>>>>>>>>>>> i  have fixed the issue. Please find the link our earlier converstaion
>>>>>>>>>>>>>>>>>>>>>> http://osgeo-org.1560.x6.nabbl
>>>>>>>>>>>>>>>>>>>>>> e.com/Layer-Editing-Error-td5323603.html  which
>>>>>>>>>>>>>>>>>>>>>> contains the steps I followed to install.
>>>>>>>>>>>>>>>>>>>>>>  I have verified my geoserver instance  and version
>>>>>>>>>>>>>>>>>>>>>> is 2.7.4. Not able to understand from where you  observed my Geoserver
>>>>>>>>>>>>>>>>>>>>>> version is 2.0.2?.
>>>>>>>>>>>>>>>>>>>>>>  Please let me know any other information required to
>>>>>>>>>>>>>>>>>>>>>> solve the issue
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>> Naresh
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Thu, Jun 15, 2017 at 11:27 AM, Simone Dalmasso <
>>>>>>>>>>>>>>>>>>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> I see that your geoserver is 2.0.2 with 2.4 it
>>>>>>>>>>>>>>>>>>>>>>> should be 2.7.x. Could you clarify how you installed it?
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> 2017-06-15 7:36 GMT+02:00 Naresh N <
>>>>>>>>>>>>>>>>>>>>>>> naresh919 at gmail.com>:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Dear Simone,
>>>>>>>>>>>>>>>>>>>>>>>>  Yes, I followed steps from
>>>>>>>>>>>>>>>>>>>>>>>> http://docs.geonode.org/
>>>>>>>>>>>>>>>>>>>>>>>> en/2.4.x/tutorials/install_and
>>>>>>>>>>>>>>>>>>>>>>>> _admin/geonode_install/install
>>>>>>>>>>>>>>>>>>>>>>>> _geoserver_application.html  to configure
>>>>>>>>>>>>>>>>>>>>>>>> Geoserver with GeoNode
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>>> Naresh
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Thu, Jun 15, 2017 at 11:01 AM, Simone Dalmasso <
>>>>>>>>>>>>>>>>>>>>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Have you configured geoserver following the 2.4
>>>>>>>>>>>>>>>>>>>>>>>>> guide? http://docs.geonode.org
>>>>>>>>>>>>>>>>>>>>>>>>> /en/2.4.x/tutorials/install_an
>>>>>>>>>>>>>>>>>>>>>>>>> d_admin/geonode_install/instal
>>>>>>>>>>>>>>>>>>>>>>>>> l_geoserver_application.html
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> 2017-06-15 7:27 GMT+02:00 Naresh N <
>>>>>>>>>>>>>>>>>>>>>>>>> naresh919 at gmail.com>:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Dear simone,
>>>>>>>>>>>>>>>>>>>>>>>>>>  Kindly suggest to overcome the issue.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>>>>> Naresh
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, Jun 14, 2017 at 5:13 PM, Naresh N <
>>>>>>>>>>>>>>>>>>>>>>>>>> naresh919 at gmail.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Dear Simone,
>>>>>>>>>>>>>>>>>>>>>>>>>>> Copied geoserver.war file from Windows
>>>>>>>>>>>>>>>>>>>>>>>>>>> Installation of GeoNode2.4.x and pasted into /var/lib/tomcats/webapps
>>>>>>>>>>>>>>>>>>>>>>>>>>> folder.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> And on demo site of GeoNode (
>>>>>>>>>>>>>>>>>>>>>>>>>>> http://demo.geonode.org) also I have tested
>>>>>>>>>>>>>>>>>>>>>>>>>>> with the url http://bhuvan5.nrsc.gov.in
>>>>>>>>>>>>>>>>>>>>>>>>>>> /bhuvan/wms   , I am getting same issue. Please
>>>>>>>>>>>>>>>>>>>>>>>>>>> help me to resolve
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> My System details:
>>>>>>>>>>>>>>>>>>>>>>>>>>> GeoNode 2.4 version
>>>>>>>>>>>>>>>>>>>>>>>>>>> OS: RHEL7.2, 64 bit machine
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>>>>>> Naresh
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, Jun 14, 2017 at 4:43 PM, Simone Dalmasso
>>>>>>>>>>>>>>>>>>>>>>>>>>> <simone.dalmasso at gmail.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi seems that you are missing a configuration
>>>>>>>>>>>>>>>>>>>>>>>>>>>> in geoserver. How did you install geonode?
>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://docs.geonode.org/en/mas
>>>>>>>>>>>>>>>>>>>>>>>>>>>> ter/tutorials/admin/geoserver_
>>>>>>>>>>>>>>>>>>>>>>>>>>>> geonode_security/index.html
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2017-06-14 11:25 GMT+02:00 Naresh N <
>>>>>>>>>>>>>>>>>>>>>>>>>>>> naresh919 at gmail.com>:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Dear All,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  When I am adding WMS Layer URL in GeoNode
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  using ADDLayrers---> Addsever option the following error is getting and
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> EDIT options getting enabled.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [image: Inline image 2]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Please also find the attached screenshot with
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> this mail. The WMS url  added  is
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://bhuvan5.nrsc.gov.in/bhuvan/wms.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Please suggest to solve the issue
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Note: Even the url *
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://bhuvan5.nrsc.gov.in/bhuvan/wms* tested
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> with GeoNode demo site  and facing similar  issue as above*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Naresh
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ______________________________
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> _________________
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> geonode-users mailing list
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> geonode-users at lists.osgeo.org
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://lists.osgeo.org/mailma
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> n/listinfo/geonode-users
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Simone
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>> Simone
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>> Simone
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> Simone
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> Simone
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Simone
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Simone
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>> Simone
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Simone
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Simone
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Simone
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Simone
>>>>
>>>
>>>
>>
>>
>> --
>> Simone
>>
>
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170620/74a4ee20/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 57124 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170620/74a4ee20/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 27704 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170620/74a4ee20/attachment-0003.png>


More information about the geonode-users mailing list