I was trying to post an answer, but then it asked for Captcha to check whether I am human. The Captcha loader is shown, but the Captcha is not loaded and I couldn't post the answer.

When I checked the ajax call using the Developer Toolkit, it showed the request http://api.recaptcha.net/js/recaptcha_ajax.js?_=1383826516487 returned a 404 error.

Please check the recaptcha is working before showing the captcha.

Edit 1 :

When clicking on the submit in the question page a request is given to the url - http://stackoverflow.com/questions/19834440/answer/submit

The response is as follows

    "success": false,
    "captchaHtml": "\r\n\r\n<h1>Human Verification</h1>\r\n\r\n<form>\r\n    \r\n    <div style=\"float:left; width: 460px; margin-right: 10px; min-height: 230px;\">\r\n            <a href=\"http://www.youtube.com/watch?v=mvrva8NoMLM&amp;fmt=18\" target=\"_blank\">\r\n                <img src=\"//cdn.sstatic.net/stackoverflow/img/captcha-conchords-robots.jpg\" alt=\"The Humans Are Dead by the Flight of the Conchords\" style=\"width: 100%; margin-bottom: 10px;\" />\r\n            </a>\r\n\r\n        \r\n        <div id=\"recaptcha\" style=\"min-height: 100px;\">\r\n            <img src=\"/content/img/progress-dots.gif\" title=\"loading...\" alt=\"loading...\" />\r\n        </div>\r\n\r\n        <input type=\"hidden\" name=\"s\" value=\"39cede1a-5a47-46e7-9194-74c65861c615\" />\r\n        <br />\r\n        <input id=\"btn-captcha\" style=\"font-weight: bold;\" type=\"submit\" name=\"post\" value=\"&nbsp;I&#39;m a Human Being&nbsp;\" disabled=\"disabled\" />\r\n        <br />\r\n        <div class=\"form-error\"></div>\r\n    </div>\r\n    <div style=\"float: left; width: 350px;\">\r\n        <div class=\"module\">\r\n    <h4>Are you a human being?</h4>\r\n    <p>We apologize for the confusion, but we can&#39;t <i>quite</i> tell if you&#39;re a person or a script.</p>\r\n    <p>Please don&#39;t take this personally.</p>\r\n    <p>Bots and scripts can be remarkably lifelike these days!</p>\r\n    <p>Enter the <a href='http://en.wikipedia.org/wiki/Captcha' target='_blank'>CAPTCHA</a> displayed below, and we&#39;ll be out of your way.</p>\r\n</div>\r\n    </div>\r\n    <br class=\"cbt\" />\r\n</form>"
share|improve this question
Where did you get that error exactly? Can you post the exact URL? Stack Overflow's Captcha page is fine and is using valid JS file –  Shadow Wizard Nov 7 '13 at 12:24
Trying to answer the question - stackoverflow.com/questions/19834440/… –  Jithin Nov 7 '13 at 12:33
Well, can't reproduce. Hope a dev will have a look soon and solve the mystery. –  Shadow Wizard Nov 7 '13 at 12:37
What browser? What OS? –  Oded Nov 7 '13 at 12:41
The URL: api.recaptcha.net/js/recaptcha_ajax.js is currently returning a 404. Additionally api.recaptcha.net/js/recaptcha_ajax.js has an invalid certificate, which will break lots of sites no doubt. –  cppl Nov 7 '13 at 12:44
Is it not meant to be google.com/recaptcha/api/js/recaptcha_ajax.js? –  Qantas 94 Heavy Nov 7 '13 at 12:45
@Oded I had this kind of issue at MSO about 4 hours ago, with FF 24 / Windows 7 –  gnat Nov 7 '13 at 12:46
@Oded Google Chrome - Version 29.0.1547.65 Ubuntu - Release 12.04 (precise) 64-bit - Kernel Linux 3.2.0-52-generic –  Jithin Nov 7 '13 at 12:53
Very strange - what do you see when visiting stackoverflow.com/captcha ? –  Oded Nov 7 '13 at 12:56
@Oded - I can see the captcha there. –  Jithin Nov 7 '13 at 12:57
Good. Now, what page was it where you were not seeing it? On the question page itself? –  Oded Nov 7 '13 at 12:58
And I can see the request in that page goes to google.com/recaptcha/api/js/… which works fine. –  Jithin Nov 7 '13 at 12:58
@Oded : Yes on the question page. I refreshed the question page and tried to post the answer again and the same error, Captcha is not loading. –  Jithin Nov 7 '13 at 13:00
Can you try emptying your browser cache? I suspect you have a stale copy of recaptcha's resources (we don't specify this url) –  Marc Gravell Nov 7 '13 at 13:01
Alternatively - if you look in the source, you should find a url like http://www.google.com/recaptcha/api/challenge?k={some stuff here}. If you browser to that url, it returns some json that includes the server; for me that is 'http://www.google.com/recaptcha/api/' - what is it for you? –  Marc Gravell Nov 7 '13 at 13:04
show 8 more comments

1 Answer

up vote 5 down vote accepted

Yes, they moved the endpoint. This only affects the popup captcha. Fixing and deploying immediately.

share|improve this answer
Yes, its working now. Thanks :-) –  Jithin Nov 7 '13 at 13:36
"they" meaning Google? –  Shadow Wizard Nov 7 '13 at 13:44
Hi. I had the same problem as OP, but it still keeps happening to me. The ajax call to get the captcha keeps returning 404 to me –  gonzaw Nov 8 '13 at 4:07
@gonzaw I don't suppose you know which url is 404-ing? is it possible you have a block in place by a browser add-in? –  Marc Gravell Nov 8 '13 at 10:11
The old endpoint had been deprecated since 2011. I suppose they finally switched it off. See groups.google.com/forum/#!topic/recaptcha/V7qswqBnA1o . –  TvF Nov 8 '13 at 11:41
Hi. I don't know what happened, but now it didn't ask me for a reCaptcha and allowed me to post the question instantly. –  gonzaw Nov 8 '13 at 17:31
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .