Closed Bug 1008282 Opened 10 years ago Closed 10 years ago
Wiki on staging environment does not display Recaptcha
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?
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: 10 years ago
Resolution: --- → FIXED
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 email@example.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
You need to log in before you can comment on or make changes to this bug.