[GeoNode-users] Problem in geonode updatelayers

Alessio Fabiani alessio.fabiani at geo-solutions.it
Tue May 16 05:42:33 PDT 2017


Can you double check that the geoserver user and password on your
local_settings belong to an actual "internal" geoserver user with admin
rights?

Also check that the geoserver address is reachable from your machine.

Best Regards,
Alessio Fabiani.

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

Ing. Alessio Fabiani
@alfa7691
github <https://github.com/afabiani?tab=overview>
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 Tue, May 16, 2017 at 2:20 PM, Davi Custodio <davicustodio at gmail.com>
wrote:

> Hi everyone, I'm using Geonode 2.4 and I'm having trouble running the
> "geonode updatelayers" command.
> When I run the command I get the following error log:
>
> root at ide-cnpma:~# geonode updatelayers
> Traceback (most recent call last):
>   File "/usr/bin/django-admin.py", line 5, in <module>
>     management.execute_from_command_line()
>   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 399, in execute_from_command_line
>     utility.execute()
>   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 392, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py",
> line 242, in run_from_argv
>     self.execute(*args, **options.__dict__)
>   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py",
> line 285, in execute
>     output = self.handle(*args, **options)
>   File "/usr/local/lib/python2.7/dist-packages/geonode/
> geoserver/management/commands/updatelayers.py", line 108, in handle
>     remove_deleted=remove_deleted)
>   File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py",
> line 395, in gs_slurp
>     resources = cat.get_resources()
>   File "/usr/lib/python2.7/dist-packages/geoserver/catalog.py", line 723,
> in get_resources
>     for ws in self.get_workspaces():
>   File "/usr/lib/python2.7/dist-packages/geoserver/catalog.py", line 861,
> in get_workspaces
>     description = self.get_xml("%s/workspaces.xml" % self.service_url)
>   File "/usr/lib/python2.7/dist-packages/geoserver/catalog.py", line 211,
> in get_xml
>     response, content = self.http.request(rest_url)
>   File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line
> 1569, in request
>     (response, content) = self._request(conn, authority, uri, request_uri,
> method, body, headers, redirections, cachekey)
>   File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line
> 1316, in _request
>     (response, content) = self._conn_request(conn, request_uri, method,
> body, headers)
>   File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line
> 1251, in _conn_request
>     conn.connect()
>   File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 900,
> in connect
>     self.sock.connect((self.host, self.port) + sa[2:])
>   File "/usr/lib/python2.7/dist-packages/httplib2/socks.py", line 424, in
> connect
>     self.__negotiatehttp(destpair[0], destpair[1])
>   File "/usr/lib/python2.7/dist-packages/httplib2/socks.py", line 390, in
> __negotiatehttp
>     raise HTTPError((statuscode, statusline[2]))
> httplib2.socks.HTTPError: (403, 'Forbidden')
>
> Can anyone give a tip on what might be causing the problem?
>
> Thank you.
>
>
> --
> Davi de O. Custódio
>
> _______________________________________________
> 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/20170516/b79cf65e/attachment.html>


More information about the geonode-users mailing list