[JIRA] [gerrit-trigger] (JENKINS-15065) Gerrit server suddenly shutdown and as a consequence the Jenkins Gerrit-Trigger fails to restart.

2014-02-10 Thread [email protected] (JIRA)














































Kevin Brotcke
 commented on  JENKINS-15065


Gerrit server suddenly shutdown and as a consequence the Jenkins Gerrit-Trigger fails to restart. 















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.(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.(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.(Socket.java:392)
	at java.net.Socket.(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.


[JIRA] [gerrit-trigger] (JENKINS-15065) Gerrit server suddenly shutdown and as a consequence the Jenkins Gerrit-Trigger fails to restart.

2013-06-13 Thread [email protected] (JIRA)














































Piotr Szwed
 commented on  JENKINS-15065


Gerrit server suddenly shutdown and as a consequence the Jenkins Gerrit-Trigger fails to restart. 















I am facing exactly the same problem with the latest versions of Gerrit and Jenkins - it is a bit confusing as I need to cancel or pause big number of builds with every Gerrit restart.

Jenkins ver. 1.518
Gerrit Code Review (2.7-rc1) 
Gerrit Trigger plugin: 2.10.0



























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.