How to handle an `JobCancellationException: MonoCo...
# coroutines
h
How to handle an
JobCancellationException: MonoCoroutines was cancelled
from Spring WebFlux
webClient .awaitExchange
, I have posted this detailed question on stackoverflow for a few days, but did not get the answer there. https://stackoverflow.com/questions/76382162/jobcancellationexception-monocoroutines-was-cancelled
a
@hantsy did you find a solution to this?
h
Not find a solution for it. But in our case, it maybe encountered caused by the webclient connection issue.
a
Webclient connection issue like what? @hantsy
h
Such as connection timeout or server side rejected the connection temporally, it is rarely occurred. From the log I can not determine the real cause.
a
@hantsy, how did you get in this conclusion?
I have the same issue for some months and is always related to a webclient, but by stack I cannot see that
h
I have no idea about this and have not found a solution yet.
191 Views