<div dir="ltr">Thanks Simone, it works.<div>And sorry, I've just realized that this point it is included in the Custom Installation Guide.</div><div><br></div><div>Best,</div><div><br></div><div>Paolo</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">--------------------<br>Paolo Pasquali<br>ITHACA - Information Technology for Humanitarian Assistance, Cooperation and Action<br>via Pier Carlo Boggio, 61<br>10138 Torino - Italy<br>Tel. +39 011 1975 1872<br>Fax +39 011 1975 1122</div></div>
<br><div class="gmail_quote">On Thu, Jul 16, 2015 at 3:04 PM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I did not test it in a custom environment, the solution should be to set the <span style="font-size:12.8000001907349px">/var/lib/tomcat7/webapps/</span><span style="font-size:12.8000001907349px">geoserver/data/security/auth/</span><span style="font-size:12.8000001907349px">geonodeAuthProvider/config.xml to localhost or to where geonode is responding.</span><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">I'll try asap</span></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">2015-07-16 13:11 GMT+02:00 Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Forwarding to the osgeo mailing list. Remember to consider the opengeo one as dismissed<div><div><div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Paolo Pasquali</b> <span dir="ltr"><<a href="mailto:paolo.pasquali@gmail.com" target="_blank">paolo.pasquali@gmail.com</a>></span><br>Date: 2015-07-16 12:47 GMT+02:00<br>Subject: Re: automatic authentication/login from geonode to geoserver does not work<br>To: <a href="mailto:geonode-dev@opengeo.org" target="_blank">geonode-dev@opengeo.org</a><br>Cc: <a href="mailto:chrisy.wolf@gmail.com" target="_blank">chrisy.wolf@gmail.com</a><br><br><br><div dir="ltr">Hi Devs,<div>I'm facing this same problem but with the latest GeoNode 2.4 beta and GeoServer 2.7.</div><div>I made a custom installation in a virtualenv with both GeoNode and GeoServer responding on port 80. </div><div>So I'm getting this error:</div><div>







<p>Error connecting to the GeoNode server for authentication purposes</p><p>







</p><p>GeoNode communication failed, status report is: 404, Not Found, <a href="http://localhost/layers/acls" target="_blank">http://localhost/layers/acls</a></p><p><br></p><p>I played with the settings but without success.</p><p>Thanks in advanced for your help.<br><br>Bye</p><p><br>Paolo<br><br></p></div><div><br></div><div><br><br>On Wednesday, January 7, 2015 at 11:14:34 AM UTC+1, <a href="mailto:chris...@gmail.com" target="_blank">chris...@gmail.com</a> wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>maybe somebody can help me.</div><div><br></div><div>i have following problem:<br></div><div><br></div><div>Geoserver application can not find geonode application on same server to authentificate and automatic login to geoserver with same credentials. I must login on geoserver app again. Also layer on geonode will not display because automatic login to geoserver app does not work. </div><div><br></div><div>geoserver.log say:</div><div><div>2015-01-07 10:32:06,039 WARN [geonode.security] - Error connecting to the GeoNode server for authentication purposes</div><div>org.springframework.security.authentication.AuthenticationServiceException: Communication with GeoNode failed</div><div>        at org.geonode.security.GeoNodeAuthenticationProvider.authenticate(GeoNodeAuthenticationProvider.java:61)</div><div>        at org.geoserver.security.GeoServerAuthenticationProvider.authenticate(GeoServerAuthenticationProvider.java:57)</div><div>        at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156)</div><div>        at org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:63)</div><div>        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)</div><div>        at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)</div><div>        at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)</div><div>        at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)</div><div>        at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)</div><div>        at org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:82)</div><div>        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)</div><div>        at org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107)</div><div>        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)</div><div>        at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)</div><div>        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)</div><div>        at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:52)</div><div>        at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)</div><div>        at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)</div><div>        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)</div><div>        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)</div><div>        at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:134)</div><div>        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)</div><div>        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)</div><div>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)</div><div>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)</div><div>        at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:75)</div><div>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)</div><div>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)</div><div>        at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)</div><div>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)</div><div>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)</div><div>        at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:47)</div><div>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)</div><div>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)</div><div>        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)</div><div>        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)</div><div>        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)</div><div>        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)</div><div>        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)</div><div>        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)</div><div>        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)</div><div>        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)</div><div>        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)</div><div>        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)</div><div>        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)</div><div>        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)</div><div>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)</div><div>        at java.lang.Thread.run(Thread.java:745)</div><div>Caused by: java.io.IOException: GeoNode communication failed, status report is: 404, Not Found, <a href="http://localhost:8080/layers/acls" rel="nofollow" target="_blank">http://localhost:8080/layers/acls</a></div><div>        at org.geonode.security.HTTPClient.sendGET(HTTPClient.java:72)</div><div>        at org.geonode.security.DefaultSecurityClient.authenticate(DefaultSecurityClient.java:152)</div><div>        at org.geonode.security.DefaultSecurityClient.authenticateAnonymous(DefaultSecurityClient.java:135)</div><div>        at org.geonode.security.GeoNodeAuthenticationProvider.authenticate(GeoNodeAuthenticationProvider.java:48)</div><div>        ... 47 more</div></div><div><br></div><div><br></div><div>i have checked </div><div>/opt/geonode/geoserver/geoserver/data/security/auth/geonodeAuthProvider/config.xml</div><div>/var/lib/tomcat7/webapps/geoserver/data/security/auth/geonodeAuthProvider/config.xml</div><div>and set baseUrl to <a href="http://localhost" rel="nofollow" target="_blank">http://localhost</a> and also <a href="http://localhost:8080" rel="nofollow" target="_blank">http://localhost:8080</a> but both does not work.</div><div><br></div><div>Apache listen on Port 80</div><div>tcp        0      0 <a href="http://0.0.0.0:80" rel="nofollow" target="_blank">0.0.0.0:80</a>              0.0.0.0:*               LISTEN      0          5099632     15956/apache2<br></div><div><br></div><div>Apache geonode.conf:</div><div><div>WSGIDaemonProcess geonode user=www-data threads=15 processes=2</div><div><VirtualHost *:80></div><div>    Servername localhost</div><div>    ServerAdmin webmaster@localhost</div><div><br></div><div>    ErrorLog /var/log/apache2/error.log</div><div>    LogLevel warn</div><div>    CustomLog /var/log/apache2/access.log combined</div><div><br></div><div>    WSGIProcessGroup geonode</div><div>    WSGIPassAuthorization On</div><div>    WSGIScriptAlias / /var/www/geonode/wsgi/geonode.wsgi</div><div><br></div><div>    <Directory "/var/www/geonode/"></div><div>       Order allow,deny</div><div>        Options Indexes FollowSymLinks</div><div>        Allow from all</div><div>        IndexOptions FancyIndexing</div><div>    </Directory></div><div><br></div><div>    Alias /static/ /var/www/geonode/static/</div><div>    Alias /uploaded/ /var/www/geonode/uploaded/</div><div>    Alias /robots.txt /var/www/geonode/robots.txt</div><div><br></div><div>    <Directory "/var/www/geonode/uploaded/documents/"></div><div>       Order allow,deny</div><div>       Deny from all</div><div>    </Directory></div><div><br></div><div>    <Proxy *></div><div>      Order allow,deny</div><div>      Allow from all</div><div>    </Proxy></div><div><br></div><div>    ProxyPreserveHost On</div><div>    ProxyPass /geoserver <a href="http://localhost:8080/geoserver" rel="nofollow" target="_blank">http://localhost:8080/geoserver</a></div><div>    ProxyPassReverse /geoserver <a href="http://localhost:8080/geoserver" rel="nofollow" target="_blank">http://localhost:8080/geoserver</a></div><div></VirtualHost></div></div><div><br></div><div>My environment: </div><div>Ubuntu 14.04.1 LTS</div><div>Geoserver 2.5.1</div><div>Geonode 2.4dev</div><div><br></div><div><br></div><div><br></div><div>Do you need more informations?</div><div><br></div><div>Thanks for help</div><div><br></div><div>Best regards</div><div>Christian </div></div></blockquote></div></div>

<p></p>

To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:geonode-dev+unsubscribe@opengeo.org" target="_blank">geonode-dev+unsubscribe@opengeo.org</a>.<br>
</div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div>Simone </div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>Simone </div>
</font></span></div>
<br>_______________________________________________<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/cgi-bin/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel</a><br>
<br></blockquote></div><br></div>