Unable to invoke request: java.net.SocketException: Connection reset in Quarkus client/service #38434
Unanswered
jshandorov1
asked this question in
Q&A
Replies: 1 comment
-
Seems similar to #15383 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am having two quarkus microservices. The one (say client) calls other (server) via POST request with authorisation.
This works fine, until I restart the server microservice on deployment. Then, at the first call from client to server, I have a "SocketException: Connection reset" error [1]. The next calls are executed correctly.
Locally this is not reproduced. I've even tried to start the client locally and call the remote service, but issue is not reproduced (happens only when both are on google cloud).
Quarkus rest settings are default ones [2] (I haven't modified them).
Issue is reproduced also after some time passes. Probably the token or cache expires (still haven't found exact timing).
Happens with 2.8.2.Final and 2.6.3.Final quarkus versions.
One possible workaround for me is to retry once more in case of such failure.
I am not sure what happens here and would be happy if anyone has some hints on how to resolve this first call failure.
[1]
[2]
Beta Was this translation helpful? Give feedback.
All reactions