By: Kunal Vaidya user 27 Nov 2020 at 10:47 a.m. CST

1 Response
Kunal Vaidya gravatar
Hey guys, We have a newly installed setup with 4.2.1 Gluu server with remote Couchbase and 2 OpenID clients configured. We use SCIM APIs for user onboarding and deletion. Issues: - Not able to log in to the admin console . But we are able to generate tokens for the openid clients. - Along with the key generation error(Ticket: https://support.gluu.org/authentication/9164/oxauth-key-generation-issue/) we are also getting this error. ``` 2020-11-27 16:40:43,070 TRACE [Thread-179] [org.gluu.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:259) - LDAP revision: 4, server revision:4 2020-11-27 16:40:43,146 ERROR [Thread-182] [org.gluu.service.cache.NativePersistenceCacheProvider] (NativePersistenceCacheProvider.java:52) - Failed to create NATIVE_PERSISTENCE cache provider. 'baseDn' in CacheConfiguration is not initialized. It has to be set by client application (e.g. oxAuth has to set it in ApplicationFactory.) 2020-11-27 16:40:43,147 ERROR [Thread-182] [org.gluu.service.cache.NativePersistenceCacheProvider] (NativePersistenceCacheProvider.java:76) - Failed to create NATIVE_PERSISTENCE cache provider. java.lang.RuntimeException: Failed to create NATIVE_PERSISTENCE cache provider. 'baseDn' in CacheConfiguration is not initialized. It has to be set by client application. at org.gluu.service.cache.NativePersistenceCacheProvider.create(NativePersistenceCacheProvider.java:53) [oxcore-cache-4.2.1.Final.jar:?] at org.gluu.service.cache.NativePersistenceCacheProvider$Proxy$_$$_WeldClientProxy.create(Unknown Source) [oxcore-cache-4.2.1.Final.jar:?] at org.gluu.service.cache.CacheProviderFactory.getCacheProvider(CacheProviderFactory.java:67) [oxcore-cache-4.2.1.Final.jar:?] at org.gluu.service.cache.CacheProviderFactory.getCacheProvider(CacheProviderFactory.java:35) [oxcore-cache-4.2.1.Final.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] ``` ``` - Authentication failed for 'admin' Caused by: org.gluu.persist.exception.KeyConversionException: Failed to convert empty DN to KeyCaused by: org.gluu.persist.exception.KeyConversionException: Failed to convert empty DN to Key2020-11-27 16:37:13,072 TRACE [Thread-137] [org.gluu.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:259) - LDAP revision: 4, server revision:4 2020-11-27 16:37:13,186 TRACE [Thread-140] [org.gluu.oxauth.service.AppInitializer] (AppInitializer.java:292) - Attempting to use persistenceEntryManager: org.gluu.persist.couchbase.operation.impl.CouchbaseOperationServiceImpl@2b464384 ``` Please let me know if you need any other logs or details. Thanks.

By Mohit Mali staff 01 Dec 2020 at 2:19 a.m. CST

Mohit Mali gravatar
hi Kunal Vaidya, let me check and get the requried information, i'll get back to you asap. Thank you and Regards Mohit Mali.