I am getting below exception when trying to connect to admin. I could start the server but it is not accepting admin credentials. I have tried stardog-admin db repair but this no luck. I am usig the trial devloper enterprise version 4.2.4.
Exception in thread “main” com.complexible.stardog.security.StardogAuthenticationException: Authentication failed for account 'admin’
at com.complexible.stardog.protocols.client.SPECClientUtil.toStardogException(SPECClientUtil.java:57)
at com.complexible.stardog.protocols.client.SPECClientUtil.toStardogException(SPECClientUtil.java:34)
at com.complexible.stardog.protocols.client.admin.StatefulAdminClient.(StatefulAdminClient.java:62)
at com.complexible.stardog.protocols.snarl.client.SNARLDriver.connectAdmin(SNARLDriver.java:173)
at com.complexible.stardog.api.admin.AdminConnectionConfiguration.connect(AdminConnectionConfiguration.java:45)
at com.complexible.stardog.examples.api.OSMSpeed.main(OSMSpeed.java:80)
Caused by: com.complexible.common.protocols.AuthenticationException: Authentication failed for account 'admin’
at com.complexible.common.protocols.server.rpc.ServerHandler.login(ServerHandler.java:248)
at com.complexible.common.protocols.server.rpc.ServerHandler.handleMessage(ServerHandler.java:277)
at com.complexible.common.protocols.server.rpc.ServerHandler.channelRead(ServerHandler.java:204)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
at io.netty.channel.local.LocalChannel.finishPeerRead0(LocalChannel.java:427)
at io.netty.channel.local.LocalChannel.access$500(LocalChannel.java:48)
at io.netty.channel.local.LocalChannel$5.run(LocalChannel.java:383)
at io.netty.channel.local.LocalEventLoop.run(LocalEventLoop.java:33)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.shiro.authc.AuthenticationException: There was a problem while retrieving authentication info.
at com.complexible.stardog.security.shiro.StardogRealm.authenticationInfo(StardogRealm.java:253)
at com.complexible.stardog.security.shiro.StardogRealm.doGetAuthenticationInfo(StardogRealm.java:157)
at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:568)
at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180)
at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267)
at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198)
at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106)
at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270)
at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256)
at com.complexible.common.protocols.server.rpc.ServerHandler.login(ServerHandler.java:237)
… 12 more
Caused by: com.complexible.stardog.security.ResourceNotFoundException: user:admin does not exist.
at com.complexible.stardog.security.index.IndexAuthenticationManager.assertUserExists(IndexAuthenticationManager.java:290)
at com.complexible.stardog.security.index.IndexAuthenticationManager.isUserEnabled(IndexAuthenticationManager.java:251)
at com.complexible.stardog.security.impl.SystemSecurityManagerImpl.isUserEnabled(SystemSecurityManagerImpl.java:752)
at com.complexible.stardog.security.index.IndexBackedSystemSecurityManager.isUserEnabled(IndexBackedSystemSecurityManager.java:400)
at com.complexible.stardog.security.shiro.StardogRealm.authenticationInfo(StardogRealm.java:236)
… 21 more