Forum Discussion
F5 session cookie being routed to wrong server node
Hello,
I am new to F5 and client has a strange issue. The setup is that we have a custom JNLP based application on client machine and 2 wildfly servers as backend. We require F5 to use sticky cookies via cookie insert method (ie dont rely on JSESSIONID). Expiry against session cookie is ticked.
Now when users connect via the jnlp application , the httpRequests seem to hit the wrong server ie authentication happens on node 1 but subsequent requests go to node 2 . This is random behavior and there is no particular trigger. On investigating the server logs , I see that the BigIP cookie that was inserted is present in both nodes , using the cookie decyrpt technique I see that it is intended for node 1 but mysteriously requests with this cookie go to node 2. The version is 11.6.3.2 whereas the same setup in another environment with 11.6.3 works fine. The VIP looks identical. please let me know if I am not clear. Any help appreciated. thanks
- JG
Cumulonimbus
Are you able to share the output of the following:
tmsh list /ltm virtual vs_name
?
- nikworks_369744
Nimbostratus
Hi Jie,
Thanks for quick response.
ltm virtual test.CLIENT.com-8080 { destination 172.29.4.17:8080 ip-protocol tcp mask 255.255.255.255 persist { testAPP { default yes } } pool test.CLIENT.com-8080 profiles { http { } tcp { } } source 0.0.0.0/0 source-address-translation { type automap } translate-address enabled translate-port enabled vs-index 95 } Please note that I had asked them to turn on 'always send cookies' today morning , else the persistence bit is persist { encryptedcookie { default yes } }
- JG
Cumulonimbus
And the output of:
tmsh list /ltm persist cookie testAPP
?
- nikworks_369744
Nimbostratus
here
ltm persistence cookie encryptedcookie { app-service none cookie-encryption required cookie-encryption-passphrase XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX cookie-name encryptedcookie defaults-from cookie } tmsh list /ltm persist cookie testAPP ltm persistence cookie testAPP { always-send enabled app-service none cookie-encryption disabled cookie-name none defaults-from cookie expiration 0 method insert override-connection-limit disabled }
- nikworks_369744
Nimbostratus
To add,issue is reported primarily by citrix users
- SurgeonRet. Employee
do you see any pool member flaps going up/down?
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