I also saw this issue. Gerrit went down in the middle of the night and Gerrit Trigger was not able to reconnect, although I was able to restart Gerrit Trigger through the console without restarting Jenkins. I saw the errors below many times in the logs. It looks like the server was down for several hours and the Gerrit Trigger connection timed out eventually.

SEVERE: IOException:
com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshException: com.jcraft.jsch.JSchException: java.net.ConnectException: Connection timed out
at com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectionImpl.<init>(SshConnectionImpl.java:126)
at com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectionFactory.getConnection(SshConnectionFactory.java:76)
at com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritConnection.connect(GerritConnection.java:365)
at com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritConnection.run(GerritConnection.java:293)
Caused by: com.jcraft.jsch.JSchException: java.net.ConnectException: Connection timed out
at com.jcraft.jsch.Util.createSocket(Util.java:341)
at com.jcraft.jsch.Session.connect(Session.java:192)
at com.jcraft.jsch.Session.connect(Session.java:160)
at com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectionImpl.<init>(SshConnectionImpl.java:122)
... 3 more
Caused by: java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
at java.net.Socket.connect(Socket.java:546)
at java.net.Socket.connect(Socket.java:495)
at java.net.Socket.<init>(Socket.java:392)
at java.net.Socket.<init>(Socket.java:206)
at com.jcraft.jsch.Util.createSocket(Util.java:335)
... 6 more
Feb 6, 2014 2:17:32 AM com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritConnection connect
SEVERE: Could not connect to Gerrit server! Host: myserver.com Port: #####

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to