Getting "java.io.EOFException: JBWEB002011: Socket read failed" on NIO HTTPS connector for file upload

Solution Verified - Updated -

Issue

"java.io.EOFException: JBWEB002011: Socket read failed" was thrown when a file upload application run on NIO HTTPS connector. This issue does not happen with other (NIO witout HTTPS, APR and default Java BIO) connectors but it's reproducible only with NIO HTTPS connector.

Caused by: java.io.EOFException: JBWEB002011: Socket read failed
    at org.apache.coyote.http11.InternalNioInputBuffer.fill0(InternalNioInputBuffer.java:539) [jbossweb-7.5.17.Final-redhat-1.jar:7.5.17.Final-redhat-1]
    at org.apache.coyote.http11.InternalNioInputBuffer.access$200(InternalNioInputBuffer.java:52) [jbossweb-7.5.17.Final-redhat-1.jar:7.5.17.Final-redhat-1]
    at org.apache.coyote.http11.InternalNioInputBuffer$InputBufferImpl.doRead(InternalNioInputBuffer.java:574) [jbossweb-7.5.17.Final-redhat-1.jar:7.5.17.Final-redhat-1]
    at org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:118) [jbossweb-7.5.17.Final-redhat-1.jar:7.5.17.Final-redhat-1]
    at org.apache.coyote.http11.InternalNioInputBuffer.doRead(InternalNioInputBuffer.java:460) [jbossweb-7.5.17.Final-redhat-1.jar:7.5.17.Final-redhat-1]
    at org.apache.coyote.Request.doRead(Request.java:438) [jbossweb-7.5.17.Final-redhat-1.jar:7.5.17.Final-redhat-1]
    at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:361) [jbossweb-7.5.17.Final-redhat-1.jar:7.5.17.Final-redhat-1]
    ... 34 more

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content