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

UNDERTOW-2444 - Undertow HTTP2 breaks protocol specification in RST_STREAM scenarios

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 34.0.0.Final
    • 34.0.0.Beta1
    • Web (Undertow)
    • None
    • ---
    • ---

      With EAP 8.0 Update 3.1 we can see failures of 2 tests in the h2spec TS we use to check that the server behaves according to the HTTP2 protocol standard.

      Here are the failing tests:

      Hypertext Transfer Protocol Version 2 (HTTP/2)
        5. Streams and Multiplexing
          5.1. Stream States
            ...
            using source address 127.0.0.1:35384r sending RST_STREAM frame
            ร— 8: closed: Sends a DATA frame after sending RST_STREAM frame
              -> The endpoint MUST treat this as a stream error of type STREAM_CLOSED.
                 Expected: GOAWAY Frame (Error Code: STREAM_CLOSED)
                           RST_STREAM Frame (Error Code: STREAM_CLOSED)
                           Connection closed
                   Actual: Timeout
            using source address 127.0.0.1:35386fter sending RST_STREAM frame
            ร— 9: closed: Sends a HEADERS frame after sending RST_STREAM frame
              -> The endpoint MUST treat this as a stream error of type STREAM_CLOSED.
                 Expected: GOAWAY Frame (Error Code: STREAM_CLOSED)
                           RST_STREAM Frame (Error Code: STREAM_CLOSED)
                           Connection closed
                   Actual: Timeout
      
      

      The tests send a RST_STREAM frame and then continue with DATA/HEADERS and expect the server to respond with a GOAWAY. But it never does and the connection just times out instead.

      This seems to be brought in by the changes from UNDERTOW-2343

            [WFLY-19862] UNDERTOW-2444 - Undertow HTTP2 breaks protocol specification in RST_STREAM scenarios

            Brian Stansberry made changes -
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Ivan Straka made changes -
            Fix Version/s New: 34.0.0.Final [ 12433719 ]
            Ivan Straka made changes -
            Resolution New: Done [ 1 ]
            Status Original: Reopened [ 4 ] New: Resolved [ 5 ]

            Ivan Straka added a comment -

            Okay, sorry for the noise - I see it has been upgraded here https://github.com/wildfly/wildfly/commit/df59d59d8fbae98bcf21a6ffa0956e0d53fbeaaa and it is a very recent change. I have run the CI and test no longer fails. I am resolving this.

            Ivan Straka added a comment - Okay, sorry for the noise - I see it has been upgraded here https://github.com/wildfly/wildfly/commit/df59d59d8fbae98bcf21a6ffa0956e0d53fbeaaa and it is a very recent change. I have run the CI and test no longer fails. I am resolving this.
            Ivan Straka made changes -
            Resolution Original: Done [ 1 ]
            Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

            Ivan Straka added a comment - - edited

            Hi bstansbe@redhat.com,

            I have moved this back to WildFly project as the bug is present in the master. We need a wildfly-core upgrade to address that. I need the issue to be opened until it is not present - and perhaps WildFly Jira project is not the best suite. Perhaps JBEAP? WDYT?

            Ivan Straka added a comment - - edited Hi bstansbe@redhat.com , I have moved this back to WildFly project as the bug is present in the master. We need a wildfly-core upgrade to address that. I need the issue to be opened until it is not present - and perhaps WildFly Jira project is not the best suite. Perhaps JBEAP? WDYT?
            Ivan Straka made changes -
            Affects Version/s New: 34.0.0.Beta1 [ 12429943 ]
            Ivan Straka made changes -
            Component/s New: Web (Undertow) [ 12317482 ]
            Component/s Original: Undertow [ 12390562 ]
            Fix Version/s Original: 27.0.0.Beta1 [ 12430684 ]
            Fix Version/s Original: 26.0.1.Final [ 12434163 ]
            Key Original: WFCORE-7032 New: WFLY-19862
            [QE] How to address? New: --- [ 15567 ]
            [QE] Why QE missed? New: --- [ 15561 ]
            Project Original: WildFly Core [ 12315422 ] New: WildFly [ 12313721 ]
            Brian Stansberry made changes -
            Fix Version/s New: 27.0.0.Beta1 [ 12430684 ]
            Fix Version/s New: 26.0.1.Final [ 12434163 ]
            Resolution New: Done [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            Brian Stansberry made changes -
            Component/s New: Undertow [ 12390562 ]
            Component/s Original: Web (Undertow) [ 12317482 ]
            Key Original: WFLY-19858 New: WFCORE-7032
            Affects Version/s Original: 34.0.0.Beta1 [ 12429943 ]
            [QE] How to address? Original: --- [ 15567 ]
            [QE] Why QE missed? Original: --- [ 15561 ]
            Project Original: WildFly [ 12313721 ] New: WildFly Core [ 12315422 ]
            Flavia Rainone made changes -
            Link New: This issue is incorporated by WFCORE-7030 [ WFCORE-7030 ]
            Ivan Straka made changes -
            Link New: This issue causes EAPQE-2332 [ EAPQE-2332 ]

            Ivan Straka added a comment -

            This is a tracker for UNDERTOW-2444 in WildFly.

            Ivan Straka added a comment - This is a tracker for UNDERTOW-2444 in WildFly.
            Ivan Straka made changes -
            Link New: This issue depends on UNDERTOW-2444 [ UNDERTOW-2444 ]
            Ivan Straka made changes -
            Issue Type Original: Feature Request [ 2 ] New: Bug [ 1 ]
            Ivan Straka created issue -

              flaviarnn Flavia Rainone
              istraka@redhat.com Ivan Straka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: