REST client not attempting fallback hosts upon httpOpenTimeout
expiry
#997
Labels
bug
Something isn't working. It's clear that this does need to be fixed.
It has been observed that when using the generic
request
method, ifClientOptions.httpOpenTimeout
expires, clients do not retry the request with fallback hosts, but instead fail immediately withjava.net.SocketTimeoutException: Connect timed out
.This should be easy enough to reproduce by setting
httpOpenTimeout
sufficiently low and observing in logs whether the client attempts to use fallback hosts.We should also check whether fallback hosts are attempted for other timeouts, in particular,
httpRequestTimeout
(nb: until #310 is resolved, the defaulthttpRequestTimeout
is the same ashttpMaxRetryDuration
so probably won't try fallbacks if expired anyway).┆Issue is synchronized with this Jira Task by Unito
The text was updated successfully, but these errors were encountered: