[JIRA] (JENKINS-49761) SSL Error in Github API connection

19 views
Skip to first unread message

epgmad9.tid@telefonica.com (JIRA)

unread,
Feb 27, 2018, 1:42:03 AM2/27/18
to jenkinsc...@googlegroups.com
Saul Alonso created an issue
 
Jenkins / Bug JENKINS-49761
SSL Error in Github API connection
Issue Type: Bug Bug
Assignee: Unassigned
Components: github-api-plugin
Created: 2018-02-27 06:41
Environment: Red Hat Enterprise Linux 7.3, Jenkins 2.89.4, Github API Plugin 1.90
Priority: Major Major
Reporter: Saul Alonso

Since crypto removal of github.com, when trying to connect to github API, causes SSL error in connection. Full trace:

Feb 27, 2018 7:41:00 AM org.jenkinsci.plugins.ghprb.GhprbRootAction$2 run
SEVERE: Unable to handle PR# 344 for repo: XXXX
java.lang.Error: org.kohsuke.github.HttpException: Server returned HTTP response code: -1, message: 'null' for URL: https://api.github.com/repos/XXXX/pulls/344/files
    at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:516)
    at org.kohsuke.github.Requester$PagingIterator.hasNext(Requester.java:481)
    at org.kohsuke.github.PagedIterator.fetch(PagedIterator.java:44)
    at org.kohsuke.github.PagedIterator.hasNext(PagedIterator.java:32)
    at org.jenkinsci.plugins.ghprb.GhprbPullRequest.containsWatchedPaths(GhprbPullRequest.java:439)
    at org.jenkinsci.plugins.ghprb.GhprbPullRequest.tryBuild(GhprbPullRequest.java:502)
    at org.jenkinsci.plugins.ghprb.GhprbPullRequest.check(GhprbPullRequest.java:198)
    at org.jenkinsci.plugins.ghprb.GhprbRepository.onPullRequestHook(GhprbRepository.java:394)
    at org.jenkinsci.plugins.ghprb.GhprbTrigger.handlePR(GhprbTrigger.java:746)
    at org.jenkinsci.plugins.ghprb.GhprbRootAction$2.run(GhprbRootAction.java:257)
Caused by: org.kohsuke.github.HttpException: Server returned HTTP response code: -1, message: 'null' for URL: https://api.github.com/repos/Telefonica/vamps/pulls/344/files
    at org.kohsuke.github.Requester.parse(Requester.java:633)
    at org.kohsuke.github.Requester.parse(Requester.java:594)
    at org.kohsuke.github.Requester.access$200(Requester.java:73)
    at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:505)
    ... 9 more
Caused by: javax.net.ssl.SSLException: Received fatal alert: protocol_version
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
    at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2023)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1125)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
    at org.kohsuke.github.Requester.parse(Requester.java:602)
    ... 12 more

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

epgmad9.tid@telefonica.com (JIRA)

unread,
Feb 27, 2018, 1:43:02 AM2/27/18
to jenkinsc...@googlegroups.com
Saul Alonso updated an issue
Change By: Saul Alonso
Since crypto removal of github.com (https://githubengineering.com/crypto-removal-notice/) , when trying to connect to github API, causes SSL error in connection. Full trace:

jcrotty_alpine@hotmail.com (JIRA)

unread,
Feb 27, 2018, 5:32:03 PM2/27/18
to jenkinsc...@googlegroups.com
Joseph Crotty commented on Bug JENKINS-49761
 
Re: SSL Error in Github API connection

Exact same issue has been happing since Feb. 22, 2018 on our Jenkins install for all Github Pull Requests. We tried the solution here but no luck. This has our test builds totally dead in the water.

naadir@randomvariable.co.uk (JIRA)

unread,
Feb 27, 2018, 8:05:02 PM2/27/18
to jenkinsc...@googlegroups.com

naadir@randomvariable.co.uk (JIRA)

unread,
Feb 27, 2018, 8:06:03 PM2/27/18
to jenkinsc...@googlegroups.com
Naadir Jeewa started work on Bug JENKINS-49761
 
Change By: Naadir Jeewa
Status: Open In Progress

naadir@randomvariable.co.uk (JIRA)

unread,
Feb 27, 2018, 8:08:02 PM2/27/18
to jenkinsc...@googlegroups.com
Naadir Jeewa updated an issue
 
Change By: Naadir Jeewa
Priority: Major Critical
Reply all
Reply to author
Forward
0 new messages