Getting Java application error message in JBoss EAP "failed: connection reset by peer" when using external library to open HTTP Connection Pool
Issue
-
Getting
Connection reset by peer
error when using an external JBoss EAP library. -
Error when calling endpoint when using a library external to JBoss EAP, for example
reactor-http-nio
withReactor Netty connector
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.web.reactive.function.client.WebClientRequestException: readAddress(..) failed: Connection reset by peer; nested exception is io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
Environment
- Red Hat JBoss EAP
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.