Forum Discussion
Kai_Wilke
Jan 25, 2016MVP
Hi UniFirst1,
you may try this snipped...
when HTTP_REQUEST {
if { (( [IP::addr [IP::client_addr] equals 172.17.101.60] ) or
( [IP::addr [IP::client_addr] equals 172.17.101.149] )) and
( [HTTP::host] equals "soaprod.corp.unifirst.com" ) } then {
log local0. "original timeout: [IP::idle_timeout]"
IP::idle_timeout 10800
log local0. "updated timeout: [IP::idle_timeout]"
set serverside_idle_timeout 1
}
}
when SERVER_CONNECTED {
log local0. "original timeout: [IP::idle_timeout]"
if { [info exists serverside_idle_timeout] } then {
IP::idle_timeout 1802
log local0. "updated timeout: [IP::idle_timeout]"
unset -nocomplain serverside_idle_timeout
}
}
If the error still persist, then take a look to your LTM logfile. In 99,99% of the cases it will raise an TCL error if the iRule is having any issues...
Cheers, Kai