GitHubPR Jenkins plugin is failing with SSL exceptions, using JAVA 1.7
See original GitHub issueFeb 24, 2018 2:09:00 AM org.jenkinsci.plugins.ghprb.GhprbRepository initGhRepository
SEVERE: Error while accessing rate limit API
org.kohsuke.github.HttpException: Server returned HTTP response code: -1, message: 'null' for URL: https://api.github.com/rate_limit
at org.kohsuke.github.Requester.parse(Requester.java:633)
at org.kohsuke.github.Requester.parse(Requester.java:594)
at org.kohsuke.github.Requester._to(Requester.java:272)
at org.kohsuke.github.Requester.to(Requester.java:234)
at org.kohsuke.github.GitHub.getRateLimit(GitHub.java:318)
at org.jenkinsci.plugins.ghprb.GhprbRepository.initGhRepository(GhprbRepository.java:98)
at org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:130)
at org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:300)
at hudson.triggers.Trigger.checkTriggers(Trigger.java:272)
at hudson.triggers.Trigger$Cron.doRun(Trigger.java:221)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
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:1979)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
at org.kohsuke.github.Requester.parse(Requester.java:602)
... 17 more
@bjoernhaeuser edited for readability
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Unable to update plugins (ssl error downloading plugin)
"Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugins/plugin-util-api/1.2.3/plugin-util-api.hpi (* redirected ...
Read more >SSL error between jenkins(java) and Bitbucket Plugin
in this directory: /lib/security. of my Java installation, I found a java.security file. I commented this line: #jdk.tls.disabledAlgorithms=SSLv3, RC4 ...
Read more >Javax.Net.Ssl.Sslexception: Received Fatal Alert - ADocLib
Before I begin with this post on email notification in Jenkins, ... GitHubPR Jenkins plugin is failing with SSL exceptions, using JAVA 1.7...
Read more >Using Java 1.7 and SSL self-signed certs - Google Groups
Exception from Jenkins Log: Jun 10, 2015 6:06:21 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: handle failed java.lang.
Read more >Jenkins Plugin Upgrades - Apache Software Foundation
ID: Plugin: Old version: New version:
analysis‑model‑api Analysis Model API Plug‑in 5.1.0 6.0.2
ant Ant Plugin 1.9 1.10
antisamy‑markup‑formatter OWASP Markup Formatter Plugin 1.5 1.6
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
set JENKINS_JAVA_OPTIONS=“-Dhttps.protocols=TLSv1.2” in /etc/sysconfig/jenkins as a workaround
Closing this. Feel free to comment and we can open this issue again.