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

Unable to setup HTTP/2 on Jenkins 2.303.2 and Java 11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • winstone-jetty
    • None
    • CentOS 7.9

      I am trying to enable http/2 support on Jenkins 2.303.2 and Java 11.

      This test program from Initial Settings fails.

      java --extraLibFolder=/opt/java/jetty-alpn-java-server-9.4.43.v20210629.jar -jar /usr/lib/jenkins/jenkins.war --http2Port=9090 --httpsPort=8443 --httpsKeyStore=/var/lib/jenkins/.cacerts/cacerts  --httpsKeyStorePassword=changeit
      Unrecognized option: --extraLibFolder=/opt/java/jetty-alpn-java-server-9.4.43.v20210629.jar
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      

       Using https with an existing certificate using --httpsCertificate and --httpsPrivateKey also do not seem to be compatible with HTTP/2.

            Unassigned Unassigned
            wb8tyw John Malmberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: