Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60854

Upgrade to 2.217 on Windows failed due to Jetty exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • core
    • None

      Immediately after attempting to upgrade Jenkins automatically, Jenkins Windows service starts but fails within 4 seconds.  See attached error log.

      The key error is apparently:

      java.lang.IllegalStateException: KeyStores with multiple certificates are not supported on the base class org.eclipse.jetty.util.ssl.SslContextFactory. (Use org.eclipse.jetty.util.ssl.SslContextFactory$Server or org.eclipse.jetty.util.ssl.SslContextFactory$Client instead)

      The issue relates to a change in Jetty noted at the following post:

      https://github.com/eclipse/jetty.project/issues/4425

      Note that Jetty in Jenkins 2.217 was recently updated, per the changelog, from 9.4.22.v20191022 to 9.4.25.v20191220

      Apparently a code fix is required to use the newer Jetty, as detailed in comment https://github.com/eclipse/jetty.project/issues/4425#issuecomment-565967384

       

        1. jenkins.err.log
          20 kB
          Michael Litwak
        2. plugins-and-their-versions.txt
          2 kB
          Michael Litwak

            Unassigned Unassigned
            mike4online Michael Litwak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: