question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Server Error with 2.13.1 (dirty .war, 2.13.1 plugin)

See original GitHub issue

Whenever trying to connect from a new GitHub account, I happen to get this error while trying to log in. Unfortunately I was not able to find a fix in the other open issues/closed issues.

[2016-10-08 16:00:29,890] [HTTP-64] ERROR com.google.gerrit.pgm.http.jetty.HiddenErrorHandler : Error in GET /oauth?code=9de63243bfe864d7490c&state=h08cQlFkv6uufZ0hY7Zx6-RsSmd6nTHf__JJSJIfKQI org.scribe.exceptions.OAuthException: Response body is incorrect. Can't extract a token from this: 'error=bad_verification_code&error_description=The+code+passed+is+incorrect+or+expired.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fv3%2Foauth%2F%23bad-verification-code' at org.scribe.extractors.TokenExtractor20Impl.extract(TokenExtractor20Impl.java:32) at org.scribe.oauth.OAuth20ServiceImpl.getAccessToken(OAuth20ServiceImpl.java:37) at com.googlesource.gerrit.plugins.oauth.GitHubOAuthService.getAccessToken(GitHubOAuthService.java:116) at com.google.gerrit.httpd.auth.oauth.OAuthSession.login(OAuthSession.java:98) at com.google.gerrit.httpd.auth.oauth.OAuthWebFilter.doFilter(OAuthWebFilter.java:109) at com.google.gwtexpui.server.CacheControlFilter.doFilter(CacheControlFilter.java:73) at com.google.gerrit.httpd.RunAsFilter.doFilter(RunAsFilter.java:122) at com.google.gerrit.httpd.RequestMetricsFilter.doFilter(RequestMetricsFilter.java:60) at com.google.gerrit.httpd.AllRequestFilter$FilterProxy$1.doFilter(AllRequestFilter.java:136) at com.google.gerrit.httpd.AllRequestFilter$FilterProxy.doFilter(AllRequestFilter.java:138) at com.google.gerrit.httpd.RequestContextFilter.doFilter(RequestContextFilter.java:75) at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:135) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:499) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
davidocommented, Oct 21, 2016
0reactions
davidocommented, Oct 21, 2016

So, the 2.13.2 was released today morning: [1] and should include all fixes for regressions in the OAuth extension point. I’m going to remove emergency fix from the plugin 2.13.1 release, but will add a warning that 2.13.2 must be used.

Read more comments on GitHub >

github_iconTop Results From Across the Web

com.google.gerrit.server.account.AccountException: Cannot ...
Hello, I am trying to use github identities but unable to make this work if I set the [auth] type to oauth. (Exception...
Read more >
Error Could not pass event AsyncPlayerChat to ... - SpigotMC
I'm has created a server and everything worked properly and I got ... Error Could not pass event AsyncPlayerChat to EssentialsChat v.2.13.1.
Read more >
gerrit - Git at Google
-1,3 +1,8 @@ +[submodule "plugins/codemirror-editor"] + path = plugins/codemirror-editor + url = ... ++ +Defaults to the full hostname of the Gerrit server....
Read more >
CVE - Search Results - MITRE
The mission of the CVE® Program is to identify, define, and catalog publicly disclosed cybersecurity vulnerabilities.
Read more >
D64 Servers Administration Operations Changelog ...
#2913 Occasional 502 Proxy Error while communicating with Oozie server deployed on IIS cluster; #3646 Lost ssh access to openaire-beta vm; #3657 Let...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found