Ask Your Question
1

"Input error: k: Format of site key was invalid" when reCAPTCHA is turned on

asked 2012-03-24 10:28:46 -0500

todofixthis gravatar image todofixthis flag of Chile
1082 15 17 36
http://www.fiveyearsabroa...

updated 2012-04-14 15:39:50 -0500

I had reCAPTCHA turned on in /settings/EXTERNAL_KEYS/ on my hosted site, but when people went to create new accounts, they saw the following instead of the reCAPTCHA interface:

Please read and type in the two words below to help us prevent automated account creation.
Input error: k: Format of site key was invalid

I double-checked, and I did input my reCAPTCHA exactly as it appears on my account info on http://google.com/recaptcha.

For reference, here are the keys I was using (they have since been deleted, so they won't work anymore):

  • Public Key: 6Ld7UM8SAAAAAGrn74ADTPQLi8DfYikQH3_WmkgA
  • Private Key: 6Ld7UM8SAAAAAB-pIUr_5ki8PTuWWMLDf0eYo3DX
delete close flag offensive retag edit

Comments

1

Got the same error. Be sure to restart your server after saving the new settings for reCaptcha.

nr ( 2012-09-12 05:58:35 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-04-15 16:53:39 -0500

Evgeny gravatar image Evgeny flag of Chile
11059 50 84 182
http://askbot.org/

updated 2012-04-15 16:53:54 -0500

I don't know exactly why, but adding to settings.py RECAPTCHA_USE_SSL = True solves this problem for me.

Possibly Google (current owner of the service) now requires encryption... We'll add this setting to the future release and the hosted sites.

link publish delete flag offensive edit

Comments

Applied to the hosted sites.

Fitoria ( 2012-04-16 14:27:32 -0500 )edit

@todofixthis - does ReCaptcha work for you now?

Evgeny ( 2012-04-17 15:50:39 -0500 )edit

Generated new public/private keys and turned recaptcha on, but getting the same error as before when I go to create an account.

todofixthis ( 2012-04-17 16:19:42 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-03-24 10:28:46 -0500

Seen: 1,543 times

Last updated: Apr 15 '12