[GeoNode-users] Cannot view uploaded layers

Stefano.LUONI at ext.ec.europa.eu Stefano.LUONI at ext.ec.europa.eu
Tue Jan 9 01:59:26 PST 2018

Hi Alessio,

you're right: after uploading layers, no GeoFence data rules were automatically added, hence the access is denied because only the default DENY rule is present. Unfortunately, if I manually add a rule to allow access to a layer (all roles + all users + all services + all requests + geonode workspace + selected layer + priority=0), nothing changes and I'm still unable to visualize the layer from GeoNode.

I realised that I forgot to change the "Active role service" property in Security => Settings in GeoServer; if I set "geonode REST role service" I'm unable to upload layers though, as I get a 403 error from Tomcat.

I'm not sure what can be wrong; I followed all steps in this guide: http://docs.geonode.org/en/master/tutorials/admin/geoserver_geonode_security/
The only thing is different is that I don't have the geonodeAuthProvider created among Authentication Providers and I don't know how I'm supposed to add it.

From: Alessio Fabiani [alessio.fabiani at geo-solutions.it]
Sent: 09 January 2018 10:23
To: Simone Dalmasso
Cc: LUONI Stefano (JRC-ISPRA-EXT); geonode-users
Subject: Re: [GeoNode-users] Cannot view uploaded layers

Please double check GeoFence rules actually exist on GeoServer.


Alessio Fabiani

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

Ing. Alessio Fabiani

Founder/Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686




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.

2018-01-09 10:16 GMT+01:00 Simone Dalmasso <simone.dalmasso at gmail.com<mailto:simone.dalmasso at gmail.com>>:
Hi Stefano,

That error could be due to oauth misconfiguration and Geoserver is hiding the layer.

Il giorno lun 8 gen 2018 alle 17:06 <Stefano.LUONI at ext.ec.europa.eu<mailto:Stefano.LUONI at ext.ec.europa.eu>> ha scritto:
I've got this issue with layers: after uploading, which seems to be ok, I cannot view anything on Geonode website. More specifically, tiles are loaded but they not include anything of the layer, as WMS calls return errors like below.

This is what I spot from the GeoServer log:
2018-01-08 15:41:46,328 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Could not find layer geonode:afg_aal

This is what I spot from Apache error log:
[Mon Jan 08 17:01:31.588608 2018] [wsgi:error] [pid 1387:tid 140510650439424] Possible error with OWSLib. Turning all available properties to string

I'm trying with both raster and shape files; all files are correctly uploaded and I'm able to see them via Layer Preview from GeoServer side.

I'm using Ubuntu 16.04, Geonode 2.7, Geoserver 2.12-SNAPSHOT.

Thank you very much,

geonode-users mailing list
geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>

geonode-users mailing list
geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180109/43351f27/attachment-0001.html>

More information about the geonode-users mailing list