com.google.gerrit.server.account.AccountException: Cannot authenticate

GitHub | farhan-mosaixsoft | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. com.google.gerrit.server.account.AccountException

    Cannot authenticate

    at com.google.gerrit.server.auth.oauth.OAuthRealm.authenticate()
  2. com.google.gerrit
    OAuthRealm.authenticate
    1. com.google.gerrit.server.auth.oauth.OAuthRealm.authenticate(OAuthRealm.java:89)
    1 frame
  3. mini-git-server - Server
    AccountManager.authenticate
    1. com.google.gerrit.server.account.AccountManager.authenticate(AccountManager.java:124)
    1 frame
  4. com.google.gerrit
    OAuthWebFilter.doFilter
    1. com.google.gerrit.httpd.auth.oauth.OAuthSession.authenticateAndRedirect(OAuthSession.java:143)
    2. com.google.gerrit.httpd.auth.oauth.OAuthSession.login(OAuthSession.java:104)
    3. com.google.gerrit.httpd.auth.oauth.OAuthWebFilter.doFilter(OAuthWebFilter.java:109)
    3 frames
  5. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
    1 frame
  6. com.google.gwtexpui
    CacheControlFilter.doFilter
    1. com.google.gwtexpui.server.CacheControlFilter.doFilter(CacheControlFilter.java:73)
    1 frame
  7. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
    1 frame
  8. com.google.gerrit
    RunAsFilter.doFilter
    1. com.google.gerrit.httpd.RunAsFilter.doFilter(RunAsFilter.java:122)
    1 frame
  9. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
    1 frame
  10. com.google.gerrit
    RequestMetricsFilter.doFilter
    1. com.google.gerrit.httpd.RequestMetricsFilter.doFilter(RequestMetricsFilter.java:60)
    1 frame
  11. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
    1 frame
  12. com.google.gerrit
    AllRequestFilter$FilterProxy.doFilter
    1. com.google.gerrit.httpd.AllRequestFilter$FilterProxy$1.doFilter(AllRequestFilter.java:136)
    2. com.google.gerrit.httpd.AllRequestFilter$FilterProxy.doFilter(AllRequestFilter.java:138)
    2 frames
  13. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
    1 frame
  14. com.google.gerrit
    RequestContextFilter.doFilter
    1. com.google.gerrit.httpd.RequestContextFilter.doFilter(RequestContextFilter.java:75)
    1 frame
  15. Guice - Servlet
    GuiceFilter.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
    2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)
    3. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:135)
    3 frames
  16. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
    3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
    4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    5. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    6. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    7. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    9. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    10. org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95)
    11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    12. org.eclipse.jetty.server.Server.handle(Server.java:499)
    13. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
    14. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    15. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
    16. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    17. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    17 frames
  17. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame