29-Jan-2020 03:10
After upgrading from 13.1.1.4, we hav problems running the simplest of iRules for example :
when HTTP_REQUEST {
if { [HTTP::uri] equals "/" or [HTTP::uri] equals "" }{
HTTP::redirect "https://[HTTP::host]/overview"
} else {
pool secure_pool
}
}
I logs in the LTM log like this: <HTTP_REQUEST> - Can't call after responding - ERR_NOT_SUPPORTED (line 1) invoked from within "HTTP::host"
Any idea anyone?
//B
29-Jan-2020 05:14
Hi Bunkemannen,
Check the bugID ID737252 and read this https://support.f5.com/csp/article/K23237429
Regards
29-Jan-2020 05:19
Hi,
You probably has responded the request on another policy or iRule.
Take a look on this: https://clouddocs.f5.com/api/irules/HTTP__has_responded.html
when HTTP_REQUEST {
if { [HTTP::has_responded] } {
return
}
if { [HTTP::uri] equals "/" } {
HTTP::redirect "https://[HTTP::host]/overview"
} else {
pool secure_pool
}
}
Regards.
29-Jan-2020 05:43
OK We have a number of irules on the VS could it be the issue maybe, because this is working in Test where we have the same irules but not the same combination on the VS, thanks for the info!