jenkinsci / jenkinsci/gitlab-branch-source-plugin

[JENKINS-64755] Invalid GitLab server URL when adding gitlab url

Open
#688 1 comment 0 reactions 0 assignees View on GitHub
component:gitlab-branch-source-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
134
Forks
113
PR merge metrics
No merged PRs in 30d

Description

 Jenkins can access gitlab through the extranet IP address, and can use git with ssh key to clone projects from gitlab.

 

Then I followed the GitLab Branch Source Plugin tutorial and configured it step by step, but when I entered my gitlab server extranet IP address, I was prompted with this,

 

Invalid GitLab Server URL: https://xxx.xxx.xxx.xxx:9xx8


and when I clicked on the test connection I got the following error.

Failed to validate the account javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present 


Attached was the show details error report.

 

What should I do?

 

 

---
Originally reported by only_wild_weeds, imported from: Invalid GitLab server URL when adding gitlab url


  • assignee: baymac
  • status: Open
  • priority: Major
  • component(s): gitlab-branch-source-plugin
  • label(s): plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20251216-182730

Raw content of original issue

 Jenkins can access gitlab through the extranet IP address, and can use git with ssh key to clone projects from gitlab.

 

Then I followed the GitLab Branch Source Plugin tutorial and configured it step by step, but when I entered my gitlab server extranet IP address, I was prompted with this,

 



Invalid GitLab Server URL: https://xxx.xxx.xxx.xxx:9xx8



and when I clicked on the test connection I got the following error.



Failed to validate the account javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present 



Attached was the show details error report.

 

What should I do?

 

 

environment

```
Jenkins: 2.263.1

GitLab Branch Source Plugin: 1.5.3

Gitlab API Plugin: 1.0.6

GitLab: 12.9.0
```

1 attachment

- [error.log](https://issues.jenkins.io/secure/attachment/53908/error.log)

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.