Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4861

Unable to establish HTTP/2 connection via plain http (non https)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 10.0.0.Alpha5
    • 10.0.0.Alpha4
    • Web (Undertow)
    • None

      HTTP/2 doesn't work over plain http (non-https) even when http-listener's enable-http2 option is set to true, see [1].

      I am using Http2 client from netty for trying whether it is possible to establish HHTP/2 connection via upgrade.

      [1]

       <server name="default-server">
                      <http-listener name="default" socket-binding="http" enable-http2="true" redirect-socket="https"/>
                      <https-listener name="https" socket-binding="https" security-realm="https" enable-http2="true"/>
                      <host name="default-host" alias="localhost">
                          <location name="/" handler="welcome-content"/>
                          <filter-ref name="server-header"/>
                          <filter-ref name="x-powered-by-header"/>
                      </host>
                  </server>
      
      

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              rhatlapa@redhat.com Radim Hatlapatka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: