cancel
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.

iRule problems after upgrade to 14.1.2.3

Bunkemannen
Nimbostratus
Nimbostratus

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

4 REPLIES 4

Lidev
MVP
MVP

Hi Bunkemannen,

 

Check the bugID ID737252 and read this https://support.f5.com/csp/article/K23237429

 

Regards

cjunior
Nacreous
Nacreous

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.

Bunkemannen
Nimbostratus
Nimbostratus

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!

Sajid
Cirrostratus
Cirrostratus

Faced similar issue with v14.

 

Fixed the issue with "Local Traffic Policy"