Input Error: Invalid Referer

18,674 views
Skip to first unread message

ewal...@allen-kopet.com

unread,
Jul 20, 2010, 3:42:28 PM7/20/10
to reCAPTCHA
I've had reCAPTCHA working on my site for about two months. I noticed
today that I was receiving an error message where the reCAPTCHA should
appear and that error message is "Input Error: Invalid Referrer". Can
someone help me resolve this issue, I have looked the internet over
and still haven't found a solution. I have re-downloaded reCAPTCHA
from their website and it still doesn't work. I'm using PHP for my
website.

P JH

unread,
Jul 20, 2010, 3:49:46 PM7/20/10
to reca...@googlegroups.com

ewal...@allen-kopet.com

unread,
Jul 20, 2010, 4:05:28 PM7/20/10
to reCAPTCHA
I have double checked my key and it is correct. What doesn't make
sense is that it was working up until a couple days ago.

On Jul 20, 3:49 pm, P JH <pauljherr...@gmail.com> wrote:
> <http://groups.google.com/group/recaptcha/browse_thread/thread/87e7523...>
> would indicate that you need to make sure you're using the correct key
> for your site.
>
> On Tue, Jul 20, 2010 at 8:42 PM, ewall...@allen-kopet.com

craiggers

unread,
Jul 20, 2010, 6:04:01 PM7/20/10
to reCAPTCHA
This is the first time I've used this forum, so please forgive me if
this is somehow getting posted twice. I thought I posted this message,
but don't see it anywhere.

We are also getting this problem. It started happening today. We need
to get this fixed. If it makes any difference, the page this is
happening in is in an iframe. Both the page, and the iframe page, are
under the same domain.

Thanks,

Craig



On Jul 20, 3:05 pm, "ewall...@allen-kopet.com" <ewall...@allen-

craiggers

unread,
Jul 20, 2010, 6:23:23 PM7/20/10
to reCAPTCHA
When I view the html source code for the page, I found the following
code:

<script type="text/javascript" src="http://api.recaptcha.net/challenge?
k=6LcB47oSAAAAACB4ldZjQraw1-OYI2tDbfF-bEoQ">

Clicking on the serc, I get the following output:

document.write('Input error: Invalid referer');


If I then refresh the page (http://api.recaptcha.net/challenge?
k=6LcB47oSAAAAACB4ldZjQraw1-OYI2tDbfF-bEoQ), I get:

var RecaptchaState = {
site : '6LcB47oSAAAAACB4ldZjQraw1-OYI2tDbfF-bEoQ',
challenge : '03AHJ_VuukH8jD9IiSfYmutlzCcR0UK632BGW7LLykU5KIx9-
ik7gKtHNkz_WxM6Rsx9692wwL6_1IePGtZy1VUIQ4rkR_mXbZLEGhkmG_jUj_-
KVf6mUZd0E9Y0tIegTR9kPAwjNX3LeE8YEuUyjAbou_XoJqFPhIoQ',
is_incorrect : false,
programming_error : '',
error_message : '',
server : 'http://www.google.com/recaptcha/api/',
timeout : 18000
};

document.write('<scr'+'ipt type="text/javascript" s'+'rc="' +
RecaptchaState.server + 'js/recaptcha.js"></scr'+'ipt>');


It's very odd though. This is happening on a production server
(outside of our control unfortunately), however on our staging server
(a server in our building), it's not happening. I'm emailing our
client to make sure the keys are correct now.

Craig

reCAPTCHA Support

unread,
Jul 20, 2010, 9:35:13 PM7/20/10
to reca...@googlegroups.com
Hi,

We are taking a look at this and believe we should have a fix for this
issue by tomorrow, or Thursday at the latest. I'll post again when
the fix is deployed.

Best,
Colin

> --
> You received this message because you are subscribed to the Google Groups "reCAPTCHA" group.
> To post to this group, send email to reca...@googlegroups.com.
> To unsubscribe from this group, send email to recaptcha+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/recaptcha?hl=en.
>
>

--
reCAPTCHA: stop spam, read books
http://recaptcha.net

jes5e

unread,
Jul 26, 2010, 12:01:32 PM7/26/10
to reCAPTCHA
Hi,

We are having the same problem. Recaptcha has stopped working in one
subdomain but not others, using the same keys as before it stopped
working. Is there any solution for this?

On Jul 20, 9:35 pm, reCAPTCHA Support <supp...@recaptcha.net> wrote:
> Hi,
>
> We are taking a look at this and believe we should have a fix for this
> issue by tomorrow, or Thursday at the latest.  I'll post again when
> the fix is deployed.
>
> Best,
> Colin
>
>
>
>
>
> On Tue, Jul 20, 2010 at 6:23 PM, craiggers <cko...@gmail.com> wrote:
> > When I view the html source code for the page, I found the following
> > code:
>
> > <script type="text/javascript" src="http://api.recaptcha.net/challenge?
> > k=6LcB47oSAAAAACB4ldZjQraw1-OYI2tDbfF-bEoQ">
>
> > Clicking on the serc, I get the following output:
>
> > document.write('Inputerror:Invalidreferer');
> >> > > > today that I was receiving anerrormessage where the reCAPTCHA should
> >> > > > appear and thaterrormessage is "InputError:InvalidReferrer".  Can
> >> > > > someone help me resolve this issue, I have looked the internet over
> >> > > > and still haven't found a solution.  I have re-downloaded reCAPTCHA
> >> > > > from their website and it still doesn't work.  I'm using PHP for my
> >> > > > website.
>
> >> > > --
> >> > > PJH
>
> >> > >http://www.ipetitions.com/petition/makeitthemaximum
>
> > --
> > You received this message because you are subscribed to the Google Groups "reCAPTCHA" group.
> > To post to this group, send email to reca...@googlegroups.com.
> > To unsubscribe from this group, send email to recaptcha+...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/recaptcha?hl=en.

aspineux

unread,
Jul 26, 2010, 8:54:06 PM7/26/10
to reCAPTCHA
Hi

I'm having the same problem from at least the 21.

Any news ?

John Swaringen

unread,
Jul 27, 2010, 12:37:26 AM7/27/10
to reCAPTCHA
I'm having the same issue and if it helps here's some information:

This is on a WordPress 3.0 blog, using the reCAPTCHA plugin. It is
also on a sub-directory off the top-level domain. For example:

http://www.mydomain.com - where the key is registered

http://www.mydomain.com/blog/ - where the actual plugin/script is
running.

Hope that helps.

aspineux

unread,
Jul 28, 2010, 11:33:08 AM7/28/10
to reCAPTCHA
Fixed.

It looks like my public en private keys have changed !
I have put the new ones I have found in my account and now it works.

Nobody told me my keys have changed !

Regards

innov...@web.de

unread,
Jul 29, 2010, 4:39:08 AM7/29/10
to reCAPTCHA
It's fixed here, too, since this morning. Most of our client's sites
captcha validation had stopped working a few days ago...

I haven't changed my keys though, it just worked, the Input Error
"Invalid Referer" disappeared completely.

I noticed in another forum that Google took over the Recaptcha
service, so I guess this issue was related.
I'd rather someone on the blog inform users next time they're working
on something this important...it took me a lot of time and effort to
figure out that the problem wasn't related to our servers...

TheTub

unread,
Mar 5, 2011, 6:28:36 AM3/5/11
to reca...@googlegroups.com
Hi,
 
A couple of people trying to join my forum have reported the same thing within the past week. Instead of the image there is the text 'invalid referrer'
 
The strange thing is when I look at it from any of my 3 machine it seems fine. I even accessed from my remote VPS and it looked fine. I double checked and even re-entered the keys. But as I can see the image fine then there is obviusly no problem with the keys.
 
I've asked users to clear cookies and so on but to no avail.
 
I would be grateful for a solution.
 
Many thanks
 
TT

Wapples

unread,
Apr 4, 2011, 1:07:37 PM4/4/11
to reCAPTCHA
I have also started to experience this issue. The captcha was working
for a number of months and only today have I noticed this error. If
keys have not changed what is the suggested fix? Wait for goggle to
fix something on their end?

Wapples

unread,
Apr 4, 2011, 1:14:10 PM4/4/11
to reCAPTCHA
Actually the fix was in the url, an nginx rewrite was sending
recaptcha a different url then the one it was looking for. After I
went to the correct url the captcha worked right away.

John Kor

unread,
Apr 15, 2011, 4:11:17 AM4/15/11
to reCAPTCHA
I'm having the same problem. Captcha works fine on localhost but
doesn't work on demo server... I have the demo url password protected
with htpasswd... does that matter? I tried using the url
http://<username>:<password>@<url> and it didnt accept it

Michael Ha

unread,
May 24, 2011, 6:18:48 PM5/24/11
to reCAPTCHA
Following aspineux instruction I have fixed the recaptcha of my
website by updating the public & private key. But I don't understand
why my recaptcha keys for my domain got changed in the first place...

nuryanto doang

unread,
Oct 22, 2012, 10:25:24 PM10/22/12
to reca...@googlegroups.com
you can get the private and public code again.

thanks.

nuryanto

linda

unread,
Oct 30, 2012, 7:01:39 AM10/30/12
to reca...@googlegroups.com
i have too the same problem when i want to access my website from another computer, i received the error at the place of recaptcha i don't know what i have to do i have verified my keys no problem
Reply all
Reply to author
Forward
0 new messages