AnsweredAssumed Answered

Handling Connection Reset

Question asked by acalbazana on Apr 20, 2017
Latest reply on May 3, 2017 by acalbazana



Quick question... I'd like to pass back a 502 in cases where the gateway cannot route to a backend service.  For example, if the backend is down, I want the policy to return 502 vs. a 500 error.  I had policy in place for this, but it doesn't seem to kick in as i expect.  I always get back a "Policy Falsified" exception on the routing assertion.


How can I trap this and handle it properly?  Here is a snippet of my routing: