karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Created] (KARAF-1914) SSH client authentication randomly fails
Date Thu, 11 Oct 2012 09:47:02 GMT
Jean-Baptiste Onofré created KARAF-1914:
-------------------------------------------

             Summary: SSH client authentication randomly fails
                 Key: KARAF-1914
                 URL: https://issues.apache.org/jira/browse/KARAF-1914
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 2.3.0
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: 2.3.0, 3.0.0


When using bin/client, the SSH authentication randomly fails.

The log file shows:

2012-10-11 11:42:34,821 | WARN  | NioProcessor-4   | KarafJaasAuthenticator           | shell.ssh.KarafJaasAuthenticator
 151 | 41 - org.apache.karaf.shell.ssh - 2.3.0.SNAPSHOT | User authentication failed with
null not available to obtain information from user
javax.security.auth.login.LoginException: null not available to obtain information from user
        at org.apache.karaf.jaas.modules.properties.PropertiesLoginModule.login(PropertiesLoginModule.java:75)
        at org.apache.karaf.jaas.boot.ProxyLoginModule.login(ProxyLoginModule.java:83)[karaf-jaas-boot.jar:]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_26]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_26]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_26]
        at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_26]
        at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)[:1.6.0_26]
        at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)[:1.6.0_26]
        at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)[:1.6.0_26]
        at java.security.AccessController.doPrivileged(Native Method)[:1.6.0_26]
        at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)[:1.6.0_26]
        at javax.security.auth.login.LoginContext.login(LoginContext.java:579)[:1.6.0_26]
        at org.apache.karaf.shell.ssh.KarafJaasAuthenticator.authenticate(KarafJaasAuthenticator.java:127)[41:org.apache.karaf.shell.ssh:2.3.0.SNAPSHOT]
        at org.apache.sshd.server.auth.UserAuthPublicKey.auth(UserAuthPublicKey.java:71)[26:org.apache.sshd.core:0.8.0]
        at org.apache.sshd.server.session.ServerSession.userAuth(ServerSession.java:392)[26:org.apache.sshd.core:0.8.0]
        at org.apache.sshd.server.session.ServerSession.handleMessage(ServerSession.java:201)[26:org.apache.sshd.core:0.8.0]
        at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:566)[26:org.apache.sshd.core:0.8.0]
        at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:236)[26:org.apache.sshd.core:0.8.0]
        at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:58)[26:org.apache.sshd.core:0.8.0]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:690)[28:org.apache.mina.core:2.0.7]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)[28:org.apache.mina.core:2.0.7]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)[28:org.apache.mina.core:2.0.7]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)[28:org.apache.mina.core:2.0.7]
        at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)[28:org.apache.mina.core:2.0.7]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)[28:org.apache.mina.core:2.0.7]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:410)[28:org.apache.mina.core:2.0.7]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:710)[28:org.apache.mina.core:2.0.7]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:664)[28:org.apache.mina.core:2.0.7]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:653)[28:org.apache.mina.core:2.0.7]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:67)[28:org.apache.mina.core:2.0.7]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1124)[28:org.apache.mina.core:2.0.7]
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)[28:org.apache.mina.core:2.0.7]
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_26]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_26]


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message