Uploaded image for project: 'Network Controller'
  1. Network Controller
  2. SDNC-1301

On navigating the ODLUX UI tabs getting error org.opendaylight.aaa.api.AuthenticationException: UserName / Password not found in karaf.log

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Guilin Release
    • Frankfurt Release
    • ccsdk/apps

      On navigating different tabs like Fault, Connect, etc we are getting below error in the karaf.log

      Release - Frankfurt - latest

      2020-07-23T05:22:59,802 | WARN | sshd-SshClient[4c9caf10]-nio2-thread-2 | AsyncSshHandler | 382 - org.opendaylight.netconf.netty-util - 1.6.1 | - | Unable to setup SSH connection on channel: [id: 0x5ef5a470]
      java.net.ConnectException: Connection refused
      at sun.nio.ch.UnixAsynchronousSocketChannelImpl.checkConnect(Native Method) ~[?:?]
      at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishConnect(UnixAsynchronousSocketChannelImpl.java:252) ~[?:?]
      at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:198) ~[?:?]
      at sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213) ~[?:?]
      at sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:293) ~[?:?]
      at java.lang.Thread.run(Thread.java:748) [?:?]
      2020-07-23T05:23:03,289 | WARN | qtp1089481295-21269 | AbstractAuthenticator | 142 - org.apache.shiro.core - 1.3.2 | - | Authentication failed for token submission [org.apache.shiro.authc.UsernamePasswordToken - admin, rememberMe=false]. Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException).
      org.opendaylight.aaa.api.AuthenticationException: UserName / Password not found
      at org.opendaylight.aaa.shiro.idm.IdmLightProxy.dbAuthenticate(IdmLightProxy.java:105) ~[?:?]
      at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) ~[?:?]
      at org.opendaylight.aaa.shiro.idm.IdmLightProxy.authenticate(IdmLightProxy.java:66) ~[?:?]
      at org.opendaylight.aaa.shiro.idm.IdmLightProxy.authenticate(IdmLightProxy.java:39) ~[?:?]
      at org.opendaylight.aaa.shiro.tokenauthrealm.auth.HttpBasicAuth.generateAuthentication(HttpBasicAuth.java:102) ~[?:?]
      at org.opendaylight.aaa.shiro.tokenauthrealm.auth.HttpBasicAuth.validate(HttpBasicAuth.java:122) ~[?:?]
      at org.opendaylight.aaa.shiro.realm.TokenAuthRealm.doGetAuthenticationInfo(TokenAuthRealm.java:147) ~[?:?]
      at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:568) ~[142:org.apache.shiro.core:1.3.2]
      at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180) ~[142:org.apache.shiro.core:1.3.2]
      at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267) ~[142:org.apache.shiro.core:1.3.2]
      at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) [142:org.apache.shiro.core:1.3.2]
      at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) [142:org.apache.shiro.core:1.3.2]
      at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270) [142:org.apache.shiro.core:1.3.2]
      at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256) [142:org.apache.shiro.core:1.3.2]
      at org.opendaylight.aaa.authenticator.ODLAuthenticator.login(ODLAuthenticator.java:80) [289:org.opendaylight.aaa.shiro:0.9.1]
      at org.opendaylight.aaa.authenticator.ODLAuthenticator.authenticate(ODLAuthenticator.java:50) [289:org.opendaylight.aaa.shiro:0.9.1]
      at Proxye0bcdfc7_3cb0_40f6_a0f3_d86eb205d8d8.authenticate(Unknown Source) [?:?]
      at org.jolokia.osgi.security.ServiceAuthenticationHttpContext.handleSecurity(ServiceAuthenticationHttpContext.java:72) [203:org.jolokia.osgi:1.6.0]
      at org.ops4j.pax.web.service.internal.WebContainerContextWrapper.handleSecurity(WebContainerContextWrapper.java:46) [433:org.ops4j.pax.web.pax-web-runtime:7.2.5]
      at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:69) [431:org.ops4j.pax.web.pax-web-jetty:7.2.5]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [164:org.eclipse.jetty.security:9.4.12.v20180830]
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1340) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293) [431:org.ops4j.pax.web.pax-web-jetty:7.2.5]
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) [167:org.eclipse.jetty.servlet:9.4.12.v20180830]
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1242) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [431:org.ops4j.pax.web.pax-web-jetty:7.2.5]
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.Server.handle(Server.java:503) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) [158:org.eclipse.jetty.io:9.4.12.v20180830]
      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [158:org.eclipse.jetty.io:9.4.12.v20180830]
      at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) [158:org.eclipse.jetty.io:9.4.12.v20180830]
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) [169:org.eclipse.jetty.util:9.4.12.v20180830]
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) [169:org.eclipse.jetty.util:9.4.12.v20180830]
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) [169:org.eclipse.jetty.util:9.4.12.v20180830]
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) [169:org.eclipse.jetty.util:9.4.12.v20180830]
      at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) [169:org.eclipse.jetty.util:9.4.12.v20180830]
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) [169:org.eclipse.jetty.util:9.4.12.v20180830]
      at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) [169:org.eclipse.jetty.util:9.4.12.v20180830]
      at java.lang.Thread.run(Thread.java:748) [?:?]
      2020-07-23T05:23:18,733 | WARN | qtp1089481295-22333 | AbstractAuthenticator | 142 - org.apache.shiro.core - 1.3.2 | - | Authentication failed for token submission [org.apache.shiro.authc.UsernamePasswordToken - admin, rememberMe=false]. Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException).
      org.opendaylight.aaa.api.AuthenticationException: UserName / Password not found
      at org.opendaylight.aaa.shiro.idm.IdmLightProxy.dbAuthenticate(IdmLightProxy.java:105) ~[?:?]
      at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) ~[?:?]
      at org.opendaylight.aaa.shiro.idm.IdmLightProxy.authenticate(IdmLightProxy.java:66) ~[?:?]
      at org.opendaylight.aaa.shiro.idm.IdmLightProxy.authenticate(IdmLightProxy.java:39) ~[?:?]
      at org.opendaylight.aaa.shiro.tokenauthrealm.auth.HttpBasicAuth.generateAuthentication(HttpBasicAuth.java:102) ~[?:?]
      at org.opendaylight.aaa.shiro.tokenauthrealm.auth.HttpBasicAuth.validate(HttpBasicAuth.java:122) ~[?:?]
      at org.opendaylight.aaa.shiro.realm.TokenAuthRealm.doGetAuthenticationInfo(TokenAuthRealm.java:147) ~[?:?]
      at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:568) ~[142:org.apache.shiro.core:1.3.2]
      at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180) ~[142:org.apache.shiro.core:1.3.2]
      at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267) ~[142:org.apache.shiro.core:1.3.2]
      at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) [142:org.apache.shiro.core:1.3.2]
      at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) [142:org.apache.shiro.core:1.3.2]
      at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270) [142:org.apache.shiro.core:1.3.2]
      at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256) [142:org.apache.shiro.core:1.3.2]
      at org.opendaylight.aaa.authenticator.ODLAuthenticator.login(ODLAuthenticator.java:80) [289:org.opendaylight.aaa.shiro:0.9.1]
      at org.opendaylight.aaa.authenticator.ODLAuthenticator.authenticate(ODLAuthenticator.java:50) [289:org.opendaylight.aaa.shiro:0.9.1]
      at Proxye0bcdfc7_3cb0_40f6_a0f3_d86eb205d8d8.authenticate(Unknown Source) [?:?]
      at org.jolokia.osgi.security.ServiceAuthenticationHttpContext.handleSecurity(ServiceAuthenticationHttpContext.java:72) [203:org.jolokia.osgi:1.6.0]
      at org.ops4j.pax.web.service.internal.WebContainerContextWrapper.handleSecurity(WebContainerContextWrapper.java:46) [433:org.ops4j.pax.web.pax-web-runtime:7.2.5]
      at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:69) [431:org.ops4j.pax.web.pax-web-jetty:7.2.5]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [164:org.eclipse.jetty.security:9.4.12.v20180830]
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1340) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293) [431:org.ops4j.pax.web.pax-web-jetty:7.2.5]
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) [167:org.eclipse.jetty.servlet:9.4.12.v20180830]
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1242) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [431:org.ops4j.pax.web.pax-web-jetty:7.2.5]
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.Server.handle(Server.java:503) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) [166:org.eclipse.jetty.server:9.4.12.v20180830]
      at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) [158:org.eclipse.jetty.io:9.4.12.v20180830]
      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [158:org.eclipse.jetty.io:9.4.12.v20180830]
      at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) [158:org.eclipse.jetty.io:9.4.12.v20180830]
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) [169:org.eclipse.jetty.util:9.4.12.v20180830]
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) [169:org.eclipse.jetty.util:9.4.12.v20180830]
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) [169:org.eclipse.jetty.util:9.4.12.v20180830]
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) [169:org.eclipse.jetty.util:9.4.12.v20180830]
      at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) [169:org.eclipse.jetty.util:9.4.12.v20180830]
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) [169:org.eclipse.jetty.util:9.4.12.v20180830]
      at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) [169:org.eclipse.jetty.util:9.4.12.v20180830]
      at java.lang.Thread.run(Thread.java:748) [?:?]

            metaljackL Michael Dürre
            gmittal gmittal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: