<div dir="ltr">Hi,<div><br></div><div>you can update the geoserver_data_dir/security/auth/GeonodeAuthProvider/config.xml with the correct url of GeoNode, and then restart Tomcat.</div><div><br></div><div>Hope this helps</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-02-28 14:12 GMT+01:00 GIDEON YEGON <span dir="ltr"><<a href="mailto:gyegon2001@gmail.com" target="_blank">gyegon2001@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"><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Hello all,<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">I am having broken thumbnails <br>and legends of layers on geonode. And it seems the issue is the communication between geonode and geoserver. I have tried updating the web.xml file and baseUrl but no lack. <br><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Does anyone know how to solve this problem. Thanks in advance.<br><br><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Below is the error am getting from geoserver logs.<br><br>2017-02-28 10:53:58,155 WARN [geonode.security] - Error connecting to the GeoNode server for authentication purposes<span class=""><br>org.springframework.security.<wbr>authentication.<wbr>AuthenticationServiceException<wbr>: Communication with GeoNode failed (GeoNodeSessionAuthToken)<br></span> at org.geonode.security.<wbr>GeoNodeAuthenticationProvider.<wbr>authenticate(<wbr>GeoNodeAuthenticationProvider.<wbr>java:68)<br> at org.geoserver.security.<wbr>GeoServerAuthenticationProvide<wbr>r.authenticate(<wbr>GeoServerAuthenticationProvide<wbr>r.java:58)<br> at org.springframework.security.<wbr>authentication.<wbr>ProviderManager.authenticate(<wbr>ProviderManager.java:156)<br> at org.geonode.security.<wbr>GeoNodeCookieProcessingFilter.<wbr>doFilter(<wbr>GeoNodeCookieProcessingFilter.<wbr>java:98)<br> at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:323)<br> at org.geoserver.security.filter.<wbr>GeoServerCompositeFilter$<wbr>NestedFilterChain.doFilter(<wbr>GeoServerCompositeFilter.java:<wbr>69)<br> at org.springframework.security.<wbr>web.context.<wbr>SecurityContextPersistenceFilt<wbr>er.doFilter(<wbr>SecurityContextPersistenceFilt<wbr>er.java:87)<br> at org.geoserver.security.filter.<wbr>GeoServerSecurityContextPersis<wbr>tenceFilter$1.doFilter(<wbr>GeoServerSecurityContextPersis<wbr>tenceFilter.java:53)<br> at org.geoserver.security.filter.<wbr>GeoServerCompositeFilter$<wbr>NestedFilterChain.doFilter(<wbr>GeoServerCompositeFilter.java:<wbr>73)<br> at org.geoserver.security.filter.<wbr>GeoServerCompositeFilter.<wbr>doFilter(<wbr>GeoServerCompositeFilter.java:<wbr>92)<br> at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:323)<br> at org.springframework.security.<wbr>web.FilterChainProxy.doFilter(<wbr>FilterChainProxy.java:173)<br> at org.geoserver.security.<wbr>GeoServerSecurityFilterChainPr<wbr>oxy.doFilter(<wbr>GeoServerSecurityFilterChainPr<wbr>oxy.java:135)<br> at org.springframework.web.<wbr>filter.DelegatingFilterProxy.<wbr>invokeDelegate(<wbr>DelegatingFilterProxy.java:<wbr>346)<br> at org.springframework.web.<wbr>filter.DelegatingFilterProxy.<wbr>doFilter(<wbr>DelegatingFilterProxy.java:<wbr>259)<br> at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>internalDoFilter(<wbr>ApplicationFilterChain.java:<wbr>241)<br> at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>doFilter(<wbr>ApplicationFilterChain.java:<wbr>208)<br> at org.geoserver.filters.<wbr>LoggingFilter.doFilter(<wbr>LoggingFilter.java:87)<br> at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>internalDoFilter(<wbr>ApplicationFilterChain.java:<wbr>241)<br> at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>doFilter(<wbr>ApplicationFilterChain.java:<wbr>208)<br> at org.geoserver.filters.<wbr>GZIPFilter.doFilter(<wbr>GZIPFilter.java:42)<br> at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>internalDoFilter(<wbr>ApplicationFilterChain.java:<wbr>241)<br> at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>doFilter(<wbr>ApplicationFilterChain.java:<wbr>208)<br> at org.geoserver.filters.<wbr>SessionDebugFilter.doFilter(<wbr>SessionDebugFilter.java:48)<br> at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>internalDoFilter(<wbr>ApplicationFilterChain.java:<wbr>241)<br> at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>doFilter(<wbr>ApplicationFilterChain.java:<wbr>208)<br> at org.geoserver.filters.<wbr>FlushSafeFilter.doFilter(<wbr>FlushSafeFilter.java:44)<br> at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>internalDoFilter(<wbr>ApplicationFilterChain.java:<wbr>241)<br> at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>doFilter(<wbr>ApplicationFilterChain.java:<wbr>208)<br><br></div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_4899762083174720183gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span style="color:rgb(0,0,255)">Kind regards<br><br>Gideon Yegon<br></span></div><span style="color:rgb(0,0,255)">Phone: +254 713 280 960<br></span></div><span style="color:rgb(0,0,255)"><a href="http://www.linkedin.com/in/gideon-yegon-956162ab" target="_blank">http://www.linkedin.com/in/<wbr>gyegon</a><br></span></div><span style="color:rgb(0,0,255)">skype: g.yegon</span><br></div></div></div></div></div></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Tue, Feb 28, 2017 at 11:12 AM, 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">What version of GeoNode did you install?<div><br></div><div>Seems that Geoserver cannot find geonode but depending on the version, the configuration may be different.</div></div><div class="gmail_extra"><div><div class="m_4899762083174720183h5"><br><div class="gmail_quote">2017-02-28 9:08 GMT+01:00 GIDEON YEGON <span dir="ltr"><<a href="mailto:gyegon2001@gmail.com" target="_blank">gyegon2001@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"><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Hello Simone <br>Am seeing two errors;<br><br>2017-02-28 09:36:37,190 INFO [geoserver.wms] -<br>Request: getServiceInfo<br>2017-02-28 09:36:37,191 ERROR [geoserver.ows] -<br>org.geoserver.platform.Service<wbr>Exception: Could not find layer geonode:kewasco_connections<br><br>&<br>2017-02-28 09:36:37,205 WARN [geonode.security] - Error connecting to the GeoNode server for authentication purposes<br>org.springframework.security.a<wbr>uthentication.AuthenticationSe<wbr>rviceException: Communication with GeoNode failed (GeoNodeSessionAuthToken)<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">However i can be redirected automatically from geonode to geoserver and also be able to preview layers in my geoserver. I think am missing something out. Kindly assist thank you.<br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_4899762083174720183m_7897517662549938966m_1522247321055789344gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span style="color:rgb(0,0,255)">Kind regards<br><br>Gideon Yegon<br></span></div><span style="color:rgb(0,0,255)">Phone: +254 713 280 960<br></span></div><span style="color:rgb(0,0,255)"><a href="http://www.linkedin.com/in/gideon-yegon-956162ab" target="_blank">http://www.linkedin.com/in/gye<wbr>gon</a><br></span></div><span style="color:rgb(0,0,255)">skype: g.yegon</span><br></div></div></div></div></div></div></div></div></div>
<br></span><div><div class="m_4899762083174720183m_7897517662549938966h5"><div class="gmail_quote">On Tue, Feb 28, 2017 at 10:44 AM, GIDEON YEGON <span dir="ltr"><<a href="mailto:gyegon2001@gmail.com" target="_blank">gyegon2001@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"><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Hello Simon,<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Thanks for your prompt response, but the redirection from geonode to geoserver is working fine, am able to connect automatically.<br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Or there could be other problems causing geonode and geoserver not communicating well? Sorry for not being smart enough!<br></div></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_4899762083174720183m_7897517662549938966m_1522247321055789344m_917824233149083065gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span style="color:rgb(0,0,255)">Kind regards<br><br>Gideon Yegon<br></span></div><span style="color:rgb(0,0,255)">Phone: +254 713 280 960<br></span></div><span style="color:rgb(0,0,255)"><a href="http://www.linkedin.com/in/gideon-yegon-956162ab" target="_blank">http://www.linkedin.com/in/gye<wbr>gon</a><br></span></div><span style="color:rgb(0,0,255)">skype: g.yegon</span><br></div></div></div></div></div></div></div></div></div>
<br></span><div><div class="m_4899762083174720183m_7897517662549938966m_1522247321055789344h5"><div class="gmail_quote">On Tue, Feb 28, 2017 at 10:18 AM, 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, could be that geonode and geoserver don't connect properly. Check the geoserver logs.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_4899762083174720183m_7897517662549938966m_1522247321055789344m_917824233149083065h5">2017-02-28 7:57 GMT+01:00 GIDEON YEGON <span dir="ltr"><<a href="mailto:gyegon2001@gmail.com" target="_blank">gyegon2001@gmail.com</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 class="m_4899762083174720183m_7897517662549938966m_1522247321055789344m_917824233149083065h5"><div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Hello all,<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">I wanted to know what could be wrong as i was able to successfully install geosites on my local machine. But am getting broken thumbnails and legend for the layers.<br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Kindly assist. Thanks.<br clear="all"></div><div><div class="m_4899762083174720183m_7897517662549938966m_1522247321055789344m_917824233149083065m_-4621765411185053988m_7724316056723393211gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span style="color:rgb(0,0,255)">Kind regards<span class="m_4899762083174720183m_7897517662549938966m_1522247321055789344m_917824233149083065m_-4621765411185053988HOEnZb"><font color="#888888"><br><br>Gideon Yegon<br></font></span></span></div><span class="m_4899762083174720183m_7897517662549938966m_1522247321055789344m_917824233149083065m_-4621765411185053988HOEnZb"><font color="#888888"><span style="color:rgb(0,0,255)">Phone: +254 713 280 960<br></span></font></span></div><span class="m_4899762083174720183m_7897517662549938966m_1522247321055789344m_917824233149083065m_-4621765411185053988HOEnZb"><font color="#888888"><span style="color:rgb(0,0,255)"><a href="http://www.linkedin.com/in/gideon-yegon-956162ab" target="_blank">http://www.linkedin.com/in/gye<wbr>gon</a><br></span></font></span></div><span class="m_4899762083174720183m_7897517662549938966m_1522247321055789344m_917824233149083065m_-4621765411185053988HOEnZb"><font color="#888888"><span style="color:rgb(0,0,255)">skype: g.yegon</span><br></font></span></div></div></div></div></div></div></div></div></div>
</div>
<br></div></div>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></blockquote></div><span class="m_4899762083174720183m_7897517662549938966m_1522247321055789344m_917824233149083065HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_4899762083174720183m_7897517662549938966m_1522247321055789344m_917824233149083065m_-4621765411185053988gmail_signature" data-smartmail="gmail_signature">Simone </div>
</font></span></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="m_4899762083174720183HOEnZb"><font color="#888888">-- <br><div class="m_4899762083174720183m_7897517662549938966gmail_signature" data-smartmail="gmail_signature">Simone </div>
</font></span></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>