[
https://issues.apache.org/jira/browse/SSHD-738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15962089#comment-15962089
]
Goldstein Lyor commented on SSHD-738:
-------------------------------------
I have looked at the stack-trace displayed in the [JIRA
issue|https://jira.atlassian.com/browse/BAM-17773] and best I can tell is that
the client is sending a malformed [disconnection
message|https://tools.ietf.org/html/rfc4253#section-11.1]. It would help if you
could attach more information to this issue - e.g., the client that is being
used. In any case, it is relatively harmless as it occurs during the disconnect
stage where the connection is dropped anyway, so we are left only with the
(annoying) WARNING message. I have added some code in the latest version
(1.5.0-SNAPSHOT) that should provide more light if/when this happens. Please
try it and see if it sheds any light.
> "BufferException: Underflow" warning is frequently reported
> -----------------------------------------------------------
>
> Key: SSHD-738
> URL: https://issues.apache.org/jira/browse/SSHD-738
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 1.2.0
> Environment: Gerrit Code Review
> Reporter: David Ostrovsky
>
> Since upgrade to 1.2.0 Gerrit users report this warning being frequently
> reported:
> {noformat}
> [2017-04-05 09:21:22,246] [sshd-SshServer[3b6c7bae]-nio2-thread-18] WARN
> org.apache.sshd.server.session.ServerSessionImpl :
> exceptionCaught(ServerSessionImpl[xxxx@/yyyyy:47277])[state=Opened]
> BufferException: Underflow
> {noformat}
> It worth mention, that other SSHD users reported similar problem:
> https://jira.atlassian.com/browse/BAM-17773.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)