Forum Discussion
Maylin
Nimbostratus
Feb 02, 2021Trying to create VIPs via Python and get an error
Here is the snippet of code that is used to create the VIPs on the f5; rv0=revisedServer.replace("dev_","test_vip_") print (eachServer[0][3].upper()) rv1=eachServer[0][3].upper() param...
Chris_Miller
Altostratus
Aug 01, 2010Posted By MocoSpace on 08/01/2010 05:50 AM
I am seeing the exact same error on occasion in my iRule which does something similar:
when HTTP_REQUEST {
if { [HTTP::method] eq "HEAD" } {
reject
}
}
TCL error: foo_bar - while executing "HTTP::method"
Like Aaron mentioned, syntax looks fine, use catch to detect a tcl error and log the request that created an error.