Netflix / Hystrix

Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.
23.98k stars 4.7k forks source link

HystrixRuntimeException: timed-out and no fallback.] with root cause java.util.concurrent.TimeoutException: null #2009

Open deepakThedeveloper opened 3 years ago

deepakThedeveloper commented 3 years ago

I am getting above exceptio when invoking microservice via feign.

Feign:

Feign-core:10.10.1
Feign-hystrix:10.10.1
hystrix-core: 1.5.18
Spring.boot:2.3.5.RELEASE

Hystrix:

hystrix.command.default.execution.isolation.thread.timeoutInMilloseconds: 6000000

Exception:

com.netflix.hystrix.exception.HystrixRuntimeException: UserClient.getUserData() timed-out and no fallback aavilable with root-cause
Java.util.concurrent.TimeoutException: null

My calling service isn able to reach called service. Called service has successfully processed the data as well. I have given such a big timeout but still getting timeout exception.

Please help

alibbbian commented 2 years ago

I have a problem like yours, too.

System.setProperty("hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds", "8000");

Try this, sure your config it works. I guess your config don't work, and I'm looking for other way to make it works.

https://github.com/Netflix/Hystrix/issues/2024#issue-1090316351