https://bz.apache.org/bugzilla/show_bug.cgi?id=65368

            Bug ID: 65368
           Summary: enhance error message "Unable to unwrap data, invalid
                    status [CLOSED]"
           Product: Tomcat 9
           Version: 9.0.37
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Util
          Assignee: dev@tomcat.apache.org
          Reporter: hau...@acm.org
  Target Milestone: -----

on a form post, I am seeing 

Caused by: java.io.IOException: Unable to unwrap data, invalid status [CLOSED]
        at
org.apache.tomcat.util.net.SecureNioChannel.read(SecureNioChannel.java:657)
        at
org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1231)
        at
org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1158)
        at
org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:736)
        at
org.apache.coyote.http11.Http11InputBuffer.access$300(Http11InputBuffer.java:42)
        at
org.apache.coyote.http11.Http11InputBuffer$SocketInputBuffer.doRead(Http11InputBuffer.java:1099)
        at
org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:102)
        at
org.apache.coyote.http11.Http11InputBuffer.doRead(Http11InputBuffer.java:247)
        at org.apache.coyote.Request.doRead(Request.java:551)
        at
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:336)


It turns out that post body was empty, i.e. of 0 bytes length.
So it is probably not really a decryption problem, but simply no data received.

Please add the number of bytes "read" (0 in my case) and "netread" (53 in my
case) to the error message on line 657 to ease the search of the cause (which
in my case was rather on the client side)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to