com.google.gwt.user.client.rpc.RpcTokenException: Invalid RPC token (Invalid XSRF token)

redhat.com | 5 months ago
  1. 0

    Exceptions in UI

    https://bugzilla.redhat.com/bugzilla/ | 1 year ago | Sagi Shnaidman
    com.google.gwt.user.client.rpc.RpcTokenException: Invalid RPC token (Invalid XSRF token)
  2. 0

    Exception while dispatching incoming RPC call: com.google.gwt.user.client.rpc.RpcTokenException: Invalid RPC token (XSRF token missing)

    https://bugzilla.redhat.com/bugzilla/ | 2 years ago | Jiri Belka
    com.google.gwt.user.client.rpc.RpcTokenException: Invalid RPC token (XSRF token missing)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GWT 2.3 XSRF Invalid RPC token (Session cookie is not set or empty! Unable to generate XSRF cookie)

    Google Groups | 5 years ago | Алексей Заряев
    com.google.gwt.user.client.rpc.RpcTokenException: Invalid RPC token (XSRF token missing)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.google.gwt.user.client.rpc.RpcTokenException

      Invalid RPC token (Invalid XSRF token)

      at org.ovirt.engine.ui.frontend.server.gwt.XsrfProtectedRpcServlet.validateXsrfToken()
    2. org.ovirt.engine
      AbstractXsrfProtectedRpcServlet.onAfterRequestDeserialized
      1. org.ovirt.engine.ui.frontend.server.gwt.XsrfProtectedRpcServlet.validateXsrfToken(XsrfProtectedRpcServlet.java:31)[frontend.jar:]
      2. org.ovirt.engine.ui.frontend.server.gwt.AbstractXsrfProtectedRpcServlet.onAfterRequestDeserialized(AbstractXsrfProtectedRpcServlet.java:57)[frontend.jar:]
      2 frames
    3. com.google.gwt
      RpcServlet.processPost
      1. com.google.gwt.rpc.server.RpcServlet.processCall(RpcServlet.java:171)[gwt-servlet.jar:]
      2. com.google.gwt.rpc.server.RpcServlet.processPost(RpcServlet.java:233)[gwt-servlet.jar:]
      2 frames
    4. Jetty Contrib :: jetty-gwt RemoteServiceServlet
      AbstractRemoteServiceServlet.doPost
      1. com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)[gwt-servlet.jar:]
      1 frame
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
      2 frames
    6. Undertow Servlet
      FilterHandler$FilterChainImpl.doFilter
      1. io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)[undertow-servlet.jar:1.1.5.Final]
      2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)[undertow-servlet.jar:1.1.5.Final]
      2 frames
    7. org.ovirt.engine
      HeaderFilter.doFilter
      1. org.ovirt.engine.core.utils.servlet.HeaderFilter.doFilter(HeaderFilter.java:94)[utils.jar:]
      1 frame
    8. Undertow Servlet
      FilterHandler$FilterChainImpl.doFilter
      1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)[undertow-servlet.jar:1.1.5.Final]
      2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)[undertow-servlet.jar:1.1.5.Final]
      2 frames
    9. org.ovirt.engine
      GwtCachingFilter.doFilter
      1. org.ovirt.engine.ui.frontend.server.gwt.GwtCachingFilter.doFilter(GwtCachingFilter.java:132)[frontend.jar:]
      1 frame
    10. Undertow Servlet
      FilterHandler$FilterChainImpl.doFilter
      1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)[undertow-servlet.jar:1.1.5.Final]
      2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)[undertow-servlet.jar:1.1.5.Final]
      2 frames
    11. org.ovirt.engine
      BrandingFilter.doFilter
      1. org.ovirt.engine.core.branding.BrandingFilter.doFilter(BrandingFilter.java:73)[branding.jar:]
      1 frame
    12. Undertow Servlet
      FilterHandler$FilterChainImpl.doFilter
      1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)[undertow-servlet.jar:1.1.5.Final]
      2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)[undertow-servlet.jar:1.1.5.Final]
      2 frames
    13. org.ovirt.engine
      LocaleFilter.doFilter
      1. org.ovirt.engine.core.utils.servlet.LocaleFilter.doFilter(LocaleFilter.java:65)[utils.jar:]
      1 frame
    14. Undertow Servlet
      FilterHandler$FilterChainImpl.doFilter
      1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)[undertow-servlet.jar:1.1.5.Final]
      2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)[undertow-servlet.jar:1.1.5.Final]
      2 frames
    15. org.ovirt.engine
      SessionMgmtFilter.doFilter
      1. org.ovirt.engine.core.aaa.filters.SessionMgmtFilter.doFilter(SessionMgmtFilter.java:31)[aaa.jar:]
      1 frame
    16. Undertow Servlet
      FilterHandler$FilterChainImpl.doFilter
      1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)[undertow-servlet.jar:1.1.5.Final]
      2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)[undertow-servlet.jar:1.1.5.Final]
      2 frames
    17. org.ovirt.engine
      LoginFilter.doFilter
      1. org.ovirt.engine.core.aaa.filters.LoginFilter.doFilter(LoginFilter.java:74)[aaa.jar:]
      1 frame
    18. Undertow Servlet
      FilterHandler$FilterChainImpl.doFilter
      1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)[undertow-servlet.jar:1.1.5.Final]
      2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)[undertow-servlet.jar:1.1.5.Final]
      2 frames
    19. org.ovirt.engine
      NegotiationFilter.doFilter
      1. org.ovirt.engine.core.aaa.filters.NegotiationFilter.doFilter(NegotiationFilter.java:132)[aaa.jar:]
      1 frame
    20. Undertow Servlet
      FilterHandler$FilterChainImpl.doFilter
      1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)[undertow-servlet.jar:1.1.5.Final]
      2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)[undertow-servlet.jar:1.1.5.Final]
      2 frames
    21. org.ovirt.engine
      BasicAuthenticationFilter.doFilter
      1. org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:90)[aaa.jar:]
      1 frame
    22. Undertow Servlet
      FilterHandler$FilterChainImpl.doFilter
      1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)[undertow-servlet.jar:1.1.5.Final]
      2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)[undertow-servlet.jar:1.1.5.Final]
      2 frames
    23. org.ovirt.engine
      SessionValidationFilter.doFilter
      1. org.ovirt.engine.core.aaa.filters.SessionValidationFilter.doFilter(SessionValidationFilter.java:73)[aaa.jar:]
      1 frame
    24. Undertow Servlet
      ServletDispatchingHandler.handleRequest
      1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)[undertow-servlet.jar:1.1.5.Final]
      2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)[undertow-servlet.jar:1.1.5.Final]
      3. io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)[undertow-servlet.jar:1.1.5.Final]
      4. io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)[undertow-servlet.jar:1.1.5.Final]
      5. io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)[undertow-servlet.jar:1.1.5.Final]
      5 frames
    25. WildFly: Undertow
      SecurityContextAssociationHandler.handleRequest
      1. org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
      1 frame
    26. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)[undertow-core.jar:1.1.5.Final]
      1 frame
    27. Undertow Servlet
      ServletAuthenticationCallHandler.handleRequest
      1. io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)[undertow-servlet.jar:1.1.5.Final]
      2. io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)[undertow-servlet.jar:1.1.5.Final]
      2 frames
    28. Undertow Core
      AbstractConfidentialityHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)[undertow-core.jar:1.1.5.Final]
      2. io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)[undertow-core.jar:1.1.5.Final]
      3. io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)[undertow-core.jar:1.1.5.Final]
      3 frames
    29. Undertow Servlet
      ServletSecurityConstraintHandler.handleRequest
      1. io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)[undertow-servlet.jar:1.1.5.Final]
      2. io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)[undertow-servlet.jar:1.1.5.Final]
      2 frames
    30. Undertow Core
      AuthenticationMechanismsHandler.handleRequest
      1. io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)[undertow-core.jar:1.1.5.Final]
      1 frame
    31. Undertow Servlet
      CachedAuthenticatedSessionHandler.handleRequest
      1. io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)[undertow-servlet.jar:1.1.5.Final]
      1 frame
    32. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)[undertow-core.jar:1.1.5.Final]
      2. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)[undertow-core.jar:1.1.5.Final]
      2 frames
    33. WildFly: Undertow
      JACCContextIdHandler.handleRequest
      1. org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
      1 frame
    34. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)[undertow-core.jar:1.1.5.Final]
      2. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)[undertow-core.jar:1.1.5.Final]
      2 frames
    35. Undertow Servlet
      ServletInitialHandler$1.handleRequest
      1. io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)[undertow-servlet.jar:1.1.5.Final]
      2. io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:248)[undertow-servlet.jar:1.1.5.Final]
      3. io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:77)[undertow-servlet.jar:1.1.5.Final]
      4. io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:167)[undertow-servlet.jar:1.1.5.Final]
      4 frames
    36. Undertow Core
      HttpServerExchange$1.run
      1. io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)[undertow-core.jar:1.1.5.Final]
      2. io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:766)[undertow-core.jar:1.1.5.Final]
      2 frames
    37. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_79]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_79]
      3. java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_79]
      3 frames