After sending changes to Gerrit for review, all subsequent connections via ssh
fail with:
Bad packet length 1133989372.
Disconnecting: Packet corrupt
The log shows several instances of:
WARN com.google.gerrit.sshd.GerritServerSession : Exception caught
org.apache.sshd.common.SshException: Invalid packet length: -285787426
This happens every day and after it happens I need to restart Gerrit
to get it working again.
I run Gerrit 2.11 on a VM and the only listener on stream events is Jenkins
(v1.629) using the Gerrit-trigger plugin (v2.17.2). The Jenkins' machine is a VM
on the same host.
I've found this thread from mina-users which describes a somewhat similar
problem, but I'm not sure if it is related:
http://goo.gl/5awojuI'll attach a log with debug level set.