Getting Java application error message in JBoss EAP "failed: connection reset by peer" when using external library to open HTTP Connection Pool

Solution Verified - Updated -

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 with Reactor 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.

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