Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-535

SshException: Received 96 on unknown channel 0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 0.13.0
    • Fix Version/s: 1.7.0
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lgoldstein Lyor Goldstein
                Reporter:
                matthew.kusnierz@gmail.com Matt Kusnierz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: