<div dir="ltr">This is strange, are you accessing geonode on localhost right. Could there be anything preventing connections on localhost inside the machine?</div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-01 9:51 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><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Apparently I have done so but it seems its not picking up. This is what I have in my config.xml<br><br><baseUrl><a href="http://localhost" target="_blank">http://localhost</a></<wbr>baseUrl><br><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Also am running the geosites on my local machine as at now. <br></div></div><div class="gmail_extra"><br clear="all"><div><div class="m_4626135780232061270gmail_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><div class="gmail_quote">On Wed, Mar 1, 2017 at 11:40 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,<div><br></div><div>you can update the geoserver_data_dir/security/au<wbr>th/GeonodeAuthProvider/config.<wbr>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"><div><div class="m_4626135780232061270h5"><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><br>org.springframework.security.a<wbr>uthentication.AuthenticationSe<wbr>rviceException: Communication with GeoNode failed (GeoNodeSessionAuthToken)<br></span> at org.geonode.security.GeoNodeAu<wbr>thenticationProvider.authentic<wbr>ate(GeoNodeAuthenticationProvi<wbr>der.java:68)<br> at org.geoserver.security.GeoServ<wbr>erAuthenticationProvider.authe<wbr>nticate(GeoServerAuthenticatio<wbr>nProvider.java:58)<br> at org.springframework.security.a<wbr>uthentication.ProviderManager.<wbr>authenticate(ProviderManager.j<wbr>ava:156)<br> at org.geonode.security.GeoNodeCo<wbr>okieProcessingFilter.doFilter(<wbr>GeoNodeCookieProcessingFilter.<wbr>java:98)<br> at org.springframework.security.w<wbr>eb.FilterChainProxy$VirtualFil<wbr>terChain.doFilter(FilterChainP<wbr>roxy.java:323)<br> at org.geoserver.security.filter.<wbr>GeoServerCompositeFilter$Neste<wbr>dFilterChain.doFilter(GeoServe<wbr>rCompositeFilter.java:69)<br> at org.springframework.security.w<wbr>eb.context.SecurityContextPers<wbr>istenceFilter.doFilter(Securit<wbr>yContextPersistenceFilter.java<wbr>:87)<br> at org.geoserver.security.filter.<wbr>GeoServerSecurityContextPersis<wbr>tenceFilter$1.doFilter(GeoServ<wbr>erSecurityContextPersistenceFi<wbr>lter.java:53)<br> at org.geoserver.security.filter.<wbr>GeoServerCompositeFilter$Neste<wbr>dFilterChain.doFilter(GeoServe<wbr>rCompositeFilter.java:73)<br> at org.geoserver.security.filter.<wbr>GeoServerCompositeFilter.doFil<wbr>ter(GeoServerCompositeFilter.j<wbr>ava:92)<br> at org.springframework.security.w<wbr>eb.FilterChainProxy$VirtualFil<wbr>terChain.doFilter(FilterChainP<wbr>roxy.java:323)<br> at org.springframework.security.w<wbr>eb.FilterChainProxy.doFilter(F<wbr>ilterChainProxy.java:173)<br> at org.geoserver.security.GeoServ<wbr>erSecurityFilterChainProxy.doF<wbr>ilter(GeoServerSecurityFilterC<wbr>hainProxy.java:135)<br> at org.springframework.web.filter<wbr>.DelegatingFilterProxy.invokeD<wbr>elegate(DelegatingFilterProxy.<wbr>java:346)<br> at org.springframework.web.filter<wbr>.DelegatingFilterProxy.doFilte<wbr>r(DelegatingFilterProxy.java:2<wbr>59)<br> at org.apache.catalina.core.Appli<wbr>cationFilterChain.internalDoFi<wbr>lter(ApplicationFilterChain.ja<wbr>va:241)<br> at org.apache.catalina.core.Appli<wbr>cationFilterChain.doFilter(App<wbr>licationFilterChain.java:208)<br> at org.geoserver.filters.LoggingF<wbr>ilter.doFilter(LoggingFilter.j<wbr>ava:87)<br> at org.apache.catalina.core.Appli<wbr>cationFilterChain.internalDoFi<wbr>lter(ApplicationFilterChain.ja<wbr>va:241)<br> at org.apache.catalina.core.Appli<wbr>cationFilterChain.doFilter(App<wbr>licationFilterChain.java:208)<br> at org.geoserver.filters.GZIPFilt<wbr>er.doFilter(GZIPFilter.java:42<wbr>)<br> at org.apache.catalina.core.Appli<wbr>cationFilterChain.internalDoFi<wbr>lter(ApplicationFilterChain.ja<wbr>va:241)<br> at org.apache.catalina.core.Appli<wbr>cationFilterChain.doFilter(App<wbr>licationFilterChain.java:208)<br> at org.geoserver.filters.SessionD<wbr>ebugFilter.doFilter(SessionDeb<wbr>ugFilter.java:48)<br> at org.apache.catalina.core.Appli<wbr>cationFilterChain.internalDoFi<wbr>lter(ApplicationFilterChain.ja<wbr>va:241)<br> at org.apache.catalina.core.Appli<wbr>cationFilterChain.doFilter(App<wbr>licationFilterChain.java:208)<br> at org.geoserver.filters.FlushSaf<wbr>eFilter.doFilter(FlushSafeFilt<wbr>er.java:44)<br> at org.apache.catalina.core.Appli<wbr>cationFilterChain.internalDoFi<wbr>lter(ApplicationFilterChain.ja<wbr>va:241)<br> at org.apache.catalina.core.Appli<wbr>cationFilterChain.doFilter(App<wbr>licationFilterChain.java:208)<br><br></div></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_4626135780232061270m_1887020517389712212m_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/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_4626135780232061270m_1887020517389712212h5"><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_4626135780232061270m_1887020517389712212m_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_4626135780232061270m_1887020517389712212m_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_4626135780232061270m_1887020517389712212m_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_4626135780232061270m_1887020517389712212m_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_4626135780232061270m_1887020517389712212m_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_4626135780232061270m_1887020517389712212m_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_4626135780232061270m_1887020517389712212m_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_4626135780232061270m_1887020517389712212m_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_4626135780232061270m_1887020517389712212m_4899762083174720183m_7897517662549938966m_1522247321055789344m_917824233149083065m_-4621765411185053988HOEnZb"><font color="#888888"><br><br>Gideon Yegon<br></font></span></span></div><span class="m_4626135780232061270m_1887020517389712212m_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_4626135780232061270m_1887020517389712212m_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_4626135780232061270m_1887020517389712212m_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_4626135780232061270m_1887020517389712212m_4899762083174720183m_7897517662549938966m_1522247321055789344m_917824233149083065HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_4626135780232061270m_1887020517389712212m_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"><span class="HOEnZb"><font color="#888888"><div><br></div></font></span></div></div><span class="HOEnZb"><font color="#888888"><span class="m_4626135780232061270m_1887020517389712212m_4899762083174720183HOEnZb"><font color="#888888">-- <br><div class="m_4626135780232061270m_1887020517389712212m_4899762083174720183m_7897517662549938966gmail_signature" data-smartmail="gmail_signature">Simone </div>
</font></span></font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br></font></span></div></div></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div></font></span></div></div><span class="HOEnZb"><font color="#888888"><span class="m_4626135780232061270HOEnZb"><font color="#888888">-- <br><div class="m_4626135780232061270m_1887020517389712212gmail_signature" data-smartmail="gmail_signature">Simone </div>
</font></span></font></span></div>
</blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>