Forum Discussion

Brian_Gupta_115's avatar
Brian_Gupta_115
Icon for Nimbostratus rankNimbostratus
Mar 24, 2005

Error message from iRule "Operation not supported"

Mar 24 10:35:00 tmm tmm[702]: 01220001:3: TCL error: Rule http2https_redirect - Operation not supported. Multiple redirect/respond invocations no

t allowed (line 1) invoked from within "redirect to "https://[HTTP::host][HTTP::uri]""

 
 rule http2https_redirect { 
    when HTTP_REQUEST { 
     redirect to "https://[HTTP::host][HTTP::uri]" 
 } 
 }

I am calling this rule from two different VIPS.

One thing. This rule redirect to another VIP on the bigip.

3 Replies

  • unRuleY_95363's avatar
    unRuleY_95363
    Historic F5 Account
    That error message occurs when a redirect is evaluated twice on the same connection. So, either you have multiple rules with redirect on that virtual or possibly there is some interaction with pipelining going on (Maybe you could log HTTP::request_num to see if that's happening).

     

     

    I'd suggest opening a support case as this forum isn't really an ideal place for debugging what's going on with your setup.

     

  • Got it working... the double quotes were breaking it.

     

     

    when HTTP_REQUEST {

     

    HTTP::redirect https://[HTTP::host][HTTP::uri]

     

    }