Increased number of "Connection reset by peer" after Gerrit 3.5.1-73 upgrade

224 views
Skip to first unread message

David Åkerman

unread,
Jul 13, 2022, 8:21:26 AM7/13/22
to Repo and Gerrit Discussion
Hi,

After upgrading Gerrit to 3.5.1-73 we got an increased number of Connection reset by peer that looks like:

[2022-06-22T00:22:56.652+02:00] [NioProcessor-1] WARN  org.apache.sshd.server.session.ServerSessionImpl : exceptionCaught(ServerSessionImpl[<username>@/<ip>:<port>])[state=Opened] IOException: Connection reset by peer

We suspect that the upgrade of sshd-mina from 2.6.0 to 2.7.0 caused this.(https://gerrit-review.googlesource.com/c/gerrit/+/330659/14/tools/nongoogle.bzl)

Is these log entries something to worry about or can we safely ignore these and filter away warnings from org.apache.sshd.server.session.ServerSessionImpl?

Best regards,

David


Nguyen Tuan Khang Phan

unread,
Oct 4, 2022, 10:58:50 AM10/4/22
to Repo and Gerrit Discussion
We have that on latest 3.4, but we use default nio2

David Åkerman

unread,
Oct 6, 2022, 3:59:10 AM10/6/22
to Repo and Gerrit Discussion
On Tuesday, October 4, 2022 at 4:58:50 PM UTC+2 phan....@gmail.com wrote:
We have that on latest 3.4, but we use default nio2

Thanks for the response!
Yes, we got this warning before also. What we were worried about was that the occurrence increased much after upgrading to 3.5.1-73.
In the end we decided to filter away these warnings because we thought that this was something we could safely ignore.

Yingchun Li

unread,
Jun 25, 2023, 3:43:13 AM6/25/23
to Repo and Gerrit Discussion
On Wednesday, July 13, 2022 at 8:21:26 PM UTC+8 David Åkerman wrote:
Hi,

After upgrading Gerrit to 3.5.1-73 we got an increased number of Connection reset by peer that looks like:

[2022-06-22T00:22:56.652+02:00] [NioProcessor-1] WARN  org.apache.sshd.server.session.ServerSessionImpl : exceptionCaught(ServerSessionImpl[<username>@/<ip>:<port>])[state=Opened] IOException: Connection reset by peer

+1, we have the exactly same warning after upgrading to 3.7.3, never see this before.
Reply all
Reply to author
Forward
0 new messages