When I get an error "failed to establish a backside connection" I want to continue processing the rule, however, my error rule keeps on getting invoked. I've tried adding an on error action and setting it to continue, however, regardless of any configuration I have tried, the error rule always gets invoked.
I've also tried creating a new error rule and the on error action pointing to this rule, however, the new error rule does not get invoked.
Any ideas on how to continue processing?
Re: Continue processing with Error2013-01-28T15:20:35ZThis is the accepted answer. This is the accepted answer.Request (and response for that matter) processing happen in three parts. For the request, first you have connection and the receiving of the message handled by your front side handler. Next, multi-step will execute your processing rule. Finally, backside connection processing and sending the message. The response is similar in receiving the response, multi-step, and sending the response to the client. Once multi-step has ended in your request processing and you have a failure in getting a connection to the backside url, it is too late for you to do anything withing multi-step to keep from going to your error rule. If you really want to make sure your backside request succeeds and then take some conditional action, you can use a result action with a destination url, and if the action succeeds, you can specify the a loop back firewall address that will send the backend response to your response rule. What type of error recovery are you wanting to do? You can also do a result action with a destination url that has a list of urls where and specify first available, so if you have a failover destination that would be handled too.
SystemAdmin 110000D4XK6772 Posts
Re: Continue processing with Error2013-01-28T15:35:13ZThis is the accepted answer. This is the accepted answer.
- swlinn 100000E7QE
Thanks for the explanation.
Re: Continue processing with Error2013-01-28T17:57:07ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
Re: Continue processing with Error2013-01-29T16:09:20ZThis is the accepted answer. This is the accepted answer.
- sunilsure 270003C6BB
Process backend errors to off will not only have connection errors drive the error rule, but also any non HTTP 200 errors from the backend such as a 4xx or 5xx. Enabling processing backend errors will allow the latter to be processed by your response rule.