org.apache.shiro.session.ExpiredSessionException: Session with id [69898794-efbb-45d3-b277-06ece980c84c] has expired. Last access time: 6/16/11 2:33 AM. Current time: 6/16/11 3:22 AM. Session timeout is set to 1800 seconds (30 minutes)

Sonatype JIRA | Tamás Cservenák | 5 years ago
  1. 0

    Looking at RSO logs, it contains lot of these: {noformat} 2011-06-16 03:22:53 ERROR [-726841077-3095] - org.mortbay.log - /content/groups/public/.index/nexus-maven-repository-index.gz org.apache.shiro.session.ExpiredSessionException: Session with id [69898794-efbb-45d3-b277-06ece980c84c] has expired. Last access time: 6/16/11 2:33 AM. Current time: 6/16/11 3:22 AM. Session timeout is set to 1800 seconds (30 minutes) at org.apache.shiro.session.mgt.SimpleSession.validate(SimpleSession.java:276) at org.apache.shiro.session.mgt.AbstractValidatingSessionManager.doValidate(AbstractValidatingSessionManager.java:180) at org.apache.shiro.session.mgt.AbstractValidatingSessionManager.validate(AbstractValidatingSessionManager.java:143) at org.apache.shiro.session.mgt.AbstractValidatingSessionManager.doGetSession(AbstractValidatingSessionManager.java:120) at org.apache.shiro.session.mgt.AbstractNativeSessionManager.lookupSession(AbstractNativeSessionManager.java:105) at org.apache.shiro.session.mgt.AbstractNativeSessionManager.lookupRequiredSession(AbstractNativeSessionManager.java:109) at org.apache.shiro.session.mgt.AbstractNativeSessionManager.removeAttribute(AbstractNativeSessionManager.java:220) at org.apache.shiro.session.mgt.DelegatingSession.removeAttribute(DelegatingSession.java:159) at org.apache.shiro.session.ProxiedSession.removeAttribute(ProxiedSession.java:135) at org.apache.shiro.session.ProxiedSession.removeAttribute(ProxiedSession.java:135) at org.apache.shiro.subject.support.DelegatingSubject.clearRunAsIdentities(DelegatingSubject.java:424) at org.apache.shiro.subject.support.DelegatingSubject.logout(DelegatingSubject.java:322) at org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.postHandle(NexusHttpAuthenticationFilter.java:308) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:140) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:359) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:275) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:344) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:272) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) {noformat}

    Sonatype JIRA | 5 years ago | Tamás Cservenák
    org.apache.shiro.session.ExpiredSessionException: Session with id [69898794-efbb-45d3-b277-06ece980c84c] has expired. Last access time: 6/16/11 2:33 AM. Current time: 6/16/11 3:22 AM. Session timeout is set to 1800 seconds (30 minutes)
  2. 0

    3.1M08 Shiro authentication timeout after 30 minutes for long-running queries

    GitHub | 3 months ago | qosmy-michael
    org.apache.shiro.session.ExpiredSessionException: Session with id [34be60ab-47cf-48e6-9e0e-37bd445e57a0] has expired. Last access time: 9/8/16 4:34 AM. Current time: 9/8/16 5:04 AM. Session timeout is set to 1800 seconds (30 minutes)
  3. 0

    Shiro throws an exception when session expires / invalidates

    Stack Overflow | 2 years ago | fedor.belov
    org.apache.shiro.session.ExpiredSessionException: Session with id [3c3ffbef-ee93-4f6e-a599-1f1f4c03d037] has expired. Last access time: 29.10.14 12:18. Current time: 29.10.14 12:18. Session timeout is set to 1 seconds (0 minutes)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.shiro.session.ExpiredSessionException

      Session with id [69898794-efbb-45d3-b277-06ece980c84c] has expired. Last access time: 6/16/11 2:33 AM. Current time: 6/16/11 3:22 AM. Session timeout is set to 1800 seconds (30 minutes)

      at org.apache.shiro.session.mgt.SimpleSession.validate()
    2. Shiro
      DelegatingSubject.logout
      1. org.apache.shiro.session.mgt.SimpleSession.validate(SimpleSession.java:276)
      2. org.apache.shiro.session.mgt.AbstractValidatingSessionManager.doValidate(AbstractValidatingSessionManager.java:180)
      3. org.apache.shiro.session.mgt.AbstractValidatingSessionManager.validate(AbstractValidatingSessionManager.java:143)
      4. org.apache.shiro.session.mgt.AbstractValidatingSessionManager.doGetSession(AbstractValidatingSessionManager.java:120)
      5. org.apache.shiro.session.mgt.AbstractNativeSessionManager.lookupSession(AbstractNativeSessionManager.java:105)
      6. org.apache.shiro.session.mgt.AbstractNativeSessionManager.lookupRequiredSession(AbstractNativeSessionManager.java:109)
      7. org.apache.shiro.session.mgt.AbstractNativeSessionManager.removeAttribute(AbstractNativeSessionManager.java:220)
      8. org.apache.shiro.session.mgt.DelegatingSession.removeAttribute(DelegatingSession.java:159)
      9. org.apache.shiro.session.ProxiedSession.removeAttribute(ProxiedSession.java:135)
      10. org.apache.shiro.session.ProxiedSession.removeAttribute(ProxiedSession.java:135)
      11. org.apache.shiro.subject.support.DelegatingSubject.clearRunAsIdentities(DelegatingSubject.java:424)
      12. org.apache.shiro.subject.support.DelegatingSubject.logout(DelegatingSubject.java:322)
      12 frames
    3. Nexus Core
      NexusHttpAuthenticationFilter.postHandle
      1. org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.postHandle(NexusHttpAuthenticationFilter.java:308)
      1 frame
    4. Shiro
      OncePerRequestFilter.doFilter
      1. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:140)
      2. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81)
      3. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
      4. org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:359)
      5. org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:275)
      6. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
      7. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
      8. org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:344)
      9. org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:272)
      10. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81)
      10 frames
    5. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      8. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      9. org.mortbay.jetty.Server.handle(Server.java:326)
      10. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
      11. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
      12. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
      13. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      14. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      15. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      15 frames
    6. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
      1 frame