Forum Discussion

Anatolyint's avatar
Anatolyint
Icon for Nimbostratus rankNimbostratus
Mar 03, 2021

Encryped Coockie Persistence session loss

Hello,

 

We have VS setup with two pools and round robin load balancing with cookie Persistence,

We decided to encrypt the cookie to not expose it, but after encrypting it users started to experience session loss.

Any advice how to debug this?

 

Note, after changing back to not encrypted cookie the session loss problem stopped.

5 Replies

  • Hello,

     

    Thanks for your answer,

    I'm using one VS with one pool and two members,

    This is how i set up the cookie encryption: https://support.f5.com/csp/article/K14784

    I will check out about the traffic decryption.

  • Hello,

     

    My system does not support traffic decryption as it says its only applies for BIG-IP 12.x and later, mine is lower.

    • boneyard's avatar
      boneyard
      Icon for MVP rankMVP

      first off please look at getting to a higher version, lower than 12 is really getting too old.

       

      then the actual issue. does the session loss keep happening even after are few visits to the website? once you switch then it can affect current users as they initially send the unencrypted cookie.

    • Simon_Blakely's avatar
      Simon_Blakely
      Icon for Employee rankEmployee

      Then you need to use an irule to log the persistence cookie value, and the load-balancing choice.

      It could be that something is corrupting the cookie so that decryption fails, and a new load-balancing decision is made.

       

      If you use the browser developer tools and collect a HAR file, do you see the persistence cookie change?