Sticky connection configuration not working

Avatar

Avatar

anushap40132887

Avatar

anushap40132887

anushap40132887

08-07-2018

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"

     }

  }

Replies

Avatar

Avatar

NegiCF

Avatar

NegiCF

NegiCF

09-07-2018

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

Avatar

Avatar

anushap40132887

Avatar

anushap40132887

anushap40132887

13-07-2018

Thanks NegiCF , that worked.