By: Sahil Gupta user 18 Nov 2020 at 8:34 a.m. CST

6 Responses
Sahil Gupta gravatar
Hi, We are using remote couchbase for storing all objects and local opendj is not installed. During the couchbase timeout issues, we are observing this error message "Failed to load configuration from LDAP" in oxtrust and oxauth logs. This message is confusing as LDAP was never installed. Is there any way this message can be fixed?

By Thomas Gasmyr Mougang staff 18 Nov 2020 at 10:36 a.m. CST

Thomas Gasmyr Mougang gravatar
Can you provide the section of the log that hes that message?

By Sahil Gupta user 18 Nov 2020 at 11:31 a.m. CST

Sahil Gupta gravatar
Here is message from the log file ``` 2020-10-13 01:52:47,858 ERROR [Thread-98422] [org.gluu.oxtrust.ldap.service.EntityIDMonitoringService] (EntityIDMonitoringService.java:99) - Exception happened while monitoring EntityId org.gluu.persist.exception.EntryPersistenceException: Failed to find entries with key: trustRelationships, expression: ConvertedExpression [expression=objectClass = "gluuSAMLconfig", consistency=false] at org.gluu.persist.couchbase.impl.CouchbaseEntryManager.findEntriesImpl(CouchbaseEntryManager.java:478) ~[oxcore-persistence-couchbase-4.1.1.Final.jar:?] at org.gluu.persist.couchbase.impl.CouchbaseEntryManager.findEntries(CouchbaseEntryManager.java:375) ~[oxcore-persistence-couchbase-4.1.1.Final.jar:?] at org.gluu.persist.impl.BaseEntryManager.findEntries(BaseEntryManager.java:154) ~[oxcore-persistence-core-4.1.1.Final.jar:?] at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38) ~[weld-core-impl-3.1.2.Final.jar:3.1.2.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:106) ~[weld-core-impl-3.1.2.Final.jar:3.1.2.Final] at org.gluu.persist.EntityManager$PersistenceEntryManager$479440844$Proxy$_$$_WeldClientProxy.findEntries(Unknown Source) ~[weld-core-impl-3.1.2.Final.jar:?] at org.gluu.oxtrust.ldap.service.TrustService.getAllTrustRelationships(TrustService.java:140) ~[classes/:?] at org.gluu.oxtrust.ldap.service.EntityIDMonitoringService.process(EntityIDMonitoringService.java:108) ~[classes/:?] at org.gluu.oxtrust.ldap.service.EntityIDMonitoringService$Proxy$_$$_WeldSubclass.process(Unknown Source) ~[classes/:?] at org.gluu.oxtrust.ldap.service.EntityIDMonitoringService.processMetadataValidationTimerEvent(EntityIDMonitoringService.java:97) [classes/:?] at org.gluu.oxtrust.ldap.service.EntityIDMonitoringService$Proxy$_$$_WeldSubclass.processMetadataValidationTimerEvent$$super(Unknown Source) [classes/:?] at sun.reflect.GeneratedMethodAccessor359.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:51) [weld-core-impl-3.1.2.Final.jar:3.1.2.Final] at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:78) [weld-core-impl-3.1.2.Final.jar:3.1.2.Final] at org.gluu.service.cdi.async.AsynchronousInterceptor$1.get(AsynchronousInterceptor.java:36) [oxcore-service-4.1.1.Final.jar:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) [?:1.8.0_222] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222] Caused by: java.lang.RuntimeException: java.util.concurrent.TimeoutException: {"b":"gluu","s":"n1ql","t":75000000,"i":"2c5fcdbe-fa60-48b5-9c5c-d7b35967151d"} at rx.exceptions.Exceptions.propagate(Exceptions.java:57) ~[rxjava-1.3.8.jar:1.3.8] at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:463) ~[rxjava-1.3.8.jar:1.3.8] at rx.observables.BlockingObservable.single(BlockingObservable.java:340) ~[rxjava-1.3.8.jar:1.3.8] at com.couchbase.client.java.CouchbaseBucket.query(CouchbaseBucket.java:650) ~[java-client-2.7.11.jar:?] at com.couchbase.client.java.CouchbaseBucket.query(CouchbaseBucket.java:564) ~[java-client-2.7.11.jar:?] at org.gluu.persist.couchbase.operation.impl.CouchbaseOperationsServiceImpl.searchImpl(CouchbaseOperationsServiceImpl.java:610) ~[oxcore-persistence-couchbase-4.1.1.Final.jar:?] at org.gluu.persist.couchbase.operation.impl.CouchbaseOperationsServiceImpl.search(CouchbaseOperationsServiceImpl.java:461) ~[oxcore-persistence-couchbase-4.1.1.Final.jar:?] at org.gluu.persist.couchbase.impl.CouchbaseEntryManager.searchImpl(CouchbaseEntryManager.java:523) ~[oxcore-persistence-couchbase-4.1.1.Final.jar:?] at org.gluu.persist.couchbase.impl.CouchbaseEntryManager.findEntriesImpl(CouchbaseEntryManager.java:469) ~[oxcore-persistence-couchbase-4.1.1.Final.jar:?] ... 21 more Caused by: java.util.concurrent.TimeoutException: {"b":"gluu","s":"n1ql","t":75000000,"i":"2c5fcdbe-fa60-48b5-9c5c-d7b35967151d"} at com.couchbase.client.java.bucket.api.Utils$1.call(Utils.java:131) ~[java-client-2.7.11.jar:?] at com.couchbase.client.java.bucket.api.Utils$1.call(Utils.java:127) ~[java-client-2.7.11.jar:?] 2020-10-13 01:53:05,332 ERROR [Thread-98436] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:419) - Failed to load configuration from LDAP org.gluu.persist.exception.EntryPersistenceException: Failed to find entry: ou=oxtrust,ou=configuration,o=gluu at org.gluu.persist.couchbase.impl.CouchbaseEntryManager.find(CouchbaseEntryManager.java:362) ~[oxcore-persistence-couchbase-4.1.1.Final.jar:?] at org.gluu.persist.impl.BaseEntryManager.find(BaseEntryManager.java:619) ~[oxcore-persistence-core-4.1.1.Final.jar:?] at org.gluu.persist.impl.BaseEntryManager.find(BaseEntryManager.java:499) ~[oxcore-persistence-core-4.1.1.Final.jar:?] at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38) ~[weld-core-impl-3.1.2.Final.jar:3.1.2.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:106) ~[weld-core-impl-3.1.2.Final.jar:3.1.2.Final] at org.gluu.persist.EntityManager$PersistenceEntryManager$479440844$Proxy$_$$_WeldClientProxy.find(Unknown Source) ~[weld-core-impl-3.1.2.Final.jar:?] at org.gluu.oxtrust.config.ConfigurationFactory.loadConfigurationFromLdap(ConfigurationFactory.java:414) [classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory$Proxy$_$$_WeldSubclass.loadConfigurationFromLdap(Unknown Source) [classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory.reloadConfiguration(ConfigurationFactory.java:234) [classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory.reloadConfigurationTimerEvent(ConfigurationFactory.java:188) [classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory$Proxy$_$$_WeldSubclass.reloadConfigurationTimerEvent$$super(Unknown Source) [classes/:?] at sun.reflect.GeneratedMethodAccessor203.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:51) [weld-core-impl-3.1.2.Final.jar:3.1.2.Final] ```

By Michael Schwartz staff 18 Nov 2020 at 12:49 p.m. CST

Michael Schwartz gravatar
I think this is a bug because Shakti is not even using SAML. It will be fixed but for now you acn ignore the error.

By Thomas Gasmyr Mougang staff 18 Nov 2020 at 12:55 p.m. CST

Thomas Gasmyr Mougang gravatar
That is federation trust relationship entities monitoring error.

By Thomas Gasmyr Mougang staff 18 Nov 2020 at 12:57 p.m. CST

Thomas Gasmyr Mougang gravatar
**I think this is a bug because Shakti is not even using SAML** Okay

By Sahil Gupta user 18 Nov 2020 at 1:08 p.m. CST

Sahil Gupta gravatar
Thanks for your response Michael and Thomas. We have that same error logged for "ou=oxtrust,ou=configuration,o=gluu". This always happen when there is timeout issue occurs from Couchbase ``` Caused by: java.lang.RuntimeException: java.util.concurrent.TimeoutException: {"b":"gluu","r":"172.31.11.201:11207","s":"kv","c":"57FF8D8F38FCE1B0/FFFFFFFFCF8FFB59","t":2500000,"i":"0x20867c","l":"172.31.7.229:34736"} at rx.exceptions.Exceptions.propagate(Exceptions.java:57) ~[rxjava-1.3.8.jar:1.3.8] at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:463) ~[rxjava-1.3.8.jar:1.3.8] at rx.observables.BlockingObservable.singleOrDefault(BlockingObservable.java:372) ~[rxj ``` ``` 2020-11-17 05:44:10,737 ERROR [Thread-25013] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:419) - Failed to load configuration from LDAP org.gluu.persist.exception.EntryPersistenceException: Failed to find entry: ou=oxtrust,ou=configuration,o=gluu at org.gluu.persist.couchbase.impl.CouchbaseEntryManager.find(CouchbaseEntryManager.java:362) ~[oxcore-persistence-couchbase-4.1.1.Final.jar:?] at org.gluu.persist.impl.BaseEntryManager.find(BaseEntryManager.java:619) ~[oxcore-persistence-core-4.1.1.Final.jar:?] at org.gluu.persist.impl.BaseEntryManager.find(BaseEntryManager.java:499) ~[oxcore-persistence-core-4.1.1.Final.jar:?] at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38) ~[weld-core-impl-3.1.2.Final.jar:3.1.2.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:106) ~[weld-core-impl-3.1.2.Final.jar:3.1.2.Final] at org.gluu.persist.EntityManager$PersistenceEntryManager$479440844$Proxy$_$$_WeldClientProxy.find(Unknown Source) ~[weld-core-impl-3.1.2.Final.jar:?] at org.gluu.oxtrust.config.ConfigurationFactory.loadConfigurationFromLdap(ConfigurationFactory.java:414) [classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory$Proxy$_$$_WeldSubclass.loadConfigurationFromLdap(Unknown Source) [classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory.reloadConfiguration(ConfigurationFactory.java:234) [classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory.reloadConfigurationTimerEvent(ConfigurationFactory.java:188) [classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory$Proxy$_$$_WeldSubclass.reloadConfigurationTimerEvent$$super(Unknown Source) [classes/:?] at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:51) [weld-core-impl-3.1.2.Final.jar:3.1.2.Final] at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:78) [weld-core-impl-3.1.2.Final.jar:3.1.2.Final] at org.gluu.service.cdi.async.AsynchronousInterceptor$1.get(AsynchronousInterceptor.java:36) [oxcore-service-4.1.1.Final.jar:?] ```