Ultimate irule debug - Capture and investigate
Problem this snippet solves: I decided to share this Irule for different reasons. When I help our community on devcentral, I regularly see people making recurring requests:
How do I do to capture...
Updated Jun 06, 2023
Version 2.0youssef1
Cumulonimbus
Joined January 03, 2012
Lucern
Dec 10, 2018Nimbostratus
It works great, except when I added it to one of my VIPs I was no longer able to access that VIP :(
Fortunately it was a test VIP of sorts.
Here's something that popped in the log which might be related:
err tmm3[31788]: 01220001:3: TCL error: /Common/irule_debug_logging - command serverside error:server side connection does not exist. (line 56) invoked from within "serverside { log local0. "uid: $uid - pool member IP:2 [IP::remote_addr]:[TCP::remote_port]" }"
Do you think there's something that could be tweaked so that doesn't happen, or is that just how it works? Still useful though, just got to be careful when/where you enable it!
Oh, I'm running 12.x
Thanks!