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

http/2 canceled requests cause UT005085: Connection was not closed cleanly, forcibly closing connection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.2.0.Final
    • 2.0.29.Final
    • None
    • None
    • Hide

      https://github.com/carterkozak/http2-reproducer-undertow/tree/master/src/main/java/net/ckozak/repro/two

      1. Run Server.java main
      2. Run Client.java main

      wait a few moments (depending on hardware the timeouts may need to be modified). I've successfully reproduced on a linux workstation and macbook pro.

      This reproducer catches several types of issues, I've already filed issues and pushed fixes for several of them.

      Show
      https://github.com/carterkozak/http2-reproducer-undertow/tree/master/src/main/java/net/ckozak/repro/two 1. Run Server.java main 2. Run Client.java main wait a few moments (depending on hardware the timeouts may need to be modified). I've successfully reproduced on a linux workstation and macbook pro. This reproducer catches several types of issues, I've already filed issues and pushed fixes for several of them.

      This occurs intermittently using this reproducer: https://github.com/carterkozak/http2-reproducer-undertow/tree/master/src/main/java/net/ckozak/repro/two

      [XNIO-1 task-97] ERROR io.undertow - UT005085: Connection io.undertow.server.protocol.http2.Http2ServerConnection@5efe40bb for exchange HttpServerExchange{ POST /simple/ping} was not closed cleanly, forcibly closing connection
      

      Both invocations of this log message occur in a block annotated '//defensive programming, should never happen'

              flaviarnn Flavia Rainone
              carterkozak Carter Kozak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: