Closed Bug 1008282 Opened 7 years ago Closed 7 years ago

MozillaWiki on staging environment does not display Recaptcha

Categories

(Websites :: wiki.mozilla.org, defect)

Beta
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2014-Q2

People

(Reporter: lizardwalk5, Assigned: nmaul)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36

Steps to reproduce:

Tested on Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0. Firefox Nightly 32.0a1

1 Open MozillaWiki on staging
https://wiki.allizom.org/Main_Page
2 From Personal Tools menu, click Log in / create account.
3 From the Log In page, click Create an account.
4 From the resulting page, there is an error:
Input error: Invalid referer
(missing recaptcha box)
(About 3 lines down from Create account heading)
5 If you try to create an account (enter username, password, retype password, email; click Create account)
error results:
Login error
Incorrect or missing confirmation code

Result: Unable to run automated tests on staging environment.

(For reference) On dev and production, the recaptcha box appears as expected and so I'm able to create an account manually.


Actual results:

Got an error in the place where missing Recaptcha box should be.
Was unable to register a new account manually.


Expected results:

Should have seen the Recaptcha box and been able to register account.
Verified stating does not display captcha as expected
Status: UNCONFIRMED → NEW
Ever confirmed: true
Is this your domain :jd?
Flags: needinfo?(jcrowe)
It might have something to do with how our reCaptcha API keys were generated. 

SO mentions the invalid referrer error being related to api keys:
http://stackoverflow.com/questions/11999231/recaptcha-show-input-error-invalid-referer

I couldn't find the exact documentation that post references, but did find this:

"Unless you select the "global key" option, the keys are unique to your domain and sub-domains. (By default, all keys work on "localhost" (or "127.0.0.1"), so you can always develop and test on your local machine.)" https://developers.google.com/recaptcha/intro

Could someone in WebOps verify which key we're using on allizom.org and if we have a recaptcha api key for that domain already, or if we need to get one?
Good catch! Fixed. :)
Assignee: nobody → nmaul
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Flags: needinfo?(jcrowe)
Hi, thanks for the fix. I would just like to log in to check that I can run the tests I need. I made a special request for the account but am waiting for the password (email lizardwalk5@gmail.com). Thanks again.
Thanks. This was verified. Sorry for the delay.

Able to run automated tests on environ:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Firefox/29.0
For allizom.wiki.com
Saw expected results.
Status: RESOLVED → VERIFIED
Target Milestone: --- → 2014-Q2
You need to log in before you can comment on or make changes to this bug.