Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8597

Default HTTP/2 (=> no openssl provider used) doesn't work with curl

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.1.0.DR13
    • 7.1.0.DR11
    • Undertow
    • None
    • Hide
      1. update JAVA_OPTS in standalone.conf to point to location of jetty-alpn matching your Java
      2. start EAP
      3. curl -I -k --http2 'https://127.0.0.1:8443/'
      4. check what HTTP version was used, expected HTTP/2.0 but was HTTP/1.1
      Show
      update JAVA_OPTS in standalone.conf to point to location of jetty-alpn matching your Java start EAP curl -I -k --http2 'https://127.0.0.1:8443/' check what HTTP version was used, expected HTTP/2.0 but was HTTP/1.1

      When using curl as client and server having configured to use either ALPN hack or jetty-alpn, then there is actually used HTTP/1.1 (with browser there is correctly used HTTP/2). With EAP 7.0.5, it works just fine also with curl => (server using jetty-alpn).

            rpelisse@redhat.com Romain Pelisse
            rhatlapa@redhat.com Radim Hatlapatka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: