I think I may find the RCA, it is due to the tomcat session-timeout.
<session-config>
<session-timeout>30</session-timeout>
</session-config>
In external tomcat, it is 30 minutes by default. It may be set to 5 minutes
for embedded tomcat.
He Vincent在 2021年10月18日星期一上午9:14:47 [UTC+8]寫道:
> Thank, I will try to deploy it with tomcat later.
>
> [email protected]在 2021年10月15日星期五下午11:44:04 [UTC+8]寫道:
>
>> I had this issue with SAML as well. The issue appeared when I used the
>> embedded web server, after deploying externally to apache tomcat, I no
>> longer have this problem. CAS 6.3.4, Tomcat 9.0.46
>>
>> On Thursday, October 14, 2021 at 11:28:18 PM UTC-4 He Vincent wrote:
>>
>>> CAS Protocol has no such issue. It got this issue when I use SAML,
>>> OAuth2 or OIDC.
>>>
>>>
>>> He Vincent在 2021年10月15日星期五上午11:10:14 [UTC+8]寫道:
>>>
>>>> I waited for more than 5 minues at the login page, then I login as
>>>> normal, it will got error:
>>>>
>>>> CAS is unable to process this request: "500:Internal Server Error"
>>>>
>>>> org.apereo.cas.ticket.InvalidTicketException at
>>>> org.apereo.cas.DefaultCentralAuthenticationService.validateServiceTicket(DefaultCentralAuthenticationService.java:225)
>>>>
>>>> at
>>>> org.apereo.cas.DefaultCentralAuthenticationService$$FastClassBySpringCGLIB$$b02e48f2.invoke(<generated>)
>>>>
>>>> at
>>>> org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
>>>> at
>>>> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)
>>>>
>>>> at
>>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
>>>>
>>>> at
>>>> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
>>>>
>>>> at
>>>> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)
>>>>
>>>> at
>>>> org.apereo.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagementAspect.java:135)
>>>>
>>>> at jdk.internal.reflect.GeneratedMethodAccessor245.invoke(Unknown Source)
>>>>
>>>>
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/6f01449b-813e-4b36-b745-1b9236eb4f04n%40apereo.org.