[ 
https://issues.apache.org/jira/browse/SSHD-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13899482#comment-13899482
 ] 

Tuan Do edited comment on SSHD-290 at 2/12/14 7:40 PM:
-------------------------------------------------------

Can I check out the 0.9.0 version source code from git?  I can only check out 
the latest one.  I modified with the latest code, but still ran into the same 
error.  Wonder if it would make a different it I change on the 0.9.0 source 
code.  The thing is I can't change the client code.  Here is the error I'm 
getting with the latest source code (see attachment below).

Thanks.

org.apache.sshd.common.SshException: Received 98 on unknown channel 0
        at 
org.apache.sshd.common.session.AbstractConnectionService.getChannel(AbstractConnectionService.java:288)
 ~[sshd-core-0.9.0.jar:0.11.0-SNAPSHOT]
        at 
org.apache.sshd.common.session.AbstractConnectionService.channelRequest(AbstractConnectionService.java:260)
 ~[sshd-core-0.9.0.jar:0.11.0-SNAPSHOT]
        at 
org.apache.sshd.common.session.AbstractConnectionService.process(AbstractConnectionService.java:139)
 ~[sshd-core-0.9.0.jar:0.11.0-SNAPSHOT]
        at 
org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:391)
 ~[sshd-core-0.9.0.jar:0.11.0-SNAPSHOT]
        at 
org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:294)
 ~[sshd-core-0.9.0.jar:0.11.0-SNAPSHOT]
        at 
org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:710) 
~[sshd-core-0.9.0.jar:0.11.0-SNAPSHOT]
        at 
org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:276)
 ~[sshd-core-0.9.0.jar:0.11.0-SNAPSHOT]
        at 
org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54)
 ~[sshd-core-0.9.0.jar:0.11.0-SNAPSHOT]
        at 
org.apache.sshd.common.io.nio2.Nio2Session$1.completed(Nio2Session.java:188) 
[sshd-core-0.9.0.jar:0.11.0-SNAPSHOT]
        at 
org.apache.sshd.common.io.nio2.Nio2Session$1.completed(Nio2Session.java:1) 
[sshd-core-0.9.0.jar:0.11.0-SNAPSHOT]
        at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126) [na:1.7.0_21]
        at sun.nio.ch.Invoker$2.run(Invoker.java:206) [na:1.7.0_21]
        at 
sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
 [na:1.7.0_21]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
[na:1.7.0_21]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[na:1.7.0_21]
        at java.lang.Thread.run(Thread.java:722) [na:1.7.0_21]


was (Author: doanhtuan):
Can I check out the 0.9.0 version source code from git?  I can only check out 
the latest one.  I modified with the latest code, but still ran into the same 
error.  Wonder if it would make a different it I change on the 0.9.0 source 
code.  The thing is I can't change the client code.  Here is the error I'm 
getting with the latest source code (see attachment below).

Thanks.

> Received SSH_MSG_CHANNEL_REQUEST on unknown channel 0
> -----------------------------------------------------
>
>                 Key: SSHD-290
>                 URL: https://issues.apache.org/jira/browse/SSHD-290
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Tuan Do
>         Attachments: SSHD_Error.txt, sshd_latest_with_changes.txt
>
>
> SSHD Server closing session after Received SSH_MSG_CHANNEL_REQUEST on unknown 
> channel 0.
> org.apache.sshd.common.SshException: Received SSH_MSG_CHANNEL_REQUEST on 
> unknown channel 0
>       at 
> org.apache.sshd.common.session.AbstractSession.getChannel(AbstractSession.java:1110)
>  ~[sshd-core-0.9.0.jar:0.9.0]
>       at 
> org.apache.sshd.common.session.AbstractSession.channelRequest(AbstractSession.java:1082)
>  ~[sshd-core-0.9.0.jar:0.9.0]
>       at 
> org.apache.sshd.server.session.ServerSession.running(ServerSession.java:240) 
> ~[sshd-core-0.9.0.jar:0.9.0]
>       at 
> org.apache.sshd.server.session.ServerSession.handleMessage(ServerSession.java:216)
>  ~[sshd-core-0.9.0.jar:0.9.0]
>       at 
> org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:587)
>  ~[sshd-core-0.9.0.jar:0.9.0]
>       at 
> org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:253)
>  ~[sshd-core-0.9.0.jar:0.9.0]
>       at 
> org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54)
>  ~[sshd-core-0.9.0.jar:0.9.0]
>       at 
> org.apache.sshd.common.io.nio2.Nio2Session$2.completed(Nio2Session.java:231) 
> [sshd-core-0.9.0.jar:0.9.0]
>       at 
> org.apache.sshd.common.io.nio2.Nio2Session$2.completed(Nio2Session.java:217) 
> [sshd-core-0.9.0.jar:0.9.0]
>       at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126) [na:1.7.0_21]
>       at sun.nio.ch.Invoker$2.run(Invoker.java:206) [na:1.7.0_21]
>       at 
> sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
>  [na:1.7.0_21]
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  [na:1.7.0_21]
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  [na:1.7.0_21]
>       at java.lang.Thread.run(Thread.java:722) [na:1.7.0_21]



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to