Hystrix - Caused by: java.util.concurrent.TimeoutException:
See original GitHub issueI am on Spring Cloud Edgware.RELEASE trail. I am using ribbon with Eureka. I have @EnableFeignClients annotation on my API Gateway. I am overriding the timeout configurations as below. `
ribbon.ReadTimeout=30000 ribbon.ConnectTimeout=30000 hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=100000
` Even then, APIGateway is throwing the timeout exception. The service is processing the request in good time only but API Gateway is not considering it. This happens like once in 2 requests. Very random.
Please suggest if I miss any configuration.
Issue Analytics
- State:
- Created 6 years ago
- Comments:22 (7 by maintainers)
Top Results From Across the Web
Hystrix command fails with "timed-out and no fallback available"
This is a Hystrix Command Timeout, this timeout is enabled by default per each command, you define the value using the property:.
Read more >How to expand timeout in Hystrix - Google Groups
HystrixRuntimeException: openDocumentInServer timed-out and fallback failed.] with root cause. java.util.concurrent.TimeoutException: null.
Read more >"java.util.concurrent.TimeoutException" while invoking a sub ...
The cloud process fails with the following error while invoking an agent process after 5 minutes. The agent process completes fine. "java.util.
Read more >Caused by: java.util.concurrent.TimeoutException
Intermittently, Einstein implementations will throw errors for Observable onError due to a TimeoutException. When this occurs shoppers will not ...
Read more >com.netflix.hystrix.exception.HystrixRuntimeException
This page shows Java code examples of com.netflix.hystrix.exception. ... getMessage(), cause instanceof HystrixRuntimeException); Assert.assertTrue((System.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Upgrading Zuul alone improved the connectivity issue. But still, I am getting the below exceptions in Zuul server.
` Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to 172.31.47.91:8000 [/172.31.47.91] failed: connect timed out
I Have the below configs in Zuul now.
ribbon.eureka.enabled=true zuul.host.connectTimeoutMillis=600000 zuul.host.socketTimeoutMillis=600000#30 seconds timeout ribbon.ReadTimeout=30000 ribbon.ConnectTimeout=30000 hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=100000 `
Hi @rodrite , the issue was not with Spring Cloud. The APIGateway had access issues connecting to client services. I fixed the access issues.