{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1432","repository_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1432/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1432/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1432/events","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/1432","id":186417396,"number":1432,"title":"How to get Zuul retryable?","user":{"login":"Syy0n","id":9927627,"avatar_url":"https://avatars.githubusercontent.com/u/9927627?v=3","gravatar_id":"","url":"https://api.github.com/users/Syy0n","html_url":"https://github.com/Syy0n","followers_url":"https://api.github.com/users/Syy0n/followers","following_url":"https://api.github.com/users/Syy0n/following{/other_user}","gists_url":"https://api.github.com/users/Syy0n/gists{/gist_id}","starred_url":"https://api.github.com/users/Syy0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Syy0n/subscriptions","organizations_url":"https://api.github.com/users/Syy0n/orgs","repos_url":"https://api.github.com/users/Syy0n/repos","events_url":"https://api.github.com/users/Syy0n/events{/privacy}","received_events_url":"https://api.github.com/users/Syy0n/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-31T22:36:34Z","updated_at":"2016-11-01T00:46:03Z","closed_at":null,"body":"I would like to deploy my microservices in a clustered way, so there should be 3 instances of a service. If one of these instances goes down, zuul will still proxy every third request to that instance as long as the next registry refresh is initiated (default: every 30s). In this case zuul will return an internal server error to the client because the DefaultConfig obviously does not support a retry function.\r\n\r\nhttps://github.com/ryanjbaxter/zuul-retryer/blob/master/src/main/resources/application.yml\r\nRyan's example suggests to use the spring cloud ribbon dependency to set ribbon's property **OkToRetryOnAllOperations** to true, combined with **MaxAutoRetries** and **MaxAutoRetriesNextServer**. In this way zuul should be able to retry the request on other instances as many times as i declared it for.\r\n\r\nBut the properties seem to be ignored. I still get the internal server error on every third request..."},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/comments/257462923","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/1432#issuecomment-257462923","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1432","id":257462923,"user":{"login":"Syy0n","id":9927627,"avatar_url":"https://avatars.githubusercontent.com/u/9927627?v=3","gravatar_id":"","url":"https://api.github.com/users/Syy0n","html_url":"https://github.com/Syy0n","followers_url":"https://api.github.com/users/Syy0n/followers","following_url":"https://api.github.com/users/Syy0n/following{/other_user}","gists_url":"https://api.github.com/users/Syy0n/gists{/gist_id}","starred_url":"https://api.github.com/users/Syy0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Syy0n/subscriptions","organizations_url":"https://api.github.com/users/Syy0n/orgs","repos_url":"https://api.github.com/users/Syy0n/repos","events_url":"https://api.github.com/users/Syy0n/events{/privacy}","received_events_url":"https://api.github.com/users/Syy0n/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T00:46:03Z","updated_at":"2016-11-01T00:46:03Z","body":"This does not work ... BUT\r\n\r\ni added the hystrix dependency\r\n```\r\n<dependency>\r\n      <groupId>org.springframework.cloud</groupId>\r\n      <artifactId>spring-cloud-starter-hystrix</artifactId>\r\n</dependency>\r\n```\r\nbut i have no autocompletion for your suggested property...as it would no exist...i have the same problem with the ribbon properties in my application.yml...am i missing something in my pom?"}}
{"actor":{"display_login":"Syy0n"}}