• Type: Support Request
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.2
    • Labels:
    • Release Notes Text:
      Fixed with updated docs in the web guide and HTTP/2 config in the feature-demo. Still wish the less-awful-ssl stuff worked better, but I think that's orthogonal to this issue.


      Since you mention support for HTTP2 in undertow was added in Immutant 2.1.0 I tried to set it up, but I couldn't find any documentation on how you expose the configuration options to enable it.
      So instead I tried to look how you can enable it in undertow proper and I've found you can set flags for that on the configuration object to enable HTTP2 and SPDY but that didn't seem to work - Immutant threa an exception about not being able to find `org.eclipse.jetty.alpn.ALPN$Provider` class at boot (full exception in the link below). Further googling revealed you have to add a certain jar as a dependency for it to work (depending on the version of JDK you are using). When I added the jar the app booted, but I still couldn't connect with HTTP2.

      Which made me remember that HTTP2 requires SSL, so I've generated SSL certificates and used `less-awful-ssl` library to configure Immutant. But when I try to connect with openssl client I get failed handshakes (response attached). Browser can't seem to be able to connect either.

      Some more detailed documentation on how to set up all that would be greatly appreciated.

      A repository reproducing the issue can be found here -
      Full error messages can be found here -

        Gliffy Diagrams




              • Assignee:
                jcrossley Jim Crossley
                jaen Tomek Mańko
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: