<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>I found a solution for my problem. I use only HTTP instead of HTTPS because I use Shibboleth IDP only for a few tests. The problem was that the JSEESIONID cookie was secure so it was not send to the idp after the client was redirected to the login page. I modified the <session-config> in edit-webapp/WEB-INF/web.xml to use unsecure cookies:</div><div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><session-config></font></div><div><font face="monospace, monospace">        <cookie-config></font></div><div><font face="monospace, monospace">            <http-only>true</http-only></font></div><div><font face="monospace, monospace">            <secure>false</secure></font></div><div><font face="monospace, monospace">        </cookie-config></font></div><div><font face="monospace, monospace">        <tracking-mode>COOKIE</tracking-mode></font></div><div><font face="monospace, monospace"> </session-config></font></div></div><div><font face="monospace, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">After this change everything worked fine.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Christopher</font></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Di., 2. Apr. 2019 um 13:33 Uhr schrieb Fritz Brause <<a href="mailto:brausef5@gmail.com">brausef5@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>I've installed the Shibboleth Identity Provider on my Linux-Server and want to use it as an IDP authenticating with LDAP. The Identity Provider works without any errors with the IPAddress authentication but when I select the Password authentication in my idp.properties file, I get a NoSuchFlowExecutionException when trying to access a Service Provider. So the error must have someting to do with the auth/Password configuration but I don't know what I did wrong. I made no changes in the authn/password-authn-config.xml and authn/ldap-authn-config.xml and only adjusted the ldap.properties file.<br><div><div>This is the log message:</div><div><div>2019-04-02 12:59:33,301 - 192.168.3.165 - ERROR [org.springframework.webflow.execution.repository.NoSuchFlowExecutionException:76] -</div><div>org.springframework.webflow.execution.repository.NoSuchFlowExecutionException: No flow execution could be found with key 'e1s1' -- 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.</div><div>        at org.springframework.webflow.execution.repository.support.AbstractFlowExecutionRepository.getConversation(AbstractFlowExecutionRepository.java:172)</div><div>Caused by: org.springframework.webflow.conversation.NoSuchConversationException: No conversation could be found with id '1' -- perhaps this conversation has ended?</div><div>        at org.springframework.webflow.conversation.impl.ConversationContainer.getConversation(ConversationContainer.java:126)</div><div>2019-04-02 12:59:33,308 - 192.168.3.165 - WARN [net.shibboleth.ext.spring.error.ExtendedMappingExceptionResolver:136] - Resolved [org.springframework.webflow.execution.repository.NoSuchFlowExecutionException: No flow execution could be found with key 'e1s1' -- 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.] to ModelAndView: reference to view with name 'error'; model is {exception=org.springframework.webflow.execution.repository.NoSuchFlowExecutionException: No flow execution could be found with key 'e1s1' -- 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., request=Request(GET //<a href="http://shibboleth.domain.com:8080/idp/profile/SAML2/Redirect/SSO?execution=e1s1)@d065bd" target="_blank">shibboleth.domain.com:8080/idp/profile/SAML2/Redirect/SSO?execution=e1s1)@d065bd</a>, encoder=class net.shibboleth.utilities.java.support.codec.HTMLEncoder, springContext=Root WebApplicationContext: startup date [Tue Apr 02 12:57:43 CEST 2019]; root of context hierarchy}</div><div>2019-04-02 12:59:33,310 - 192.168.3.165 - DEBUG [org.springframework.web.servlet.DispatcherServlet:1237] - Handler execution resulted in exception - forwarding to resolved error view: ModelAndView: reference to view with name 'error'; model is {exception=org.springframework.webflow.execution.repository.NoSuchFlowExecutionException: No flow execution could be found with key 'e1s1' -- 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., request=Request(GET //<a href="http://shibboleth.domain.com:8080/idp/profile/SAML2/Redirect/SSO?execution=e1s1)@d065bd" target="_blank">shibboleth.domain.com:8080/idp/profile/SAML2/Redirect/SSO?execution=e1s1)@d065bd</a>, encoder=class net.shibboleth.utilities.java.support.codec.HTMLEncoder, springContext=Root WebApplicationContext: startup date [Tue Apr 02 12:57:43 CEST 2019]; root of context hierarchy}</div><div>org.springframework.webflow.execution.repository.NoSuchFlowExecutionException: No flow execution could be found with key 'e1s1' -- 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.</div><div>        at org.springframework.webflow.execution.repository.support.AbstractFlowExecutionRepository.getConversation(AbstractFlowExecutionRepository.java:172)</div><div>Caused by: org.springframework.webflow.conversation.NoSuchConversationException: No conversation could be found with id '1' -- perhaps this conversation has ended?</div><div>        at org.springframework.webflow.conversation.impl.ConversationContainer.getConversation(ConversationContainer.java:126)</div></div><div><br></div><div>If you need some more information, just let me know.</div><br></div></div><div>Christopher</div><div><br></div>-- <br><div dir="ltr" class="gmail-m_6277617137351216370gmail_signature"><div dir="ltr"><div>Liebe Grüße <br></div><div>Christopher</div></div></div></div></div></blockquote></div></div>