<div dir="ltr">I found this in the code snippet for the GeoNodeSecurityProvider.java:<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 26, 2016 at 11:31 AM, Ken Abryl Eleazar Salanio <span dir="ltr"><<a href="mailto:kasalanio@dream.upd.edu.ph" target="_blank">kasalanio@dream.upd.edu.ph</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">Just a follow-up question on this. How can I adjust the timeout settings on the HTTPclient used by GeoNodeSecurityClient java class? It seems that the problem stems from the /layers/acls JSON being too large when GeoServer asks for it from GeoNode. Adjusting the timeout on the Tomcat server.xml doesn't seem to help. Thanks!<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 18, 2016 at 5:40 PM, Ken Abryl Eleazar Salanio <span dir="ltr"><<a href="mailto:kasalanio@dream.upd.edu.ph" target="_blank">kasalanio@dream.upd.edu.ph</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">OK, thanks! Will try looking for it then.<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 18, 2016 at 5:34 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">Not as far as I know unless there is something on the server preventing that.</div><div class="gmail_extra"><div><div><br><div class="gmail_quote">2016-01-18 10:09 GMT+01:00 Ken Abryl Eleazar Salanio <span dir="ltr"><<a href="mailto:kasalanio@dream.upd.edu.ph" target="_blank">kasalanio@dream.upd.edu.ph</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yep, I've edited the config.xml to specify the geonode base location. If the location cannot be found, geoserver outputs a "Caused by: java.net.UnknownHostException: <hostname>". However in this case, it's a socket timeout. Geoserver sees the location, but cannot finish the authentication. Is it possible that apache or java blocks the connection until it times out?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 18, 2016 at 4:48 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">Hi, <div><br></div><div>yes is in the geoserver data dir/security/auth/geonodeAuthProvider/config.xml. There you have to put the geonode base location.</div><div><br></div><div>Regards</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>2016-01-18 9:47 GMT+01:00 Ken Abryl Eleazar Salanio <span dir="ltr"><<a href="mailto:kasalanio@dream.upd.edu.ph" target="_blank">kasalanio@dream.upd.edu.ph</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">WARN [geonode.security] - Error connecting to the GeoNode server for authentication purposes<br>org.springframework.security.authentication.AuthenticationServiceException: Communication with GeoNode failed<br>    at org.geonode.security.GeoNodeAuthenticationProvider.authenticate(GeoNodeAuthenticationProvider.java:61)<br>    at org.geoserver.security.GeoServerAuthenticationProvider.authenticate(GeoServerAuthenticationProvider.java:57)<br>    at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156)<br>    at org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:63)<br>    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)<br>    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)<br>    at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)<br>    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)<br>    at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)<br>    at org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:82)<br>    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)<br>    at org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107)<br>    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)<br>    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)<br>    at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)<br>    at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:52)<br>    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)<br>    at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)<br>    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)<br>    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)<br>    at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:134)<br>    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)<br>    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)<br>    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)<br>    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)<br>    at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:75)<br>    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)<br>    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)<br>    at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)<br>    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)<br>    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)<br>    at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:47)<br>    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)<br>    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)<br>    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)<br>    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)<br>    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)<br>    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)<br>    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)<br>    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)<br>    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)<br>    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)<br>    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)<br>    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)<br>    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)<br>    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>    at java.lang.Thread.run(Thread.java:745)<br>Caused by: java.net.SocketTimeoutException: Read timed out<br>    at java.net.SocketInputStream.socketRead0(Native Method)<br>    at java.net.SocketInputStream.read(SocketInputStream.java:152)<br>    at java.net.SocketInputStream.read(SocketInputStream.java:122)<br>    at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)<br>    at java.io.BufferedInputStream.read(BufferedInputStream.java:254)<br>    at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)<br>    at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)<br>    at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)<br>    at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)<br>    at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)<br>    at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)<br>    at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)<br>    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)<br>    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)<br>    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)<br>    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)<br>    at org.geonode.security.HTTPClient.sendGET(HTTPClient.java:70)<br>    at org.geonode.security.DefaultSecurityClient.authenticate(DefaultSecurityClient.java:152)<br>    at org.geonode.security.DefaultSecurityClient.authenticateAnonymous(DefaultSecurityClient.java:135)<br>    at org.geonode.security.GeoNodeAuthenticationProvider.authenticate(GeoNodeAuthenticationProvider.java:48)<br>    ... 47 more<br></blockquote><div style="margin-left:40px"><br></div>My question is, what geonode URI does geoserver use for authentication, so that I may check if it is being blocked somewhere? Thanks!<div><div><br><div><br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 18, 2016 at 4:45 PM, Ken Abryl Eleazar Salanio <span dir="ltr"><<a href="mailto:kasalanio@dream.upd.edu.ph" target="_blank">kasalanio@dream.upd.edu.ph</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, I've installed a development version of geonode and i'm running the geoserver using tomcat 7. It worked for quite a while but I've recently encountered this error and can't seem to debug it:<span><font color="#888888"><br clear="all"><div><br>-- <br><div><div dir="ltr"><span style="font-size:12.8000001907349px">Ken Abryl Eleazar S. Salanio</span><br style="font-size:12.8000001907349px"><div style="font-size:12.8000001907349px"><i><font size="2">Computer Programmer III<br></font></i></div><div style="font-size:12.8000001907349px"><i><font size="2">Data Archiving and Distribution Component</font></i></div></div></div>
</div></font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><span style="font-size:12.8000001907349px">Ken Abryl Eleazar S. Salanio</span><br style="font-size:12.8000001907349px"><div style="font-size:12.8000001907349px"><i><font size="2">Computer Programmer III<br></font></i></div><div style="font-size:12.8000001907349px"><i><font size="2">Data Archiving and Distribution Component</font></i></div></div></div>
</div></div></div></div></div></div></div>
<br></div></div>_______________________________________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">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/mailman/listinfo/geonode-devel</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><span><font color="#888888"><div><br></div>-- <br><div>Simone </div>
</font></span></font></span></div><span><font color="#888888">
</font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br><div><div dir="ltr"><span style="font-size:12.8000001907349px">Ken Abryl Eleazar S. Salanio</span><br style="font-size:12.8000001907349px"><div style="font-size:12.8000001907349px"><i><font size="2">Computer Programmer III<br></font></i></div><div style="font-size:12.8000001907349px"><i><font size="2">Data Archiving and Distribution Component</font></i></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div>Simone </div>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><span style="font-size:12.8000001907349px">Ken Abryl Eleazar S. Salanio</span><br style="font-size:12.8000001907349px"><div style="font-size:12.8000001907349px"><i><font size="2">Computer Programmer III<br></font></i></div><div style="font-size:12.8000001907349px"><i><font size="2">Data Archiving and Distribution Component</font></i></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><span style="font-size:12.8000001907349px">Ken Abryl Eleazar S. Salanio</span><br style="font-size:12.8000001907349px"><div style="font-size:12.8000001907349px"><i><font size="2">Computer Programmer III<br></font></i></div><div style="font-size:12.8000001907349px"><i><font size="2">Data Archiving and Distribution Component</font></i></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><span style="font-size:12.8000001907349px">Ken Abryl Eleazar S. Salanio</span><br style="font-size:12.8000001907349px"><div style="font-size:12.8000001907349px"><i><font size="2">Computer Programmer III<br></font></i></div><div style="font-size:12.8000001907349px"><i><font size="2">Data Archiving and Distribution Component</font></i></div></div></div>
</div>