Expand my Community achievements bar.

Sticky connection configuration not working

Avatar

Level 4

We have 2 publish instance and 2 dispatchers configured for the same. Each time when we access the site, the request is going to different publish instance, which is breaking some of the functionalities like profile update. We have configured SCD , but is taking some time to get both instances in sync. I have updated the dispatcher configuration as below to make the sticky connection working, but it is not working. Please advice if I missed anything.

/stickyConnectionsFor "/content/**/en"

 

  /stickyConnections

  {

   /paths

    {

     "/content/usergenerated/asi/jcr/home/users"

"/content/usergenerated/***/en/***/RegistrationForm"

"/content/usergenerated/***/en/p***/registration-invitation/cq-gen1501477303100"

"/home/users"

     }

  }

2 Replies

Avatar

Level 4

If you are using LoadBalancer or WAF(in case of cloud) then better You have the sticky session at the LoadBalancer end.