mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Kusnierz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SSHD-535) SshException: Received 96 on unknown channel 0
Date Thu, 09 Jul 2015 15:31:04 GMT
Matt Kusnierz created SSHD-535:
----------------------------------

             Summary: SshException: Received 96 on unknown channel 0
                 Key: SSHD-535
                 URL: https://issues.apache.org/jira/browse/SSHD-535
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 0.13.0
            Reporter: Matt Kusnierz


Sometimes (but not always) get this exception immediately following closing the ChannelSession:

2015-07-09 16:17:02,981 WARN [sshd-SshClient[1b15f922]-nio2-thread-4] org.apache.sshd.client.session.ClientSessionImpl
- Exception caught
org.apache.sshd.common.SshException: Received 96 on unknown channel 0
	at org.apache.sshd.common.session.AbstractConnectionService.getChannel(AbstractConnectionService.java:297)
~[sshd-core-0.13.0.jar:0.13.0]
	at org.apache.sshd.common.session.AbstractConnectionService.channelEof(AbstractConnectionService.java:246)
~[sshd-core-0.13.0.jar:0.13.0]
	at org.apache.sshd.common.session.AbstractConnectionService.process(AbstractConnectionService.java:163)
~[sshd-core-0.13.0.jar:0.13.0]
	at org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:405)
~[sshd-core-0.13.0.jar:0.13.0]
	at org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:301)
~[sshd-core-0.13.0.jar:0.13.0]
	at org.apache.sshd.client.session.ClientSessionImpl.handleMessage(ClientSessionImpl.java:265)
~[sshd-core-0.13.0.jar:0.13.0]
	at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:738) ~[sshd-core-0.13.0.jar:0.13.0]
	at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:283)
~[sshd-core-0.13.0.jar:0.13.0]
	at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54)
~[sshd-core-0.13.0.jar:0.13.0]
	at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:184) [sshd-core-0.13.0.jar:0.13.0]
	at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:170) [sshd-core-0.13.0.jar:0.13.0]
	at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)
[sshd-core-0.13.0.jar:0.13.0]
	at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0]
	at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)
[sshd-core-0.13.0.jar:0.13.0]
	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126) [na:1.8.0]
	at sun.nio.ch.Invoker$2.run(Invoker.java:206) [na:1.8.0]
	at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112) [na:1.8.0]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0]
	at java.lang.Thread.run(Thread.java:744) [na:1.8.0]

This sounds similar to SSHD-290, but instead it gets a 96=SSH_MSG_CHANNEL_EOF



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message