Open helmut-hackl-dynatrace opened 1 month ago
I think ResourceAccessException
is about early I/O issues that result from request execution, and that does not include I/O errors from handling the response.
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Affects: spring web 6.1.11
it's not really clear when a
ResourceAccessException
(wrapping anIOException
) or its base classRestClientException
(which can also wrap anIOException
) is thrown inorg.springframework.web.client.DefaultRestClient
.eg. when calling
responseWrapper.hasEmptyMessageBody()
inreadWithMessageConverters
and thegetBody()
call to an underlyingReactorNettyClientResponse
does timeout (wrapped into an IOException) - i would expect aResourceAccessException
.from stacktrace: