<div dir="ltr"><div><br></div><div>AWS ALB with 2 targets<br>Targets include<br>OS      = RHEL 8.6<br>jetty   = 9.4.48<br>idp     = 4.2.1<br>+ memcached, unicons shibCas module<br><br>Authentication is external using Unicon's CAS module.<br></div><div><br></div><div>Scenario: a node goes offline while the client is performing the external auth. When the session returns, the load balancer has moved the client to another node, but the following error is seen:<br><br>"Sorry, it looks like there is a problem finding your session ... "<br><br>Logs show:<br><br>2022-08-31 14:42:54,058 - 10.20.209.126 - WARN [net.unicon.idp.externalauth.ShibcasAuthServlet:88] - Error processing ShibCas authentication request<br>net.shibboleth.idp.authn.ExternalAuthenticationException: Error retrieving flow conversation<br>    at net.shibboleth.idp.authn.ExternalAuthentication.getProfileRequestContext(ExternalAuthentication.java:227)<br>Caused by: org.springframework.webflow.execution.repository.NoSuchFlowExecutionException: No flow execution could be found with key 'e1s2' -- perhaps this executing flow has ended or expired? This could happen if your users are relying on browser history (typically via the back button) that references ended flows.<br>     at org.springframework.webflow.execution.repository.support.AbstractFlowExecutionRepository.getConversation(AbstractFlowExecutionRepository.java:172)<br>Caused by: org.springframework.webflow.conversation.NoSuchConversationException: No conversation could be found with id '1' -- perhaps this conversation has ended? <br>   at org.springframework.webflow.conversation.impl.ConversationContainer.getConversation(ConversationContainer.java:126)<br></div><div><br></div><div>Is it possible to replicate the flow conversation across a cluster when external authentication is used? Something like,<br>idp.authn.ExternalAuthentication.StorageService = shibboleth.MemcachedStorageService<br></div><div><br></div><div>Should I be looking at something else? or is this something that falls into the,"there is no solution provided to replicate the per-request conversational state"? </div><div><br></div><div><a href="https://shibboleth.atlassian.net/wiki/spaces/IDP30/pages/2495742390/Clustering#Clustering-ConversationalState">https://shibboleth.atlassian.net/wiki/spaces/IDP30/pages/2495742390/Clustering#Clustering-ConversationalState</a> <br><a href="https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/1265631607/ExternalAuthnConfiguration">https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/1265631607/ExternalAuthnConfiguration</a><br></div><div><br></div><div>Jay</div></div>