Forum Discussion

Venkat_96088's avatar
Venkat_96088
Icon for Nimbostratus rankNimbostratus
Feb 02, 2012

tmm error related to iRule

Hi,

 

 

The below iRule when configured did not give give any syntax error. However, in /var/log/ltm tmm err logs are getting generated continuously.

 

 

Feb 2 06:09:50 local/tmm err tmm[8132]: 01220001:3: TCL error: xxx_IRule - Operation not supported. Multiple redirect/respond invocations not allowed (line 2) invoked from within "HTTP::redirect https://[HTTP::host][HTTP::uri]"

 

 

when HTTP_REQUEST {

 

if { not ([string tolower [HTTP::host]] contains "jsession")}{

 

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

 

}

 

}

 

 

Kindly assist me here as this logs are getting generated continuously and i also see packet drops in the 1.1 and 1.2 interfaces.

3 Replies

  • Multiple redirect/respond invocations not alloweddo you?
  • Hi Nitass, Thanks for your reply. I didn't get you? Can you please detail..?
  • i guess your virtual server may have more than one irule or the irule you posted might not be finished. based on the error, i understand there is traffic which triggers more than one HTTP::request or HTTP::respond.

     

     

    it dpends on how you code irule. you may use event command to disable other event after triggering the first redirection (HTTP::redirect or HTTP::respond).

     

     

    event wiki

     

    http://devcentral.f5.com/wiki/iRules.event.ashx

     

     

    hope this helps.