CAS INVALID_TICKET

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

CAS INVALID_TICKET

I am trying to configure CAS authondication over our legacy application. After all the effort I am getting. can any one help me fixing this issue.

SEVERE: Servlet.service() for servlet [Spring Surf Dispatcher Servlet] in contex
t with path [/share] threw exception [CAS authentication error: INVALID_TICKET:
ticket 'ST-47-e04EuvphsxcLZqd6oKRn-auth' not recognized] with root cause
javax.servlet.ServletException: CAS authentication error: INVALID_TICKET: ticket
'ST-47-e04EuvphsxcLZqd6oKRn-auth' not recognized
at edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser(CASF
ilter.java:220)
at edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:1
84)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:504)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
11Processor.java:1074)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
AbstractProtocol.java:611)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
t.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskTh
read.java:61)
at java.lang.Thread.run(Thread.java:745)

2017-06-22 15:29:37,628 ERROR [alfresco.web.site] [http-bio-8444-exec-6] javax.
servlet.ServletException: CAS authentication error: INVALID_TICKET: ticket 'ST-4
7-e04EuvphsxcLZqd6oKRn-auth' not recognized

1 Reply
Highlighted
Senior Member

Re: CAS INVALID_TICKET

There's not really enough information but I suggest checking your CAS server logs - one possibility is that the validation request is taking too long.

Depending on versions etc I suggest looking at: GitHub - wrighting/alfresco-cas: A project designed to show how to integrate Alfresco with CAS singl... 

From the class name it looks like you're using a pretty old version of the filters