These are chat archives for spring-cloud/spring-cloud

4th
Feb 2018
Dave Syer
@dsyer
Feb 04 2018 08:33
Uppercase system properties don’t work in Boot 2.0
Use an env var. Or encrypt.key (if that’s its name).
@vigsterkr of course there are java APIs. But Spring Boot doesn’t help you.
matin-reza
@matin-reza
Feb 04 2018 11:29
Hi to all
I have zuul gateway and the exception is raised when it forward the backend micro's request:
Caused by: java.util.concurrent.TimeoutException: null
at com.netflix.hystrix.AbstractCommand.handleTimeoutViaFallback(AbstractCommand.java:997) ~[hystrix-core-1.5.12.jar:1.5.12]
at com.netflix.hystrix.AbstractCommand.access$500(AbstractCommand.java:60) ~[hystrix-core-1.5.12.jar:1.5.12]
at com.netflix.hystrix.AbstractCommand$12.call(AbstractCommand.java:610) ~[hystrix-core-1.5.12.jar:1.5.12]
at com.netflix.hystrix.AbstractCommand$12.call(AbstractCommand.java:601) ~[hystrix-core-1.5.12.jar:1.5.12]
at rx.internal.operators.OperatorOnErrorResumeNextViaFunction$4.onError(OperatorOnErrorResumeNextViaFunction.java:140) ~[rxjava-1.2.0.jar:1.2.0]
... 15 common frames omitted
@dsyer Hi, How do i set timeout by @HystrixProperty. Is there a sample code?