Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-15570

Error message in the log when using server push over HTTP/2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.2.0.GA
    • 7.2.0.CD14
    • Undertow
    • None
    • Hide

      1. Clone https://github.com/javaee-samples/javaee8-samples.git
      2. cd javaee8-samples
      3. mvn install -DskipTests
      4. Start JBoss EAP 7.2CD14 or WildFly 14
      5. Deploy servlet/http2/target/servlet-http2.war
      6. Access https://localhost:8443/servlet-http2/ from a HTTP2 compliant browser (Chrome, Firefox, etc). Do not use curl since it doesn't support HTTP2.
      7. Check the console log.

      Show
      1. Clone https://github.com/javaee-samples/javaee8-samples.git 2. cd javaee8-samples 3. mvn install -DskipTests 4. Start JBoss EAP 7.2CD14 or WildFly 14 5. Deploy servlet/http2/target/servlet-http2.war 6. Access https://localhost:8443/servlet-http2/ from a HTTP2 compliant browser (Chrome, Firefox, etc). Do not use curl since it doesn't support HTTP2. 7. Check the console log.

    Description

      When deploying this[1] example and accessing it using an HTTP/2 supported browser over HTTPS the console logs an an exception that looks like this:

      18:27:31,752 ERROR [io.undertow] (default task-2) UT005085: Connection io.undertow.server.protocol.http2.Http2ServerConnection@4899e14e for exchange HttpServerExchange{ GET /servlet-http2/images/payara-logo.jpg request

      {accept=[text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8], accept-language=[en-US,en;q=0.9,sv;q=0.8], :authority=[localhost:8443], accept-encoding=[gzip, deflate, br], :path=[/servlet-http2/images/payara-logo.jpg], user-agent=[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36], :scheme=[https], cookie=[gsScrollPos-810929215=0, gsScrollPos-654=0, gsScrollPos-442=0, gsScrollPos-448=0, gsScrollPos-614=, gsScrollPos-896=0, gsScrollPos-589=, gsScrollPos-577=, gsScrollPos-612=0, gsScrollPos-666=0, gsScrollPos-702=0, gsScrollPos-528=0, gsScrollPos-522=0, gsScrollPos-634=0, gsScrollPos-810=0, gsScrollPos-867=0, gsScrollPos-870=0, gsScrollPos-756=0, gsScrollPos-810927672=0, gsScrollPos-810927716=0, gsScrollPos-810927723=0, gsScrollPos-810927737=0, gsScrollPos-810927743=0, gsScrollPos-810927749=0, gsScrollPos-810927755=0, _ga=GA1.1.1884672541.1538497525, _gid=GA1.1.1746969552.1538497525, _gat=1], :method=[GET], Referer=[https://localhost:8443/servlet-http2/], upgrade-insecure-requests=[1], Host=[localhost:8443]}

      response {Last-Modified=[Mon, 01 Oct 2018 15:07:12 GMT], Content-Type=[image/jpeg], Content-Length=[6231], Accept-Ranges=[bytes], Date=[Tue, 02 Oct 2018 16:27:31 GMT], :status=[200]}} was not closed cleanly, forcibly closing connection

      The error is verified in both both WildFly 14 and EAP 7.2CD14. The application seems to respond correctly, but above error message is printed in the console.log upon every request.

      [1]=https://github.com/javaee-samples/javaee8-samples/tree/master/servlet/http2

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tmiyargi Teresa Miyar Gil (Inactive)
              rhn-sa-tqvarnst Thomas Qvarnström
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: