=============================================================WHO: user1WHAT: Supplied credentials: [user1]ACTION: AUTHENTICATION_SUCCESSAPPLICATION: CASWHEN: Tue Aug 02 14:35:07 EDT 2016CLIENT IP ADDRESS: 192.168.0.100SERVER IP ADDRESS: 192.168.21.142=============================================================
>2016-08-02 14:35:07,579 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN=============================================================WHO: audit:unknownWHAT: TGT-**********************************************OsqfxL4sVn-cas1.example.comACTION: TICKET_GRANTING_TICKET_CREATEDAPPLICATION: CASWHEN: Tue Aug 02 14:35:07 EDT 2016CLIENT IP ADDRESS: 192.168.0.100SERVER IP ADDRESS: 192.168.21.142=============================================================
>2016-08-02 14:35:07,600 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted ticket [ST-68-YJvyjEaYZCeKhFhHxet1-cas1.example.com] for service [http://performance.example.com/cas/login/] and principal [user1]>2016-08-02 14:35:07,608 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN=============================================================WHO: user1ACTION: SERVICE_TICKET_CREATEDAPPLICATION: CASWHEN: Tue Aug 02 14:35:07 EDT 2016CLIENT IP ADDRESS: 192.168.0.100SERVER IP ADDRESS: 192.168.21.142=============================================================
>2016-08-02 14:35:07,706 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted ticket [ST-69-IjRkj39xVHYQHIlTZaer-cas1.example.com] for service [http://performance.example.com/cas/login/] and principal [user1]>2016-08-02 14:35:07,710 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN=============================================================WHO: user1ACTION: SERVICE_TICKET_CREATEDAPPLICATION: CASWHEN: Tue Aug 02 14:35:07 EDT 2016CLIENT IP ADDRESS: 192.168.0.100SERVER IP ADDRESS: 192.168.21.142=============================================================
>2016-08-02 14:35:07,803 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted ticket [ST-70-lOLGaHuNJ6GWz2euScXS-cas1.example.com] for service [http://performance.example.com/cas/login/] and principal [user1]>2016-08-02 14:35:07,807 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN=============================================================WHO: user1ACTION: SERVICE_TICKET_CREATEDAPPLICATION: CASWHEN: Tue Aug 02 14:35:07 EDT 2016CLIENT IP ADDRESS: 192.168.0.100SERVER IP ADDRESS: 192.168.21.142=============================================================
>2016-08-02 14:35:07,895 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted ticket [ST-71-gTqf6iPzhHTA1JhXux0Z-cas1.example.com] for service [http://performance.example.com/cas/login/] and principal [user1]>2016-08-02 14:35:07,899 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN=============================================================WHO: user1ACTION: SERVICE_TICKET_CREATEDAPPLICATION: CASWHEN: Tue Aug 02 14:35:07 EDT 2016CLIENT IP ADDRESS: 192.168.0.100SERVER IP ADDRESS: 192.168.21.142=============================================================
>2016-08-02 14:35:07,983 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted ticket [ST-72-vA1nKtvrcHWlgLODqn5e-cas1.example.com] for service [http://performance.example.com/cas/login/] and principal [user1]>2016-08-02 14:35:07,987 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN=============================================================WHO: user1ACTION: SERVICE_TICKET_CREATEDAPPLICATION: CASWHEN: Tue Aug 02 14:35:07 EDT 2016CLIENT IP ADDRESS: 192.168.0.100SERVER IP ADDRESS: 192.168.21.142=============================================================
=============================================================WHO: audit:unknownACTION: SERVICE_TICKET_VALIDATE_FAILEDAPPLICATION: CASWHEN: Tue Aug 02 14:35:10 EDT 2016CLIENT IP ADDRESS: 192.168.0.100SERVER IP ADDRESS: 192.168.21.143=============================================================
>2016-08-02 14:35:22,082 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <ServiceTicket [ST-68-YJvyjEaYZCeKhFhHxet1-cas1.example.com] has expired.>2016-08-02 14:35:22,091 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN=============================================================WHO: audit:unknownACTION: SERVICE_TICKET_VALIDATE_FAILEDAPPLICATION: CASWHEN: Tue Aug 02 14:35:22 EDT 2016CLIENT IP ADDRESS: 192.168.0.100SERVER IP ADDRESS: 192.168.21.143=============================================================
>2016-08-02 14:35:22,174 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <ServiceTicket [ST-69-IjRkj39xVHYQHIlTZaer-cas1.example.com] has expired.>2016-08-02 14:35:22,181 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN=============================================================WHO: audit:unknownACTION: SERVICE_TICKET_VALIDATE_FAILEDAPPLICATION: CASWHEN: Tue Aug 02 14:35:22 EDT 2016CLIENT IP ADDRESS: 192.168.0.100SERVER IP ADDRESS: 192.168.21.143=============================================================
>2016-08-02 14:35:22,274 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <ServiceTicket [ST-70-lOLGaHuNJ6GWz2euScXS-cas1.example.com] has expired.>2016-08-02 14:35:22,281 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN=============================================================WHO: audit:unknownACTION: SERVICE_TICKET_VALIDATE_FAILEDAPPLICATION: CASWHEN: Tue Aug 02 14:35:22 EDT 2016CLIENT IP ADDRESS: 192.168.0.100SERVER IP ADDRESS: 192.168.21.143=============================================================
>2016-08-02 14:35:22,364 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <ServiceTicket [ST-71-gTqf6iPzhHTA1JhXux0Z-cas1.example.com] has expired.>2016-08-02 14:35:22,370 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN=============================================================WHO: audit:unknownACTION: SERVICE_TICKET_VALIDATE_FAILEDAPPLICATION: CASWHEN: Tue Aug 02 14:35:22 EDT 2016CLIENT IP ADDRESS: 192.168.0.100SERVER IP ADDRESS: 192.168.21.143=============================================================
>2016-08-02 14:35:22,579 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <ServiceTicket [ST-72-vA1nKtvrcHWlgLODqn5e-cas1.example.com] has expired.>2016-08-02 14:35:22,591 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN=============================================================WHO: audit:unknownACTION: SERVICE_TICKET_VALIDATE_FAILEDAPPLICATION: CASWHEN: Tue Aug 02 14:35:22 EDT 2016CLIENT IP ADDRESS: 192.168.0.100SERVER IP ADDRESS: 192.168.21.143=============================================================
st.timeToKillInSeconds=30Your tickets are not immediately invalidated. You have ST-68-YJvyjEaYZCeKhFhHxet1-cas1.example.com issued at 14:35:07. When you trace the corresponding validation event, you see that request is received at 14:35:22. 22-7=15. 15 is greater than the default 10. Ergo...
Since your nodes are sharing the same registry instance, that node1 vs node2 discussion is irrelevant. As you may have observed, you will just as well experience the same problem with a single node without couchbase even involved. As I said, you need to investigate the app to figure out why it’s taking 10+ seconds to issue a validation event. Fix it there. If you can’t, you might as well live with an adjusted timeout value.
--
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 cas-user+u...@apereo.org.
To post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/0cbc4ad7-4c7e-4f57-9fc5-e825072931e0%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.
--
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 cas-user+u...@apereo.org.
To post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/e4aeea7c-542d-44ea-b0c8-ab4f39b4cca9%40apereo.org.
--
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 cas-user+u...@apereo.org.
To post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/38532a84-3484-47a1-97e1-db3e6d35c399%40apereo.org.
I agree I only increased the st ttl to see if it would fix the problem but that troublesome node is not active in the load balancer, it was disabled for troubleshooting.The reason i'm confused is because the default st ttl is 10 seconds (correct me if i'm wrong) but my ticket is immediately invalidated, so less then 10 seconds and I can't find anything relevant in the logs as to why.As for couchbase it seems to be working well outside of the issue you help me solve with the connection to the buckets timing out, since I increased the timeout to 60 seconds I haven't had any other problems.Any suggestions would be great and as always your help is appreciated.
On Wednesday, August 3, 2016 at 1:22:30 AM UTC-4, Misagh Moayyed wrote:
1. That is a bad idea. Your nodes need to share the same configuration. While this may work for now, it will eventually break. It works now because the gods are favoring node1 to issue tickets and node2 to validate them. Whoever issues the ticket gets to decide how long it should last.
2. As the doc says, look into your app and figure out why it’s taking 20+ seconds to submit a validation event. 30-second timeouts are not unheard of though.
How’s couchbase working out for you?
On Tuesday, August 2, 2016 at 1:50:59 PM UTC-7, John Stevens II wrote:
Misagh,I've looked at the docs and increased the the service ticket timeout to 30 seconds:st.timeToKillInSeconds=30
Now I am no longer receiving the too many redirect errors and am able to login to my service and management web application but I am confused about something.1. I was able to confirm that node1 is the only one having the problem (I have all my logs set to debug) and the nodes should be the same and I can't figure out why I need to increase the st ttl on node1 but not node2.2. Node1 and node2 share ticket registries so I don't believe it is a problem with that.
Any insight would be helpful, Thanks for your help.
On Tuesday, August 2, 2016 at 4:18:58 PM UTC-4, Misagh Moayyed wrote:
See https://apereo.github.io/cas/4.2.x/installation/Troubleshooting-Guide.html
On Tuesday, August 2, 2016 at 11:49:49 AM UTC-7, John Stevens II wrote:
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/0cbc4ad7-4c7e-4f57-9fc5-e825072931e0%40apereo.org.