<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
Hi all,</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
After upgrading my clustered test instance to v5 I noticed a strange issue where either instance will work if the other one is stopped but I will get stale request errors if both are running.</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
I have set my IdP log levels to trace but I don't see any real indication as to what the issue is. When I have only one instance up, and everything works, the logs show:</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [net.shibboleth.idp.saml.profile.impl.ExtractSubjectFromRequest:137] - Profile Action ExtractSubjectFromRequest: No Subject NameID/NameIdentifier in message needs inbound processing</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [org.opensaml.saml.common.profile.impl.VerifyChannelBindings:149] - Profile Action VerifyChannelBindings: No channel bindings found to verify, nothing to do</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [net.shibboleth.idp.profile.impl.WebFlowMessageHandlerAdaptor:175] - Profile Action WebFlowMessageHandlerAdaptor: Invoking message handler of type 'org.opensaml.saml.saml2.binding.impl.ExtractProxiedRequestersHandler' on INBOUND message context</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [net.shibboleth.idp.profile.impl.WebFlowMessageHandlerAdaptor:197] - Profile Action WebFlowMessageHandlerAdaptor: Invoking message handler on message context containing a message of type 'org.opensaml.saml.saml2.core.impl.AuthnRequestImpl'</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [net.shibboleth.idp.saml.profile.impl.InitializeAuthenticationContext:226] - Profile Action InitializeAuthenticationContext: Created authentication context: AuthenticationContext{initiationInstant=2024-07-15T14:05:37.793495339Z, isPassive=false, forceAuthn=false,
requiredName=null, hintedName=null, maxAge=null, potentialFlows=[], activeResults=[], attemptedFlow=null, signaledFlowId=null, authenticationStateMap={}, resultCacheable=true, authenticationResult=null, completionInstant=null}</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [net.shibboleth.idp.saml.saml2.profile.impl.ProcessRequestedAuthnContext:162] - Profile Action ProcessRequestedAuthnContext: AuthnRequest did not contain a RequestedAuthnContext, nothing to do</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [net.shibboleth.idp.authn.impl.PopulateAuthenticationContext:203] - Profile Action PopulateAuthenticationContext: Installed 1 potential authentication flows into AuthenticationContext</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [net.shibboleth.idp.authn.impl.InitializeRequestedPrincipalContext:146] - Profile Action InitializeRequestedPrincipalContext: Profile configuration did not supply any default authentication methods</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [net.shibboleth.idp.authn.impl.FilterFlowsByForcedAuthn:54] - Profile Action FilterFlowsByForcedAuthn: Request does not have forced authentication requirement, nothing to do</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [net.shibboleth.idp.authn.impl.FilterFlowsByNonBrowserSupport:54] - Profile Action FilterFlowsByNonBrowserSupport: Request does not have non-browser requirement, nothing to do</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [net.shibboleth.idp.authn.impl.SelectAuthenticationFlow:270] - Profile Action SelectAuthenticationFlow: No specific Principals requested</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [net.shibboleth.idp.authn.impl.SelectAuthenticationFlow:309] - Profile Action SelectAuthenticationFlow: No usable active results available, selecting an inactive flow</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [net.shibboleth.idp.authn.impl.SelectAuthenticationFlow:368] - Profile Action SelectAuthenticationFlow: Selecting inactive authentication flow authn/RemoteUser</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
But when I have both instances up, the logs stop at:</div>
<div style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [net.shibboleth.idp.saml.profile.impl.ExtractSubjectFromRequest:137] - Profile Action ExtractSubjectFromRequest: No Subject NameID/NameIdentifier in message needs inbound processing</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [org.opensaml.saml.common.profile.impl.VerifyChannelBindings:149] - Profile Action VerifyChannelBindings: No channel bindings found to verify, nothing to do</div>
<div style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [net.shibboleth.idp.profile.impl.WebFlowMessageHandlerAdaptor:175] - Profile Action WebFlowMessageHandlerAdaptor: Invoking message handler of type 'org.opensaml.saml.saml2.binding.impl.ExtractProxiedRequestersHandler' on INBOUND message context</div>
<div class="elementToProof" style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0);">
DEBUG [net.shibboleth.idp.profile.impl.WebFlowMessageHandlerAdaptor:197] - Profile Action WebFlowMessageHandlerAdaptor: Invoking message handler on message context containing a message of type 'org.opensaml.saml.saml2.core.impl.AuthnRequestImpl'</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
For more context I have these two instances running IdP 5.1.1 under Tomcat 10 behind Apache/mod_jk with sticky sessions and memcached as the storage service.</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
Any idea what could be causing this problem?</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature" style="color: inherit;">
<div style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif;" dir="ltr" id="divtagdefaultwrapper">
<p style="margin-top: 0px; margin-bottom: 0px;"><span style="font-family: Arial; font-size: 9.75pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Diego Figueroa</span></p>
</div>
</div>
</body>
</html>