cancel
Showing results for 
Search instead for 
Did you mean: 

ACS and Share on EKS

agermain
Champ on-the-rise
Champ on-the-rise

Hi Everyone,

We are deploying alfresco ACS and share on EKS(kubernetes, aws) and I was wondering sometings.

Here our setup.

  • ACS and share are on separate pods
  • Clustering is disable
  • We are using S3 connector
  • An EFS for alfr_data
  • Load balancer for share so that user are bind to one share instance

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]
0 REPLIES 0