Forum Discussion

MO_63346's avatar
MO_63346
Icon for Nimbostratus rankNimbostratus
Apr 14, 2013

err tmm1[5010]: 01220001:3

Hello,

I am gettting this error in the logs. Not sure what's missing in the Irule. Can someone help me with this ?

local/tmm1 err tmm1[5010]: 01220001:3: TCL error: IRULE1  - Prerequisite operation not in progress (line 1)     invoked from within "persist add uie [HTTP::cookie SessionId] 1800 "

when HTTP_REQUEST {

if { [HTTP::cookie exists SessionId]} {

persist uie [HTTP::cookie SessionId] 1800

} else {

set sessionid [findstr [HTTP::uri] SessionId 10 ";"]

if { $ != "" } {

persist uie $sessionid 1800

}

}

}

when HTTP_RESPONSE {

if { [HTTP::cookie exists SessionId] } {

persist add uie [HTTP::cookie SessionId] 1800

}

}

}

Thanks

5 Replies

  • Hi John,

     

    Yes, default pool is applied to the VS.

     

    Thanks

     

    Mo

     

  • John_Alam_45640's avatar
    John_Alam_45640
    Historic F5 Account
    Give this a shot:

     

    Try :

     

    persist cookie

     

     

    instead of

     

    persist uie

     

     

    https://devcentral.f5.com/wiki/iRules.persist.ashx

     

     

  • Hmmm, there's no reason this shouldn't work and changing persistence methods just bypasses the problem.

     

     

    Can you post the VS config (suitably redacted) and also confirm if there are any other iRules applied that might contain redirects or similar please?