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 - ...
Hi Chris,
Is that the full TCL error? I'm not sure why it would occur.
You could try to capture some info on the issue using catch (Click here) to handle the error:
when HTTP_REQUEST {
Use catch to handle any error. Save the output to $result for logging of an error or use if successful.
if {[catch {HTTP::method} result]}{
log local0. "[IP::client_addr]:[TCP::client_port]: Error running HTTP::method ($result). Headers: [HTTP::request]"
reject
} else {
if {$result eq "TRACE"}{
reject
}
}
}
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