带有Gerrit的OpenID无法正常工作 [英] OpenID with Gerrit not working

查看:689
本文介绍了带有Gerrit的OpenID无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我单击以使用Gerrit Code Review注册或登录时,出现以下错误:Provider is not supported, or was incorrectly entered.

When I click to Register or Sign In using Gerrit Code Review, I get this error: Provider is not supported, or was incorrectly entered.

当我手动在OpenID字段中输入URL时,它将带我到Google页面,说明:The page you requested is invalid.

And when I enter the URL into the OpenID field manually, it takes me to a Google page stating: The page you requested is invalid.

有什么线索吗?

编辑:经过进一步调查,我意识到,如果将OpenID字段中提供的URL更改为http而不是https,它将正确地将我重定向到Google并要求我执行以下操作:批准.但是,在重定向回Gerrit时,似乎什么都没有发生.我尝试多次注册/登录,但没有任何效果.

EDIT: Upon further investigation, I realized that if I change the provided URL in the OpenID field to http rather than https, it will redirect me to Google properly and ask me to approve. However, on the redirect back to Gerrit, nothing seems to have happened. I tried registering/signing in multiple times and to no effect.

我还查看了MySQL数据库,以查看是否存储了任何数据,而且似乎没有.

I've also looked in the MySQL database to see if any data was being stored, and there doesn't appear to be.

编辑2 :我现在提交了 编辑3 :已回答.我会做得更好,以便更仔细地阅读以前的错误报告.我的系统管理员fu也严重缺乏.尽管如此,此问题作为另一个错误的副本得以解决,并且是Debian的问题. 请参见下文.

EDIT 3: Answered. I'd have done well to read the previous bug reports a bit more closely. My sysadmin fu is also severely lacking. Nonetheless, this is solved as a duplicate of another bug and is a Debian issue; see below.

推荐答案

这被证明与错误与Debian的OpenJDK Java安全证书有关.通过符号链接固定:ln -sf /etc/java-6-sun/security/cacerts /usr/lib/jvm/java-6-openjdk/jre/lib/security/cacerts

The error was with Debian's OpenJDK Java security cacerts. Fixed by symlinking: ln -sf /etc/java-6-sun/security/cacerts /usr/lib/jvm/java-6-openjdk/jre/lib/security/cacerts

我已经更新了错误报告,以指示错误日志仍未生成可确定错误真正原因的响应.

I've updated my bug report to indicate that the error logs are still not generating a response that pinpoints the true cause of the error.

这篇关于带有Gerrit的OpenID无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆