Reputation: 9
We are observing a lot of these errors in the logs.
java.io.EOFException: Unexpected EOF read on the socket
Following is the protocol configured in the server.xml of Tomcat8 Instance:
org.apache.coyote.http11.Http11Nio2Protocol.
Do we have to replace the above mentioned protocol with the following?
org.apache.coyote.http11.Http11Protocol
Upvotes: 1
Views: 7107
Reputation: 3174
Do we have to replace the above mentioned protocol with the following?
No. You need to check if some clients are causing these exceptions, for example with a network capture. "Buggy" clients could be monitoring tools, load-balancers doing a health check,.. If the exceptions come on a very regular basis, this would probably indicate such monitoring tools.
If after this investigation, still nothing, check if your applications use logging frameworks such as Log4j, there are such behaviours known when using them.
Upvotes: 1