Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8906

Upgrade, HTTP2-Settings - Apache-CXF/3.6.1

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.6.1
    • 3.5.6
    • None
    • Apache CXF 3.6.1

      Apache Camel 3.21.0

      Java 11

    • Unknown

    Description

      Hi 

      I am using Apache Camel CXF component to integrate soap services.

      Recently, I updated Apache Camel Version (3.20.x -> 3.21.0) and so Apache CXF version is changed  (3.5.6 -> 3.6.1).

      CXF 3.6.1

      When I invoke SOAP service, by tcpdump I can see that CXF sets http headers 'Connection: Upgrade, HTTP2-Settings', 'HTTP2-Settings: AAEAAEAAAAIAAAABAAMAAABkAAQBAAAAAAUAAEAA' and 'Upgrade: h2c' but the connection is HTTP/1.1:

      .o.91v..POST /my-soap-service HTTP/1.1
      Connection: Upgrade, HTTP2-Settings
      Host: myhost:8080
      HTTP2-Settings: AAEAAEAAAAIAAAABAAMAAABkAAQBAAAAAAUAAEAA
      Transfer-encoding: chunked
      Upgrade: h2c
      Accept: */*
      Authorization: Basic ******
      Content-Type: text/xml; charset=UTF-8
      SOAPAction: ""
      User-Agent: Apache-CXF/3.6.1

       

       

      The server responds with HTTP/1.1 101 Switching Protocols.

      CXF 3.5.6

      I excluded CXF dependencies from Apache Camel and I downgraded it to 3.5.6 version and there wasn't this problem

      .\....X
      POST /my-soap-service HTTP/1.1
      Content-Type: text/xml; charset=UTF-8
      Accept: */*
      Authorization: Basic ******
      SOAPAction: ""
      User-Agent: Apache-CXF/3.5.6
      Cache-Control: no-cache
      Pragma: no-cache
      Host: my-host:8080
      Connection: keep-alive
      Transfer-Encoding: chunked  

       

       

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            carnevalegiacomo Giacomo Carnevale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment