<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ACS and Share on EKS in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/acs-and-share-on-eks/m-p/145302#M38534</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;We are deploying alfresco ACS and share on EKS(kubernetes, aws) and I was wondering sometings.&lt;/P&gt;&lt;P&gt;Here our setup.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ACS and share are on separate pods&lt;/LI&gt;&lt;LI&gt;Clustering is disable&lt;/LI&gt;&lt;LI&gt;We are using S3 connector&lt;/LI&gt;&lt;LI&gt;An EFS for alfr_data&lt;/LI&gt;&lt;LI&gt;Load balancer for share so that user are bind to one share instance&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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" ?&lt;BR /&gt;&lt;BR /&gt;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 ?&lt;/P&gt;&lt;P&gt;Thanks you for your time.&lt;/P&gt;&lt;P&gt;Stacktrace :&lt;/P&gt;&lt;PRE&gt;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]&lt;/PRE&gt;</description>
    <pubDate>Mon, 25 Mar 2024 18:06:17 GMT</pubDate>
    <dc:creator>agermain</dc:creator>
    <dc:date>2024-03-25T18:06:17Z</dc:date>
    <item>
      <title>ACS and Share on EKS</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/acs-and-share-on-eks/m-p/145302#M38534</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;We are deploying alfresco ACS and share on EKS(kubernetes, aws) and I was wondering sometings.&lt;/P&gt;&lt;P&gt;Here our setup.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ACS and share are on separate pods&lt;/LI&gt;&lt;LI&gt;Clustering is disable&lt;/LI&gt;&lt;LI&gt;We are using S3 connector&lt;/LI&gt;&lt;LI&gt;An EFS for alfr_data&lt;/LI&gt;&lt;LI&gt;Load balancer for share so that user are bind to one share instance&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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" ?&lt;BR /&gt;&lt;BR /&gt;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 ?&lt;/P&gt;&lt;P&gt;Thanks you for your time.&lt;/P&gt;&lt;P&gt;Stacktrace :&lt;/P&gt;&lt;PRE&gt;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]&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Mar 2024 18:06:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/acs-and-share-on-eks/m-p/145302#M38534</guid>
      <dc:creator>agermain</dc:creator>
      <dc:date>2024-03-25T18:06:17Z</dc:date>
    </item>
  </channel>
</rss>

