SHA MessageDigest not available

Eclipse Bugzilla | ian_darke | 1 decade ago
  1. 0

    Error "SHA-1 not available" on new java project creation

    Eclipse Bugzilla | 1 decade ago | ian_darke SHA MessageDigest not available
  2. 0

    Maybe this issue is related to [JDK-4620571 : urlconnection following redirect uses protocol of original request|] [] I installed Jenkins 2.7.4 LTS from ubuntu apt repository following the offical installation guide. Then I navigated to the jenkins webapp url. After filled in initial admin password, loading indicator was shown for some time, and I got a message "This Jenkins instance appears to be offline." I am sure the network connection is fine and not behind any proxy. I skipped proxy configuration. Jenkins runs fine, but when I opened plugins manager, no plugins found. Since I have been worked with Hudson (before Jenkins split from Hudson) for quite long time I knew some problem occured. When I checked log file, I got following log entry: {quote} WARNING: Upgrading Jenkins. Failed to update the default Update Site 'default'. Plugin upgrades may fail. Could not find JSON in at hudson.model.DownloadService.loadJSON( at hudson.model.UpdateSite.updateDirectlyNow( at hudson.model.UpdateCenter.updateDefaultSite( at jenkins.install.SetupWizard.init( at jenkins.install.InstallState$3.initializeState( at jenkins.model.Jenkins.setInstallState( at jenkins.install.InstallUtil.proceedToNextStateFrom( at jenkins.model.Jenkins.<init>( at hudson.model.Hudson.<init>( at hudson.model.Hudson.<init>( at hudson.WebAppMain$ {quote} I tried to check the update site url with shell {quote}curl\?id=default\&version=2.7.4{quote}. The response is a 301 redirect. After another two 302 redirects, I got the final update site url: {quote}{quote} The entire network flow of update site: {quote} 301 302 302 {quote} Then I changed the default update site url to this mirror url, I could get plugins list now. But when I tried to install some plugins, failed. I checked the log file and found following message: {quote} SEVERE: Failed to install SCM API Plugin Downloaded file /var/lib/jenkins/plugins/scm-api.jpi.tmp does not match expected SHA-1, expected 'GSoCVeUDmMHHd4hvIx6GHlvzA1g=', actual 'NUD1ONAUpGfIc3Hk0DiYO5HhS48=' at hudson.model.UpdateCenter.verifyChecksums( at hudson.model.UpdateCenter.access$1100( at hudson.model.UpdateCenter$InstallationJob.replace( at hudson.model.UpdateCenter$UpdateCenterConfiguration.install( at hudson.model.UpdateCenter$DownloadJob._run( at hudson.model.UpdateCenter$InstallationJob._run( at hudson.model.UpdateCenter$ at java.util.concurrent.Executors$ at at hudson.remoting.AtmostOneThreadExecutor$ at {quote} I opened scm-api.jpi.tmp, it was a html file: {quote} <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="">here</a>.</p> </body></html> {quote} I can't figure out what happened. So I uninstalled 2.7.4, and installed 2.22 from apt reposity, the problem is still there. And I tried to install jenkins web app into tomcat 8.55, the problem is not resolved. I also tried openjdk8, before that oracle jdk 1.7.0_25 was used. Today, I cloned the source code from github, tried to add some log with bq. hudson.model.DownloadService.loadJSON(URL src) around line 170. I found that when using default update site url URLConnection stopped to follow the last 302 redirect to bq. After that I checked the update site json content. The "scm-api" plugin's url is bq. There will be two 302 redirects, the final url is bq. The entire network flow of a plugin: {quote} 302 302 {quote} After searching, I found the JDK issue record mentioned at the beginning. I'm not sure whether it is the reason. Maybe, Jenkins update site should enforce https. I want to change update-center.json with all the url directly pointed to the mirror site, and deployed to an internal server, but jenkins refused to accept it since the checksum digest is changed. So there is no work around for me.

    Jenkins JIRA | 1 month ago | Xifeng Zou Downloaded file /var/lib/jenkins/plugins/scm-api.jpi.tmp does not match expected SHA-1, expected 'GSoCVeUDmMHHd4hvIx6GHlvzA1g=', actual 'NUD1ONAUpGfIc3Hk0DiYO5HhS48='
  3. 0

    [jira] [Commented] (OFBIZ-5848) Poodle-disable sslv3 | 9 months ago
    org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8443]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Tomcat-users] Wildcard SSL import from IIS 6 to Tomcat 7? - Grokbase | 10 months ago PKCS12 SSLContext not available
  6. 0

    Druid Setup with HDFS

    Google Groups | 2 years ago | tarun gulyani

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis


      SHA MessageDigest not available

      at org.eclipse.core.internal.runtime.CipherOutputStream.write()
    2. Eclipse Core
      1. org.eclipse.core.internal.runtime.CipherOutputStream.write(
      1 frame
    3. Java RT
      5 frames
    4. Eclipse Core
      3. org.eclipse.core.internal.runtime.AuthorizationDatabase.load(
      4. org.eclipse.core.internal.runtime.AuthorizationDatabase.<init>(
      5. org.eclipse.core.internal.runtime.InternalPlatform.loadKeyring(
      6. org.eclipse.core.internal.runtime.InternalPlatform.loaderStartup(
      6 frames
    5. Java RT
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. Common Eclipse Runtime
      1. org.eclipse.core.internal.boot.InternalBootLoader.startup(
      2 frames
    7. Core Runtime Plug-in Compatibility
      1 frame
    8. Java RT
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    9. Equinox
      1. org.eclipse.core.launcher.Main.basicRun(
      3. org.eclipse.core.launcher.Main.main(
      3 frames