Spring Boot使用Feign客户端调用远程服务时出现:timed-out and no fallback available,failed and no fallback available的

是熔断器超时导致的,可以修改yml,如下

hystrix:
    command:
        default:
            circuitBreaker:
                sleepWindowInMilliseconds: 100000
                forceClosed: true
            execution:
                isolation:
                    thread:
                        timeoutInMilliseconds: 60000
    shareSecurityContext: true

你可能感兴趣的:(jhipster)