iRule problems after upgrade to 14.1.2.3

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

Hi Bunkemannen,

Check the bugID ID737252 and read this myF5

Regards

Hi,

You probably has responded the request on another policy or iRule.

Take a look on this: HTTP::has_responded

when HTTP_REQUEST {
    if { [HTTP::has_responded] } {
        return
    }
    
    if { [HTTP::uri] equals "/" } {
        HTTP::redirect "https://[HTTP::host]/overview"
    } else {
        pool secure_pool
    }
}

Regards.

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!

Faced similar issue with v14.

Fixed the issue with “Local Traffic Policy”