An error occurred during installation: No such plugin: cloudbees-folder

1,548 views
Skip to first unread message

Rick Barrera

unread,
Jul 6, 2018, 4:50:49 PM7/6/18
to Jenkins Users
Hi all,

I am getting this error when trying to do initial setup for my Jenkins server and I know its an issue with my internal environment, but I am not sure what I need to change to get past this.  I thought it was a CA root issue and I added to all the cacerts files in my java dirs, both for JAVA and the cacerts in the Jenkins Dir.  I am also seeing the below error in the metadata.log, so it looks SSL related.  Any help would be greatly appreciated.

Started at Fri Jul 06 20:28:55 UTC 2018
FATAL: Received fatal alert: access_denied
javax.net.ssl.SSLHandshakeException: Received fatal alert: access_denied
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2033)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1135)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
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:1564)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)
at hudson.model.DownloadService.loadJSON(DownloadService.java:167)
at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:185)
at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:1647)
at jenkins.model.DownloadSettings$DailyCheck.execute(DownloadSettings.java:133)
at hudson.model.AsyncPeriodicWork$1.run(AsyncPeriodicWork.java:101)
at java.lang.Thread.run(Thread.java:748)
Finished at Fri Jul 06 20:28:55 UTC 2018. 242ms

Ivan Fernandez Calvo

unread,
Jul 7, 2018, 3:16:05 PM7/7/18
to Jenkins Users
Try to debug the SSL handshake, you will see the missed certificate
https://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/ReadDebug.html

Rick

unread,
Jul 9, 2018, 8:18:58 AM7/9/18
to jenkins...@googlegroups.com
Thank you Ivan, I will try this out.

On Sat, Jul 7, 2018 at 2:16 PM Ivan Fernandez Calvo <kuisat...@gmail.com> wrote:
Try to debug the SSL handshake, you will see the missed certificate
https://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/ReadDebug.html

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6c729dd7-b1df-4e35-9a28-4efff3c46c62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rick

unread,
Jul 12, 2018, 9:50:32 PM7/12/18
to jenkins...@googlegroups.com
Hi Ivan,

I was able to get past the intial error by setting my web proxy in the jave arguments string, but now not of my plugins are installing, I get an error for attempted install of the defaul plugins stating the expected SHA-1 value does not match.  I found a couple of people having similar issues and the resolution was to remove a China mirror, but I am not sure I do that in the files.

Thanks,

Rick

kuisathaverat

unread,
Jul 13, 2018, 4:40:29 AM7/13/18
to jenkins...@googlegroups.com
Could you share the exact error message that you see in logs?

You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/NxRDqaWL4aE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CACYnYPxj6SnaZs9jeyRuD29FaWN08k5y5o7a7A7d1m3j5pT6dg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.


--

Rick

unread,
Jul 13, 2018, 9:06:56 AM7/13/18
to jenkins...@googlegroups.com
Here is a sample of the errors from the jenkins.err.log, Please note I am running this on a Windows system:

Jul 13, 2018 12:59:59 AM hudson.model.UpdateCenter$DownloadJob run
SEVERE: Failed to install JDK Tool
java.io.IOException: Downloaded file E:\Program Files (x86)\Jenkins\plugins\jdk-tool.jpi.tmp does not match expected SHA-1, expected 'K+QyfQDLMux19gZgQJSwtmwB2PY=', actual 'Ypx9ccYVxEg1XWqFBq2U+3RFh8w='
at hudson.model.UpdateCenter.verifyChecksums(UpdateCenter.java:1810)
at hudson.model.UpdateCenter.access$1100(UpdateCenter.java:149)
at hudson.model.UpdateCenter$InstallationJob.replace(UpdateCenter.java:1963)
at hudson.model.UpdateCenter$UpdateCenterConfiguration.install(UpdateCenter.java:1194)
at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1680)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1874)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1651)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:112)
at java.lang.Thread.run(Unknown Source)

Jul 13, 2018 12:59:59 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of Script Security on behalf of admin
Jul 13, 2018 12:59:59 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading Script Security
Jul 13, 2018 12:59:59 AM hudson.model.UpdateCenter$DownloadJob run
SEVERE: Failed to install Script Security
java.io.IOException: Downloaded file E:\Program Files (x86)\Jenkins\plugins\script-security.jpi.tmp does not match expected SHA-1, expected '8Rmf3Rs4xMIJwTj+hUn92aoXE5E=', actual '+ys41rzhjFP1n8FaNxCSsaZy0P0='
at hudson.model.UpdateCenter.verifyChecksums(UpdateCenter.java:1810)
at hudson.model.UpdateCenter.access$1100(UpdateCenter.java:149)
at hudson.model.UpdateCenter$InstallationJob.replace(UpdateCenter.java:1963)
at hudson.model.UpdateCenter$UpdateCenterConfiguration.install(UpdateCenter.java:1194)
at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1680)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1874)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1651)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:112)
at java.lang.Thread.run(Unknown Source)

kuisathaverat

unread,
Jul 13, 2018, 10:55:36 AM7/13/18
to jenkins...@googlegroups.com
it seems like a MITM that it is modified the files, I suppose you found these two issues, I dunno if there is a way to disable the SHA verification.


which update center you use?


For more options, visit https://groups.google.com/d/optout.

Rick

unread,
Jul 13, 2018, 5:50:59 PM7/13/18
to jenkins...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages