Closed Bug 1008282 Opened 10 years ago Closed 10 years ago

MozillaWiki on staging environment does not display Recaptcha


(Websites ::, defect)

Not set


(Not tracked)



(Reporter: lizardwalk5, Assigned: nmaul)



(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
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
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:

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 ""), so you can always develop and test on your local machine.)"

Could someone in WebOps verify which key we're using on 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
Closed: 10 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 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
Saw expected results.
Target Milestone: --- → 2014-Q2
You need to log in before you can comment on or make changes to this bug.