在gerrit中注册OpenID失败 [英] Register in gerrit with OpenID failed

查看:165
本文介绍了在gerrit中注册OpenID失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我试图设置gerrit,但是在使用OpenID注册时,总会出现一个问题:提供商不支持,或者输入错误。
我在 OpenID with Gerrit not working 上看到了同样的问题我没有找到答案。如果这是以前版本中的错误,我的gerrit版本是gerrit-1.2.1.6,它不应该有错误。
我注意到,在我的公司我的IP地址是私人的10.238.151.109,我设置规范的URL像这样 http://10.238.151.109:8080,然后我可以访问本地网络中的gerrit服务器。如果这是因为我使用了这个规范URL并且人们无法从中访问OpenID?
我在等待帮助,感谢任何帮助。谢谢。

解决方案

我的公司我的IP地址是私人的



如果您使用OpenID登录Gerrit,您需要确保OpenID提供商可以访问您的Gerrit服务器。

不久前,当我在大学时,我尝试设置Gerrit在防火墙后面的WPA企业网络中,并且上帝知道其他安全性,它只是不工作,不断的得到和你一样的错误。

稍后,在家里,在一个基本的WPA2网络上,我再次尝试了OpenID登录,它工作得很好。



另外,您需要一些端口转发来确保相关请求被转发到Gerrit服务器。



请注意,现在Gerrit和Google的OpenId不再工作了*。您可以使用雅虎的OpenID。



*请参阅 https://code.google.com/p/gerrit/issues/detail?id=2677 https://code.google.com/p/gerrit/issues/detail?id=2715


I'm trying to setup the gerrit these days,but when it comes to Register with OpenID,there is always a problem " Provider is not supported, or was incorrectly entered." I have seen the same question on OpenID with Gerrit not working i didn't find the answer.If this is a bug in previous version,My gerrit version is gerrit-1.2.1.6 and it shouldn't have the bug. I noticed that in my corporation my IP address is private 10.238.151.109,and I set the canonical URL like this http://10.238.151.109:8080,then I can access gerrit server in the local network. If it's because I use this canonical URL and people can't access OpenID from it? I'm waiting for help,any help is grateful,thanks.

解决方案

I noticed that in my corporation my IP address is private

If you use OpenID to sign in to Gerrit, you need to make sure that the OpenID provider can reach your Gerrit server.

Not long ago, I tried setting up Gerrit when I was at my university, on a WPA Enterprise network behind a firewall and god knows what other security and it would just not work, kept getting the same error as you.
Later, at home, on a basic WPA2 network, I tried the OpenID sign-in again and it worked just fine.

In addition, you need some port forwarding to make sure the relevant requests are forwarded to the Gerrit server.

Be aware though, as of now Gerrit and Google's OpenId don't work anymore*. You can however use Yahoo's OpenID.

*See https://code.google.com/p/gerrit/issues/detail?id=2677 and https://code.google.com/p/gerrit/issues/detail?id=2715

这篇关于在gerrit中注册OpenID失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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