Reproduce and avoid RESTEASY004655: Unable to invoke request: java.net.SocketException: Connection reset #4328
-
Hi, I'm getting the error "RESTEASY004655: Unable to invoke request: java.net.SocketException: Connection reset" in a low percent comparing with total number of request per day...however I still cannot reproduce this error... I've searched around and gt to reprocude it using sockets (following this link https://www.mastertheboss.com/java/how-to-solve-the-error-java-net-socketexception-connection-reset/) Can someone help me, please? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Where are you seeing these? On your server or on a client? |
Beta Was this translation helpful? Give feedback.
-
I managed to reproduce the error with this classes:
I guess there's no way to avoid this error to happen... |
Beta Was this translation helpful? Give feedback.
Oops, my bad. I just realized I never pressed reply :)
Yes, there isn't much RESTEasy can do if a client closes the connection during a request.