Forum Discussion
Problem with Exchange iRule after 11.2 upgrade
Hello,
I need some help determining what this error message means that has shown up in my logs since upgrading to 11.2.
Error Message status code 01220001:
TCL error: /Common/EXT_MIN_EXCH_2010_SINGLE_PERSIST - attempt to use empty persistence key (line 1) invoked from within "persist uie [HTTP::header "OutlookSession"] 3600" ("MSRPC" arm line 3) invoked from within "switch -glob [HTTP::header "User-Agent"] { "MSRPC" { if { [HTTP::cookie exists "OutlookSession"] } { persist uie [HTTP::header "Outlook..." ("/rpc/rpcproxy.dll" arm line 2) invoked from within "switch -glob [HTTP::path] { "/Microsoft-Server-ActiveSync*" { persist cookie pool EXT_MIN_EXCH_2010_SINGLE_AS } "/rpc/rpcproxy.dll" { s..."
This message is in reference to the IRule we use for exchange that worked in 10.2.4 and 10.2.0:
when HTTP_REQUEST priority 600 {
switch -glob [HTTP::path] {
"/Microsoft-Server-ActiveSync*" {
persist cookie
pool EXT_MIN_EXCH_2010_SINGLE_AS
}
"/rpc/rpcproxy.dll" {
switch -glob [HTTP::header "User-Agent"] {
"MSRPC" {
if { [HTTP::cookie exists "OutlookSession"] } {
persist uie [HTTP::header "OutlookSession"] 3600
} else {
persist uie [HTTP::header "Authorization"] 3600
}
}
"*Microsoft Office*" {
persist uie [HTTP::header "Authorization"] 3600
}
default {
persist source_addr
}
}
pool EXT_MIN_EXCH_2010_SINGLE_OA
}
"/autodiscover/autodiscover.aspx" {
persist cookie
pool EXT_MIN_EXCH_2010_SINGLE_OWA
}
default {
persist cookie
pool EXT_MIN_EXCH_2010_SINGLE_OWA
}
}
}
I am assuming it is a syntax issue with the new version of firmware, but I am not the expert! Can someone please assist?
Thanks,
Megan Smith
- Chris_MillerAltostratushttps://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/62/aft/2163851/showtab/groupforums/Default.aspx
persist uie [HTTP::header "OutlookSession"] 3600
persist uie [HTTP::cookie "OutlookSession"] 3600
- hooleylistCirrostratusIt would be slightly more precise to change this:
- Gabriel_CallejaNimbostratusHi I have the same issue but my iRUle is
- Gabriel_CallejaNimbostratus
I have the same issue but my iRUle is
when HTTP_REQUEST {
if { [HTTP::header "User-Agent"] contains "MSRPC" } {
persist uie [HTTP::header "Authorization"] 3600
}
}
and my log is
Oct 18 03:51:21 tmm1 err tmm1[7435]: 01220001:3: TCL error: /Common/OutlookAnywherePersistRule - attempt to use empty persistence key (line 2) invoked from within "persist uie [HTTP::header "Authorization"] 3600"
Can you help me??
Gabriel
- Aaron_Forster_3Historic F5 AccountJust hit this issue myself. Looks like this user had a slightly different version than the one most of the rest of us hit an issue with. I'd change it to this. if { [HTTP::header "User-Agent"] contains "MSRPC" } { if { [HTTP::cookie value "OutlookSession"] ne "" } { persist uie [HTTP::cookie value "OutlookSession"] 3600 } else { persist uie [HTTP::header "Authorization"] 3600 } }
- What_Lies_Bene1CirrostratusYou might want to check for the existence of that before trying to persist on it's value.
- Gabriel_CallejaNimbostratus
butit worksinversion10.2.0and11.2.0versionnot?in version10.2.0andifthat valuewasin version11.2.0andcan not find it.Change anythinginthe sentence?The configuration in verion 10.2.0 was:
virtual vs_exch_oa {
now when i upgrade the BIGIP version to 11.2.0 the configuration was:
ltm virtual /Common/vs_exch_oa {
Thanks for your help.
- What_Lies_Bene1CirrostratusI can't explain that I'm afraid but perhaps you can add some logging at each step to check what's happening?
- bman_12685NimbostratusI have the same issue, logging each step it is specifcially the session part
- bman_12685Nimbostratusadded more logging to see that the cookie is null, so I set it to what it was looking for to debug
- bman_12685NimbostratusOK for me this is resolved
Recent Discussions
Related Content
* 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