Forum Discussion
I know this is an old thread. Here is my scenario: Two webservers running Java applications. The servers have 1hr timeout keepalive set. We noticed that some customers IP changes with same JSESSIONID, maybe due to proxy. In other words, two IP addresses with one JSESSIONID. I'm not familiar that how one tcp request could have more than one IP address. But to cut the long story short, it's happening. We are seering same JSESSIONID in both servers with different IP addresses.
For example: JSESSIONID23456 with IP address 192.159.9.9 server 01 JSESSIONID23456 with IP address 192.159.10.10 server 02
This causes timeout.
We implemented Source address Affirnity, that did not work. We implemented universal persistence with source-add as fallback, that did not seem to work either.
I need help for irule that will persist to one server based on JSESSIONID.
- Elias_O_16228Nov 21, 2014NimbostratusBelow is irule tested but it did not work; when HTTP_RESPONSE { if { [HTTP::cookie exists "JSESSIONID"] } { persist add uie [HTTP::cookie "JSESSIONID"] } } when HTTP_REQUEST { if { [HTTP::cookie exists "JSESSIONID"] } { persist uie [HTTP::cookie "JSESSIONID"] } }
- nitassNov 22, 2014Employeeare you using oneconnect profile? if not, can you try? sol7964: Persistence may fail for subsequent requests on Keep-Alive connections https://support.f5.com/kb/en-us/solutions/public/7000/900/sol7964.html