Register with gerrit with OpenID error

I'm currently trying to configure gerrit, but when it comes to Register with OpenID, the problem always arises: "The provider is not supported or was entered incorrectly." I saw the same question on OpenID with idle Gerrit . I did not find the answer. If this is a bug in the previous version, then my version of gerrit is gerrit-1.2.1.6 and it should not have an error. I noticed that in my corporation my IP address is private 10.238.151.109, and I set the canonical URL as follows http://10.238.151.109:8080,then I can access the gerrit server on the local network. If this is due to the fact that I am using this canonical URL and people cannot access OpenID? I am waiting for help, any help is grateful, thank you.

+3
source share
1 answer

I noticed that in my corporation my IP address is private

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

I recently 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 just doesn't work, it still got the same error as you.
 Later, at home, on the WPA2 core network, I tried OpenID login again and it worked fine.

In addition, you need port forwarding to make sure that the corresponding requests are redirected to the Gerrit server.

Remember that Gerrit and Google OpenId no longer work *. However, you can use Yahoo OpenID.

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

0

Source: https://habr.com/ru/post/1784973/


All Articles