Forum Discussion
MO_63346
Nimbostratus
Apr 14, 2013err 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
- John_Alam_45640Historic F5 AccountDO you have a default pool assigned to the Virtual?
- MO_63346
Nimbostratus
Hi John,
Yes, default pool is applied to the VS.
Thanks
Mo
- John_Alam_45640Historic F5 AccountGive this a shot:
Try :
persist cookie
instead of
persist uie
https://devcentral.f5.com/wiki/iRules.persist.ashx - What_Lies_Bene1
Cirrostratus
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? - What_Lies_Bene1
Cirrostratus
Also, shouldn't it be;[HTTP::cookie value SessionId]
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects