No flow execution could be found with key 'e1s1'

Fritz Brause brausef5 at gmail.com
Fri Apr 19 07:29:13 EDT 2019


Hi,

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:

<session-config>
        <cookie-config>
            <http-only>true</http-only>
            <secure>false</secure>
        </cookie-config>
        <tracking-mode>COOKIE</tracking-mode>
 </session-config>

After this change everything worked fine.

Christopher

Am Di., 2. Apr. 2019 um 13:33 Uhr schrieb Fritz Brause <brausef5 at gmail.com>:

> Hi,
>
> 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.
> This is the log message:
> 2019-04-02 12:59:33,301 - 192.168.3.165 - ERROR
> [org.springframework.webflow.execution.repository.NoSuchFlowExecutionException:76]
> -
> 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.
>         at
> org.springframework.webflow.execution.repository.support.AbstractFlowExecutionRepository.getConversation(AbstractFlowExecutionRepository.java:172)
> Caused by:
> org.springframework.webflow.conversation.NoSuchConversationException: No
> conversation could be found with id '1' -- perhaps this conversation has
> ended?
>         at
> org.springframework.webflow.conversation.impl.ConversationContainer.getConversation(ConversationContainer.java:126)
> 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 //
> shibboleth.domain.com:8080/idp/profile/SAML2/Redirect/SSO?execution=e1s1)@d065bd,
> 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}
> 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 //
> shibboleth.domain.com:8080/idp/profile/SAML2/Redirect/SSO?execution=e1s1)@d065bd,
> 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}
> 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.
>         at
> org.springframework.webflow.execution.repository.support.AbstractFlowExecutionRepository.getConversation(AbstractFlowExecutionRepository.java:172)
> Caused by:
> org.springframework.webflow.conversation.NoSuchConversationException: No
> conversation could be found with id '1' -- perhaps this conversation has
> ended?
>         at
> org.springframework.webflow.conversation.impl.ConversationContainer.getConversation(ConversationContainer.java:126)
>
> If you need some more information, just let me know.
>
> Christopher
>
> --
> Liebe Grüße
> Christopher
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20190419/e2e21f67/attachment.html>


More information about the users mailing list