Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1984

GOAWAY sent by HTTP2 server when a RST is sent after upgrade

XMLWordPrintable

      There is an issue with the HTML2-Protocol in undertow. HTML-requests send from an Java11 HtmlClient end up in a GOAWAY-Frame on the server site.

      Exception in thread "main" java.io.IOException: /127.0.0.1:63485: GOAWAY received
        at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:565)
        at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:119)
        at TestHttp2Client.main(TestHttp2Client.java:24)
      Caused by: java.io.IOException: /127.0.0.1:63485: GOAWAY received 
      at java.net.http/jdk.internal.net.http.Http2Connection.handleGoAway(Http2Connection.java:985)
      at java.net.http/jdk.internal.net.http.Http2Connection.handleConnectionFrame(Http2Connection.java:853)
      at java.net.http/jdk.internal.net.http.Http2Connection.processFrame(Http2Connection.java:724)
      at java.net.http/jdk.internal.net.http.frame.FramesDecoder.decode(FramesDecoder.java:155)
      at java.net.http/jdk.internal.net.http.Http2Connection$FramesController.processReceivedData(Http2Connection.java:232)
      at java.net.http/jdk.internal.net.http.Http2Connection.asyncReceive(Http2Connection.java:649) at java.net.http/jdk.internal.net.http.Http2Connection$Http2TubeSubscriber.processQueue(Http2Connection.java:1275) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SynchronizedRestartableTask.run(SequentialScheduler.java:175)
      at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:147)
      at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:198) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at java.base/java.lang.Thread.run(Thread.java:834)
      

      Attached document Reproducer.html and app.

      This issue does not occur in previous EAP-Versions (e.g. 7.4.0 , 7.3.7). Customer is testing migration from EAP 7.3 -> EAP 7.4

              rhn-support-rmartinc Ricardo Martin Camarero
              rhn-support-rmartinc Ricardo Martin Camarero
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: