Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Empty Project list and SSL error : Connection Reset #278

Open
stevemayster opened this issue Feb 20, 2023 · 1 comment
Open

Empty Project list and SSL error : Connection Reset #278

stevemayster opened this issue Feb 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@stevemayster
Copy link

Jenkins and plugins versions report

Environment
Windows 2016
Gitlab Branch Source Plugin 644.va_a_66886e07b_5
Gitlab API Plugin 5.0.1-78.v47a_45b_9f78b_7 
Jenkins 2.383
GItlab EE  15  in Docker

What Operating System are you using (both controller, and any agents involved in the problem)?

Windows 2016

Reproduction steps

  1. Install GItlab Branch Source Plugin
  2. Add server and API token
  3. Test connection successful
  4. Create multi branch pipeline and try to add Project
  5. Got empty Project
  6. Going to Jenkins log and found:
    Exception caught:org.gitlab4j.api.GitLabApiException: javax.net.ssl.SSLProtocolException: Connection reset
    java.net.SocketException: Connection reset
    at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186)
    at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
    at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448)
    at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:165)
    at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:108)
    Caused: javax.net.ssl.SSLProtocolException: Connection reset

Expected Results

Project apperead in interface, scan multibranch pipeline successfully

Actual Results

Empty Project in Branch Sources, error - javax.net.ssl.SSLProtocolException: Connection reset

Anything else?

No response

@stevemayster stevemayster added the bug Something isn't working label Feb 20, 2023
@Turiok
Copy link
Contributor

Turiok commented Apr 5, 2023

Hi @stevemayster,
Does your Gitlab use a self-signed SSL certificate?
If so, does your Java JVM contain the trusted certificates for your Gitlab?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants