jenkinsci / jenkinsci/gerrit-trigger-plugin

[JENKINS-71273] Gerrit Trigger fails to connect Gerrit 2.14 - com.jcraft.jsch.JSchException: verify: false

Open
#975 12 comments 0 reactions 0 assignees View on GitHub
component:gerrit-trigger-plugin component:jsch-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
226
Forks
289
PR merge metrics
No merged PRs in 30d

Description

This had been all working until the latest plugin updates.  And does work with newer Gerrit version instances.

 

Gerrit Trigger fails to connect Gerrit 2.14 - com.jcraft.jsch.JSchException: verify: false

IOException: com.jcraft.jsch.JSchException: verify: false at com.jcraft.jsch.Session.connect(Session.java:330) at com.sonymobile.tools.gerrit.gerritevents.ssh.SshConnectionImpl.connect(SshConnectionImpl.java:196) Caused: com.sonymobile.tools.gerrit.gerritevents.ssh.SshException at com.sonymobile.tools.gerrit.gerritevents.ssh.SshConnectionImpl.connect(SshConnectionImpl.java:200) at com.sonymobile.tools.gerrit.gerritevents.ssh.SshConnectionFactory.getConnection(SshConnectionFactory.java:140) at com.sonymobile.tools.gerrit.gerritevents.ssh.SshConnectionFactory.getConnection(SshConnectionFactory.java:117) at com.sonymobile.tools.gerrit.gerritevents.GerritConnection.connect(GerritConnection.java:498) at com.sonymobile.tools.gerrit.gerritevents.GerritConnection.run(GerritConnection.java:404)

Cannot connect to Gerrit server! Host:

---
Originally reported by dwcook, imported from: Gerrit Trigger fails to connect Gerrit 2.14 - com.jcraft.jsch.JSchException: verify: false


  • assignee: rsandell
  • status: Open
  • priority: Major
  • component(s): gerrit-trigger-plugin, jsch-plugin
  • resolution: Unresolved
  • votes: 4
  • watchers: 14
  • imported: 2025-12-07

Raw content of original issue

This had been all working until the latest plugin updates.  And does work with newer Gerrit version instances.

 

Gerrit Trigger fails to connect Gerrit 2.14 - com.jcraft.jsch.JSchException: verify: false

IOException: com.jcraft.jsch.JSchException: verify: false at com.jcraft.jsch.Session.connect(Session.java:330) at com.sonymobile.tools.gerrit.gerritevents.ssh.SshConnectionImpl.connect(SshConnectionImpl.java:196) Caused: com.sonymobile.tools.gerrit.gerritevents.ssh.SshException at com.sonymobile.tools.gerrit.gerritevents.ssh.SshConnectionImpl.connect(SshConnectionImpl.java:200) at com.sonymobile.tools.gerrit.gerritevents.ssh.SshConnectionFactory.getConnection(SshConnectionFactory.java:140) at com.sonymobile.tools.gerrit.gerritevents.ssh.SshConnectionFactory.getConnection(SshConnectionFactory.java:117) at com.sonymobile.tools.gerrit.gerritevents.GerritConnection.connect(GerritConnection.java:498) at com.sonymobile.tools.gerrit.gerritevents.GerritConnection.run(GerritConnection.java:404)

Cannot connect to Gerrit server! Host:

environment

```
Jenkins 2.387.1

Gerrit 2.14.6

Gerrit-Trigger -plugin-Version: 2.39.0

Jsch Plugin Version: 0.2.8-65.v052c39de79b_2
```

1 attachment

- [image-2023-06-21-20-11-25-373.png](https://issues.jenkins.io/secure/attachment/60635/image-2023-06-21-20-11-25-373.png)
> ![image-2023-06-21-20-11-25-373.png](https://issues.jenkins.io/secure/attachment/60635/image-2023-06-21-20-11-25-373.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.