Sake_Blok
May 29, 2012Nimbostratus
Catching HTTP errors
Hi All,
To troubleshoot TCL errors in an iRule I use "catch" to catch the error and log some info to /var/log/ltm. This makes it easier to find the packet data in a network trace.
Now I would like to do the same for HTTP errors like these:
011f0007:3: http_process_state_prepend - Invalid action EV_EGRESS_DATA during ST_HTTP_PREPEND_HEADERS (Client side: vip=VS_HTTP profile=http pool=gateway-http)
011f0007:3: http_process_state_prepend - Invalid action EV_INGRESS_DATA during ST_HTTP_PREPEND_HEADERS (Server side: vip=VS_HTTP profile=http pool=gateway-http)
011f0005:3: HTTP header (33304) exceeded maximum allowed size of 32768 (Client side: vip=VS_HTTP profile=http pool=gateway-http)
Is there a way to detect these errors from within the iRule so that extra logging can be done to help in pinpointing the faulty session.
All tips are welcome! :-)
Cheers,
Sake