Forum Discussion
cralston_17844
Nimbostratus
Jan 20, 2010TCL error while executing "HTTP::method"
I've been trying to clean up my /var/log/ltm errors lately, at the suggestion of F5 support. One that's been bugging me is this:
tmm tmm[1208]: 01220001:3: TCL error: IRULE_foobar - ...
Did anyone find the root cause for this error? I get the same thing. A non-descript TCL error with the HTTP::method check. The iRule runs thousands of times a day with no problem, but occasionally logs the error.
Does that catch command go immediately after the if statement block that generated the error?
when HTTP_REQUEST {
if { [HTTP::method] eq "GET" } {
1
Check for no-cookie loop
if { (([HTTP::uri] contains "?tag=1?tag=1") or ([HTTP::uri] contains "&tag=1&tag=1")) } {
HTTP::redirect "http://foo.com/cookiedetectresponse.jsp"
}
}
2
}
Would the catch block go at 1 or 2?
Thanks
Mike
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