Describe the bug If the read-timeout is configured using application properties, this value is only used if the connect-timeout is configured with the same context. So if e.g. connect-timeout shall be configured using the default-context and the read-timeout per client, both values would not be used.
Sample These two configurations will not lead to a timeout other than the default 60 sec
feign.client.config.client1.read-timeout=1000
feign.client.config.client1.read-timeout=1000
feign.client.config.default.connect-timeout=1000
If the configuration looks like this the configured values will be picked up when configuring the clients.
feign.client.config.client1.read-timeout=1000
feign.client.config.client1.read-timeout=1000
Comment From: ryanjbaxter
Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.
Comment From: stoetti
For sure, hope this provides the necessary information.
https://github.com/stoetti/feign-timeout-demo
Comment From: OlgaMaciaszek
Thanks @stoetti - it's a bug. Will fix it.