Irule error after upgrade of LTM to the version 15.1.3.1

Hello All,

Post upgrade of our LTM to the version 15.1.3.1 we are finding the below error log:

Could you please suggest on the steps to fix the issue?

TCL error: /Common/IRULE_CIP <HTTP_REQUEST> - Can’t call after responding - ERR_NOT_SUPPORTED (line 1)    invoked from within “HTTP::header insert srcaddr [IP::remote_addr]”

ltm rule IRULE_CIP {

when HTTP_REQUEST {

HTTP::header insert srcaddr [IP::remote_addr]

}

}

Sys::Version

Main Package

Product    BIG-IP

Version    15.1.3.1

Build      0.0.18

Regards,

Thiyagu

Hi Thiyagu,

Do you have an extra iRule with any of the following commands:

  • HTTP::respond
  • HTTP::redirect
  • HTTP::retry

in addition to “IRULE_CIP” associated with your virtual server. (TCL error: ERR_NOT_SUPPORTED after upgrade to version 14.1.0 or later (f5.com)).

If so, you can change the order of the iRules in Virtual Server --> Resources --> iRules. Click Manage for iRules Management and Move Up the "IRULE_CIP. Than test it again.

Or you can apply the recommended action in LTM policy redirect action returns TCL error: Can’t call after responding - ERR_NOT_SUPPORTED (line 1) for subsequent HTTP iRule event processing (f5.com).

when HTTP_REQUEST {
  if { [HTTP::has_responded] } { return } 
  else { 
    HTTP::header insert srcaddr [IP::remote_addr] 
  }
}

Hi

F5 doesn’t allow you to use same event in different iRules for same VS. Please combine other iRules that containing HTTP_REQUEST events.​

IS that really true? We are having som issues with APM per -request profile and we have multiple irules with When HTTP_REQUEST in them, is this then something new? We get connection reset after using URL branschin in an per-request APM policy, in combo with irules as above