<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Maybe you can try with the official stable version 2.9.1 of geoserver just making the operations manually with curl and see if the problem is still happening careless of geonode.<div><br></div><div>Regards,</div><div>Francesco</div><div><br><div><div>Il giorno 29/ago/2016, alle ore 15:32, Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com">simone.dalmasso@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Indeed is strange. Try to delete geoserver and the war file and run paver setup again. Let's see how it goes with a new one. (save your data dir if needed)</div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-29 15:28 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 again,<br>
<br>
It's really weird. It seems that the printing module is correctly<br>
activated (geoserver/pdf/info.json sends some content, corresponding to<br>
the correct config.yaml file).<br>
But it's like the bindings with the REST API is not done. On another<br>
instance, if I request localhost:8080/geoserver/rest/<wbr>printng/render.png<br>
I have an empty PNG in return. On this one, I keep having this damn 405<br>
error, just because it is not recognized by the REST API I guess.<br>
<br>
Any clue here ? Maybe I should ask the Geoserver mailing list. It's<br>
always hard to guess with these cross-software / configuration problems.<br>
<br>
Best regards<br>
<br>
Guillaume<br>
<br>
<span class=""><br>
Le 29/08/2016 à 14:06, Simone Dalmasso a écrit :<br>
</span><span class="">> And if you open that url in your browser you get a 405 too?<br>
><br>
> In the layer detail page a 405 on /rest/styles is expected and is the<br>
> correct behavior. But not more than one.<br>
><br>
> 2016-08-29 13:52 GMT+02:00 Guillaume Sueur <<a href="mailto:no-reply@neogeo-online.net">no-reply@neogeo-online.net</a><br>
</span>> <mailto:<a href="mailto:no-reply@neogeo-online.net">no-reply@neogeo-<wbr>online.net</a>>>:<br>
<span class="">><br>
> Hi, thanks for your reply,<br>
><br>
> Nothing shows up in the log, even in developer logging mode.<br>
> Anyway, what is strange is that I get a 405 error (method not allowed)<br>
> and not a 401 (authentication needed). The requested URL is correct<br>
> though... :<br>
><br>
> <a href="http://localhost:8080/geoserver/rest/printng/render.png?width=240&auth=*************************&height=180" rel="noreferrer" target="_blank">http://localhost:8080/<wbr>geoserver/rest/printng/render.<wbr>png?width=240&auth=***********<wbr>**************&height=180</a><br>
> <<a href="http://localhost:8080/geoserver/rest/printng/render.png?width=240&auth=*************************&height=180" rel="noreferrer" target="_blank">http://localhost:8080/<wbr>geoserver/rest/printng/render.<wbr>png?width=240&auth=***********<wbr>**************&height=180</a>><br>
><br>
> (auth account and realm are correct too).<br>
><br>
> Best regards<br>
><br>
> Guillaume<br>
><br>
> Le 29/08/2016 à 13:37, Simone Dalmasso a écrit :<br>
> > Hi, try to take a look at the geoserver logs to see if there is a<br>
> > problem with authenticating with geonode or a missing permission<br>
> (but I<br>
> > don't think). It may just be a small misconfiguration in geoserver.<br>
> ><br>
> > Hope this helps<br>
> ><br>
> <a href="http://localhost:8080/geoserver/rest/printng/render.png?width=240&auth=geonode.aua-toulouse" rel="noreferrer" target="_blank">http://localhost:8080/<wbr>geoserver/rest/printng/render.<wbr>png?width=240&auth=geonode.<wbr>aua-toulouse</a><br>
> .org%2Cguillaume%2Ccatch22&<wbr>height=180<br>
> <<a href="http://localhost:8080/geoserver/rest/printng/render.png?width=240&auth=geonode.aua-toulouse" rel="noreferrer" target="_blank">http://localhost:8080/<wbr>geoserver/rest/printng/render.<wbr>png?width=240&auth=geonode.<wbr>aua-toulouse</a><br>
> .org%2Cguillaume%2Ccatch22&<wbr>height=180><br>
> > 2016-08-29 12:23 GMT+02:00 Guillaume Sueur<br>
> <<a href="mailto:no-reply@neogeo-online.net">no-reply@neogeo-online.net</a> <mailto:<a href="mailto:no-reply@neogeo-online.net">no-reply@neogeo-<wbr>online.net</a>><br>
</span>> > <mailto:<a href="mailto:no-reply@neogeo-online.net">no-reply@neogeo-<wbr>online.net</a><br>
<div><div class="h5">> <mailto:<a href="mailto:no-reply@neogeo-online.net">no-reply@neogeo-<wbr>online.net</a>>>>:<br>
> ><br>
> > Hi list,<br>
> ><br>
> > I am experiencing a weird problem with geonode and geoserver<br>
> rest API.<br>
> > Here is the story. I have a bunch of layers in Geoserver, and<br>
> I can<br>
> > updatelayers from Geonode without any problem, having the<br>
> thumbnails<br>
> > correctly created in uploaded/thumbs directory, and correctly<br>
> set to<br>
> > www-data ownership afterwards to avoid any problem when<br>
> updating from<br>
> > the web interface.<br>
> ><br>
> > Then, if I use the "Define Thumbnail" button from the Layer<br>
> Edit Window,<br>
> > an empty image is created over the previously created<br>
> thumbnail. I dig a<br>
> > bit into the code trying to locate the issue. It seems it<br>
> 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',<br>
> '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<br>
> Instances.<br>
> ><br>
> > I've made the installation following the custom installation<br>
> 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>
> <mailto:<a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.<wbr>osgeo.org</a>><br>
</div></div>> <mailto:<a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.<wbr>osgeo.org</a><br>
<div class="HOEnZb"><div class="h5">> <mailto:<a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.<wbr>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>
> <<a href="http://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/geonode-devel</a><wbr>><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>
> <<a href="http://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/geonode-devel</a><wbr>>><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Simone<br>
> ______________________________<wbr>_________________<br>
> geonode-devel mailing list<br>
> <a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.osgeo.org</a> <mailto:<a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.<wbr>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>
> <<a href="http://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/geonode-devel</a><wbr>><br>
><br>
><br>
><br>
><br>
> --<br>
> Simone<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>
_______________________________________________<br>geonode-devel mailing list<br><a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/geonode-devel<br></blockquote></div><br></div></body></html>