{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/406","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/406/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/406/events","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/406","id":89519883,"number":406,"title":"Zuul swallows exceptions from upstream microservices","user":{"login":"andreasevers","id":6663110,"avatar_url":"https://avatars.githubusercontent.com/u/6663110?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasevers","html_url":"https://github.com/andreasevers","followers_url":"https://api.github.com/users/andreasevers/followers","following_url":"https://api.github.com/users/andreasevers/following{/other_user}","gists_url":"https://api.github.com/users/andreasevers/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasevers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasevers/subscriptions","organizations_url":"https://api.github.com/users/andreasevers/orgs","repos_url":"https://api.github.com/users/andreasevers/repos","events_url":"https://api.github.com/users/andreasevers/events{/privacy}","received_events_url":"https://api.github.com/users/andreasevers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-19T09:47:47Z","updated_at":"2015-10-27T15:54:31Z","closed_at":null,"body":"Hey,\r\n\r\nWhen an upstream microservice responds with let's say a 503 because of a throttling, Zuul's ribbonCommand will retry 1 more time. If that retry fails as well, the ribbonCommand fails, tries to find the fallback, and responds with a Forwarding error (500).\r\n\r\nBecause we'd like to tell the client whether it's a timeout or throttling or another issue, it would be useful to propagate the error through the gateway to the client, preferably as a nested cause of the Forwarding error.\r\n\r\nWhat do you think about this?"},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/comments/151548882","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/406#issuecomment-151548882","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/406","id":151548882,"user":{"login":"rozhok","id":1721631,"avatar_url":"https://avatars.githubusercontent.com/u/1721631?v=3","gravatar_id":"","url":"https://api.github.com/users/rozhok","html_url":"https://github.com/rozhok","followers_url":"https://api.github.com/users/rozhok/followers","following_url":"https://api.github.com/users/rozhok/following{/other_user}","gists_url":"https://api.github.com/users/rozhok/gists{/gist_id}","starred_url":"https://api.github.com/users/rozhok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rozhok/subscriptions","organizations_url":"https://api.github.com/users/rozhok/orgs","repos_url":"https://api.github.com/users/rozhok/repos","events_url":"https://api.github.com/users/rozhok/events{/privacy}","received_events_url":"https://api.github.com/users/rozhok/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T15:54:31Z","updated_at":"2015-10-27T15:54:31Z","body":"btw, https://jmnarloch.wordpress.com/2015/09/16/spring-cloud-zuul-error-handling/"}}