[GeoNode-users] Geosites

GIDEON YEGON gyegon2001 at gmail.com
Wed Mar 1 00:51:21 PST 2017


Hello Simone

Apparently I have done so but it seems its not picking up. This is what I
have in my config.xml

<baseUrl>http://localhost</baseUrl>

Also am running the geosites on my local machine as at now.

Kind regards

Gideon Yegon
Phone: +254 713 280 960
http://www.linkedin.com/in/gyegon
<http://www.linkedin.com/in/gideon-yegon-956162ab>
skype: g.yegon

On Wed, Mar 1, 2017 at 11:40 AM, Simone Dalmasso <simone.dalmasso at gmail.com>
wrote:

> Hi,
>
> you can update the geoserver_data_dir/security/auth/GeonodeAuthProvider/config.xml
> with the correct url of GeoNode, and then restart Tomcat.
>
> Hope this helps
>
> 2017-02-28 14:12 GMT+01:00 GIDEON YEGON <gyegon2001 at gmail.com>:
>
>> Hello all,
>>
>> I am having broken thumbnails
>> 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.
>>
>> Does anyone know how to solve this problem. Thanks in advance.
>>
>>
>> Below is the error am getting from geoserver logs.
>>
>> 2017-02-28 10:53:58,155 WARN [geonode.security] - Error connecting to the
>> GeoNode server for authentication purposes
>> org.springframework.security.authentication.AuthenticationServiceException:
>> Communication with GeoNode failed (GeoNodeSessionAuthToken)
>>         at org.geonode.security.GeoNodeAuthenticationProvider.authentic
>> ate(GeoNodeAuthenticationProvider.java:68)
>>         at org.geoserver.security.GeoServerAuthenticationProvider.
>> authenticate(GeoServerAuthenticationProvider.java:58)
>>         at org.springframework.security.authentication.ProviderManager.
>> authenticate(ProviderManager.java:156)
>>         at org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(
>> GeoNodeCookieProcessingFilter.java:98)
>>         at org.springframework.security.web.FilterChainProxy$VirtualFil
>> terChain.doFilter(FilterChainProxy.java:323)
>>         at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>> dFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>>         at org.springframework.security.web.context.SecurityContextPers
>> istenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
>>         at org.geoserver.security.filter.GeoServerSecurityContextPersis
>> tenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
>>         at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>> dFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>>         at org.geoserver.security.filter.GeoServerCompositeFilter.doFil
>> ter(GeoServerCompositeFilter.java:92)
>>         at org.springframework.security.web.FilterChainProxy$VirtualFil
>> terChain.doFilter(FilterChainProxy.java:323)
>>         at org.springframework.security.web.FilterChainProxy.doFilter(F
>> ilterChainProxy.java:173)
>>         at org.geoserver.security.GeoServerSecurityFilterChainProxy.
>> doFilter(GeoServerSecurityFilterChainProxy.java:135)
>>         at org.springframework.web.filter.DelegatingFilterProxy.invokeD
>> elegate(DelegatingFilterProxy.java:346)
>>         at org.springframework.web.filter.DelegatingFilterProxy.doFilte
>> r(DelegatingFilterProxy.java:259)
>>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>>         at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.
>> java:87)
>>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>>         at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
>>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>>         at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDeb
>> ugFilter.java:48)
>>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>>         at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilt
>> er.java:44)
>>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>>
>>
>> Kind regards
>>
>> Gideon Yegon
>> Phone: +254 713 280 960
>> http://www.linkedin.com/in/gyegon
>> <http://www.linkedin.com/in/gideon-yegon-956162ab>
>> skype: g.yegon
>>
>> On Tue, Feb 28, 2017 at 11:12 AM, Simone Dalmasso <
>> simone.dalmasso at gmail.com> wrote:
>>
>>> What version of GeoNode did you install?
>>>
>>> Seems that Geoserver cannot find geonode but depending on the version,
>>> the configuration may be different.
>>>
>>> 2017-02-28 9:08 GMT+01:00 GIDEON YEGON <gyegon2001 at gmail.com>:
>>>
>>>> Hello Simone
>>>> Am seeing two errors;
>>>>
>>>> 2017-02-28 09:36:37,190 INFO [geoserver.wms] -
>>>> Request: getServiceInfo
>>>> 2017-02-28 09:36:37,191 ERROR [geoserver.ows] -
>>>> org.geoserver.platform.ServiceException: Could not find layer
>>>> geonode:kewasco_connections
>>>>
>>>> &
>>>> 2017-02-28 09:36:37,205 WARN [geonode.security] - Error connecting to
>>>> the GeoNode server for authentication purposes
>>>> org.springframework.security.authentication.AuthenticationServiceException:
>>>> Communication with GeoNode failed (GeoNodeSessionAuthToken)
>>>>
>>>> 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.
>>>>
>>>>
>>>> Kind regards
>>>>
>>>> Gideon Yegon
>>>> Phone: +254 713 280 960
>>>> http://www.linkedin.com/in/gyegon
>>>> <http://www.linkedin.com/in/gideon-yegon-956162ab>
>>>> skype: g.yegon
>>>>
>>>> On Tue, Feb 28, 2017 at 10:44 AM, GIDEON YEGON <gyegon2001 at gmail.com>
>>>> wrote:
>>>>
>>>>> Hello Simon,
>>>>>
>>>>> Thanks for your prompt response, but the redirection from geonode to
>>>>> geoserver is working fine, am able to connect automatically.
>>>>> Or there could be other problems causing geonode and geoserver not
>>>>> communicating well? Sorry for not being smart enough!
>>>>>
>>>>> Kind regards
>>>>>
>>>>> Gideon Yegon
>>>>> Phone: +254 713 280 960
>>>>> http://www.linkedin.com/in/gyegon
>>>>> <http://www.linkedin.com/in/gideon-yegon-956162ab>
>>>>> skype: g.yegon
>>>>>
>>>>> On Tue, Feb 28, 2017 at 10:18 AM, Simone Dalmasso <
>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>
>>>>>> Hi, could be that geonode and geoserver don't connect properly. Check
>>>>>> the geoserver logs.
>>>>>>
>>>>>> 2017-02-28 7:57 GMT+01:00 GIDEON YEGON <gyegon2001 at gmail.com>:
>>>>>>
>>>>>>> Hello all,
>>>>>>>
>>>>>>> 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.
>>>>>>> Kindly assist. Thanks.
>>>>>>> Kind regards
>>>>>>>
>>>>>>> Gideon Yegon
>>>>>>> Phone: +254 713 280 960
>>>>>>> http://www.linkedin.com/in/gyegon
>>>>>>> <http://www.linkedin.com/in/gideon-yegon-956162ab>
>>>>>>> skype: g.yegon
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> geonode-users mailing list
>>>>>>> geonode-users at lists.osgeo.org
>>>>>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Simone
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Simone
>>>
>>
>>
>
>
> --
> Simone
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170301/1c901a5b/attachment-0001.html>


More information about the geonode-users mailing list