You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Thomas Wolf (Jira)" <ji...@apache.org> on 2022/06/08 15:06:00 UTC

[jira] [Closed] (SSHD-1174) sshd as client broken because Invalid packet length

     [ https://issues.apache.org/jira/browse/SSHD-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Wolf closed SSHD-1174.
-----------------------------
    Resolution: Abandoned

> 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.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org