<div dir="ltr">Hi, try to take a look at the geoserver logs to see if there is a problem with authenticating with geonode or a missing permission (but I don't think). It may just be a small misconfiguration in geoserver.<div><br></div><div>Hope this helps</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-29 12:23 GMT+02:00 Guillaume Sueur <span dir="ltr"><<a href="mailto:no-reply@neogeo-online.net" target="_blank">no-reply@neogeo-online.net</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>
I am experiencing a weird problem with geonode and geoserver rest API.<br>
Here is the story. I have a bunch of layers in Geoserver, and I can<br>
updatelayers from Geonode without any problem, having the thumbnails<br>
correctly created in uploaded/thumbs directory, and correctly set to<br>
www-data ownership afterwards to avoid any problem when updating from<br>
the web interface.<br>
<br>
Then, if I use the "Define Thumbnail" button from the Layer Edit Window,<br>
an empty image is created over the previously created thumbnail. I dig a<br>
bit into the code trying to locate the issue. It seems it comes from<br>
geoserver api which replies to the request emitted in<br>
geoserver/helpers.py on line 1687 with :<br>
<br>
Thumbnail created : {'date': 'Mon, 29 Aug 2016 10:19:56 GMT', 'status':<br>
'405', 'content-length': '0'<br>
, 'allow': 'GET', 'server': 'Noelios-Restlet-Engine/1.0..<wbr>8'}<br>
<br>
which means that the Method Not allowed error wasn't caught back<br>
correctly by geonode who continued the process and wrote the empty<br>
content to a new file.<br>
<br>
I just don't understand why I received this 405 HTTP error in this<br>
situation, that I have seen working well on other Geonode Instances.<br>
<br>
I've made the installation following the custom installation guide last<br>
week, so I guess with some fresh github code.<br>
<br>
Any clue ?<br>
<br>
Best regards<br>
<br>
Guillaume<br>
______________________________<wbr>_________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/geonode-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">SimoneĀ </div>
</div>