tags:

views:

54

answers:

2

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

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.

Any clue what's happening here?

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.

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

EDIT 2: I've now submitted a bug report to Gerrit.

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.

A: 

Is this related to Gerrit issue 459?

All providers are always accepted.
But an administrator can configure auth.trustedOpenId to prevent users coming from an unknown OpenID provider from using permissions granted to groups other than "Registered Users".

The problem with docwhat.org is the XRDS document isn't a valid XML file according to our relying party library.


As the OP Josh Smith mentions, a new bug has been submitted for that particular instance: Issue 728.

VonC
I'm not sure these are related issues. I actually caved and submitted the issue to Gerrit here: http://code.google.com/p/gerrit/issues/detail?id=728
Josh Smith
@Josh: ok. I have updated my answer to include a reference to your bug report.
VonC
+1  A: 

This proved to be a duplicate of another issue.

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.

Josh Smith
Excellent. You can actually choose your own answer as the official one for this question.
VonC
@VonC Thanks. I have to wait a day, sadly.
Josh Smith