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

2nd
Sep 2015
Leon Radley
@leon
Sep 02 2015 11:38
I’m getting alot of com.netflix.zuul.exception.ZuulException: Forwarding error, Caused by: com.netflix.hystrix.exception.HystrixRuntimeException: shopRibbonCommand timed-out and no fallback available.
Any suggestions on why this is happening?
Tommy Ludwig
@shakuzen
Sep 02 2015 11:40
Do you not have a fallback method specified for shopRibbonCommand as the error message suggests?
Leon Radley
@leon
Sep 02 2015 11:40
no I don’t think so, At the moment I’ve only got the one service running
but it is running, so I don’t understand why this is happening
Dave Syer
@dsyer
Sep 02 2015 11:41
It timed out?
Leon Radley
@leon
Sep 02 2015 11:41
Since it is a timeout, can I increase the timeout to allow it to complete
yes
Dave Syer
@dsyer
Sep 02 2015 11:41
That can happen
Leon Radley
@leon
Sep 02 2015 11:42
What is the default timeout?
Dave Syer
@dsyer
Sep 02 2015 11:42
I think the spring-cloud user guide has a section where it says what you can change
I don't know off the top of my head
It's deep in Ribbon/Hystrix
Leon Radley
@leon
Sep 02 2015 11:44
How do I set the different hysterix settings?
can I do that from the application.yaml file?
I’d like to set hystrix.command.default.execution.timeout.enabled: false
Dave Syer
@dsyer
Sep 02 2015 12:37
Yes yo can put that in spring boot config