Forum Discussion
GavinW_29074
Sep 27, 2011Nimbostratus
Catching Timeout and HTTP 502/503 Errors
Hi there,
Next question... One of the items that we've got set-up on our current Apache set-up is the ability to catch a 502 "Bad Gateway" and 503 "Service Unavailable" and return a 'Sorry,...
hooleylist
Sep 28, 2011Cirrostratus
If you want to handle slow server responses, you could tune the TCP profile settings for triggering the LB_FAILED event:
LB_FAILED iRule event
http://devcentral.f5.com/wiki/iRules.lb_failed.ashx
sol7559: Overview of the TCP profile
http://support.f5.com/kb/en-us/solutions/public/7000/500/sol7559.html
Or you could use the after command in an iRule to set a timer in HTTP_REQUEST_SEND. The second example should give you a good start:
http://devcentral.f5.com/wiki/iRules.after.ashx
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects