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

Lyor Goldstein commented on SSHD-1174:
--------------------------------------

{quote}
the java code i could provided
{quote}
So where is it ?

> sshd as client broken because Invalid packet length
> ---------------------------------------------------
>
>                 Key: SSHD-1174
>                 URL: https://issues.apache.org/jira/browse/SSHD-1174
>             Project: MINA SSHD
>          Issue Type: Bug
>            Reporter: tk0214
>            Priority: Major
>              Labels: user-response-required
>
> when connect to some ssh server, sometimes the connection was broken
> the detail exception
> org.apache.sshd.common.session.helpers.SessionHelper.exceptionCaught(SessionHelper.java:1130)
>  
> org.apache.sshd.common.session.helpers.SessionHelper.exceptionCaught(SessionHelper.java:1130)
>  org.apache.sshd.common.SshException: Invalid packet length: -341240110 at 
> org.apache.sshd.common.session.helpers.AbstractSession.decode(AbstractSession.java:1227)
>  ~[sshd-core-2.4.0.jar:2.4.0] at 
> org.apache.sshd.common.session.helpers.AbstractSession.messageReceived(AbstractSession.java:348)
>  ~[sshd-core-2.4.0.jar:2.4.0] at 
> org.apache.sshd.common.session.helpers.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:63)
>  ~[sshd-core-2.4.0.jar:2.4.0] at 
> org.apache.sshd.common.io.nio2.Nio2Session.handleReadCycleCompletion(Nio2Session.java:368)
>  ~[sshd-core-2.4.0.jar:2.4.0] at 
> org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:346)
>  ~[sshd-core-2.4.0.jar:2.4.0] at 
> org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:343)
>  ~[sshd-core-2.4.0.jar:2.4.0]
>  
> plus
>  details 
> org.apache.sshd.common.session.helpers.SessionTimeoutListener.sessionException(SessionTimeoutListener.java:66)
>   details 
> org.apache.sshd.common.session.helpers.SessionTimeoutListener.sessionException(SessionTimeoutListener.java:66)
>  org.apache.sshd.common.SshException: Invalid packet length: 862175523 at 
> org.apache.sshd.common.session.helpers.AbstractSession.decode(AbstractSession.java:1227)
>  ~[sshd-core-2.4.0.jar:2.4.0] at 
> org.apache.sshd.common.session.helpers.AbstractSession.messageReceived(AbstractSession.java:348)
>  ~[sshd-core-2.4.0.jar:2.4.0] at 
> org.apache.sshd.common.session.helpers.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:63)
>  ~[sshd-core-2.4.0.jar:2.4.0] at 
> org.apache.sshd.common.io.nio2.Nio2Session.handleReadCycleCompletion(Nio2Session.java:368)
>  ~[sshd-core-2.4.0.jar:2.4.0] at 
> org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:346)
>  ~[sshd-core-2.4.0.jar:2.4.0] at 
> org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:343)
>  ~[sshd-core-2.4.0.jar:2.4.0]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to