Hi Everyone,
We are deploying alfresco ACS and share on EKS(kubernetes, aws) and I was wondering sometings.
Here our setup.
The probleme I have is when I scale ACS to more than 1 replica, during login in share I have "Unable to retrieve user from repository " but if I refresh the page everthing is good and work correctly until my next login.
I was wondering, is it possible this bug is caused because clustering is not enabled ? Or is there something special to do when share and acs are not on the same "node/server" ?
We have a load balancer with session/cookie for share pod so that a user is bind to one share instance. Does every share instance need to have a session/bind to one acs instance ?
Thanks you for your time.
Stacktrace :
2024-03-25T13:48:49,744 [] ERROR [alfresco.web.site] [http-nio-8080-exec-9] jakarta.servlet.ServletException: Request processing failed: org.springframework.extensions.surf.exception.UserFactoryException: Unable to retrieve user from repository org.springframework.extensions.surf.exception.UserFactoryException: Unable to retrieve user from repository at org.springframework.extensions.surf.support.AlfrescoUserFactory.loadUser(AlfrescoUserFactory.java:195) ~[spring-surf-9.0.jar:9.0] at org.alfresco.web.site.SlingshotUserFactory.loadUser(SlingshotUserFactory.java:141) ~[classes/:23.2.0.72] at org.springframework.extensions.surf.support.AbstractUserFactory.initialiseUser(AbstractUserFactory.java:183) ~[spring-surf-9.0.jar:9.0] at org.springframework.extensions.surf.support.AbstractUserFactory.initialiseUser(AbstractUserFactory.java:101) ~[spring-surf-9.0.jar:9.0] at org.springframework.extensions.surf.RequestContextUtil.initialiseUser(RequestContextUtil.java:260) ~[spring-surf-9.0.jar:9.0] at org.springframework.extensions.surf.RequestContextUtil.populateRequestContext(RequestContextUtil.java:183) ~[spring-surf-9.0.jar:9.0] at org.springframework.extensions.surf.RequestContextUtil.populateRequestContext(RequestContextUtil.java:138) ~[spring-surf-9.0.jar:9.0] at org.springframework.extensions.surf.mvc.AbstractWebFrameworkView.populateRequestContext(AbstractWebFrameworkView.java:374) ~[spring-surf-9.0.jar:9.0]
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.