Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-20695

UpgradeProtocol node in 8443 connector causes error on startup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 7.0.0
    • 6.9.0, 6.9.1, 6.9.2, 6.10.3, 6.10.2
    • Installation
    • None

    Description

      Issue Summary

      The UpgradeProtocol in the 8443 Connector in server.xml causes Bamboo to fail on startup with a Severe exeption

      Steps to Reproduce

      1. Install Bamboo 6.9 or above
      2. Uncomment the 8443 connector
      3. Start Bamboo

      Expected Results

      Bamboo starts as expected

      Actual Results

      The below exception is thrown in the atlassian-bamboo.log file:

      23-Oct-2019 21:10:11.763 SEVERE [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The upgrade handler [org.apache.coyote.http2.Http2Protocol] for [h2] only supports upgrade via ALPN but has been configured for the ["https-jsse-nio-8443"] connector that does not support ALPN.
      23-Oct-2019 21:10:11.763 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-8443"]
      23-Oct-2019 21:10:12.228 SEVERE [main] org.apache.catalina.core.StandardService.initInternal Failed to initialize connector [Connector[HTTP/1.1-8443]]
      	org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8443]]
      ...
      	Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
      ...
      	Caused by: java.lang.IllegalArgumentException
      ...
      	Caused by: java.io.IOException
      ...
      

      Workaround

      Option 1

      1. Stop Bamboo
      2. Remove the following lines from the server.xml:
        From
        ...
                    <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
        </Connector>
        
      3. Close the Connector XML
        To
        />
        
      4. Start Bamboo

      Option 2

      1. Stop Bamboo
      2. Comment out or delete the existing HTTPS Connector from server.xml
      3. Copy the HTTPS Connector from Securing Bamboo with Tomcat using SSL - 2. Configure HTTPS in Tomcat into server.xml
      4. Start Bamboo

      Attachments

        Activity

          People

            ezeidan Elias Zeidan (they/them)
            ezeidan Elias Zeidan (they/them)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: