Captcha not working

1,398 views
Skip to first unread message

khus...@gmail.com

unread,
Dec 30, 2011, 2:36:32 PM12/30/11
to reCAPTCHA
Hi all,


When we enter the captcha on our online form , everytime it gives
captcha validation faised error . Please advice. All the google ips
are added in our firewall settings.

We saw in the logs and found below error

SEVERE Dec 21,2011 11:15 com.pwc.us.wcps.servlets.reCaptchaServlet
net.tanesha.recaptcha.ReCaptchaException: Cannot load URL: Connection
refused: connect
at
net.tanesha.recaptcha.http.SimpleHttpLoader.httpPost(SimpleHttpLoader.java:
89)
at net.tanesha.recaptcha.ReCaptchaImpl.checkAnswer(ReCaptchaImpl.java:
61)
at
com.pwc.us.wcps.servlets.reCaptchaServlet.doPost(reCaptchaServlet.java:
62)
at
com.pwc.us.wcps.servlets.reCaptchaServlet.doGet(reCaptchaServlet.java:
31)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:
715)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:
882)
at
net.tanesha.recaptcha.http.SimpleHttpLoader.httpPost(SimpleHttpLoader.java:
66)
... 30 more
net.tanesha.recaptcha.ReCaptchaException: Cannot load URL: Connection
refused: connect

PJH

unread,
Dec 30, 2011, 2:58:03 PM12/30/11
to reca...@googlegroups.com


On Fri, Dec 30, 2011 at 7:36 PM, khus...@gmail.com <khus...@gmail.com> wrote:
All the google ips
are added in our firewall settings.


1) Which firewall? The test machine, or the machine the webserver is on?
2) Presuming the latter, have you tried temporarily disabling it?

--
PJH


khus...@gmail.com

unread,
Dec 30, 2011, 3:07:31 PM12/30/11
to reCAPTCHA

We saw on this link
http://code.google.com/p/recaptcha/wiki/FirewallsAndRecaptcha
that there are below set of ips for which firewall should always be
open
ip4:216.239.32.0/19 ip4:64.233.160.0/19 ip4:66.249.80.0/20
ip4:72.14.192.0/18 ip4:209.85.128.0/17 ip4:66.102.0.0/20
ip4:74.125.0.0/16 ip4:64.18.0.0/20 ip4:207.126.144.0/20
ip4:173.194.0.0/16

There for we added all these ips were added on our webserver machine.

No we havnt tried disabling anything.

Please advice.




On Dec 30, 11:58 am, PJH <pauljherr...@gmail.com> wrote:

PJH

unread,
Dec 30, 2011, 3:13:41 PM12/30/11
to reca...@googlegroups.com


On Fri, Dec 30, 2011 at 8:07 PM, khus...@gmail.com <khus...@gmail.com> wrote:
> 1) Which firewall? The test machine, or the machine the webserver is on?
> 2) Presuming the latter, have you tried temporarily disabling it?

You failed to answer the first question.
 
--
PJH


Khushbu Bhavsar

unread,
Dec 30, 2011, 3:15:49 PM12/30/11
to reca...@googlegroups.com
our network firewall on webserver machine.


 
--
PJH


--
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.

PJH

unread,
Dec 30, 2011, 3:40:45 PM12/30/11
to reca...@googlegroups.com
So, my advice is try my second suggestion.
 
Why is this so difficult?
 
It's like 20 questions. Only there's 400 of them, and the person answering them is deliberately trying to make it difficult for us.
 
Drop the walls. See if it works. If it does - there's a problem with your firewall. If it doesn't we may be able to help. Stop expecting this group to hand-hold you through putting reCAPTCHA on your site.
 
FFS!
 
We don't do PHP tutorials. Or RUBY tutorials. Or Joomla Tutorials. Or [3rd party, broken] implementation tutorials.
--
PJH


khus...@gmail.com

unread,
Dec 30, 2011, 3:43:58 PM12/30/11
to reCAPTCHA
i meant network firewall on webserver.

On Dec 30, 12:07 pm, "khushb...@gmail.com" <khushb...@gmail.com>
wrote:
> We saw on this linkhttp://code.google.com/p/recaptcha/wiki/FirewallsAndRecaptcha
Reply all
Reply to author
Forward
0 new messages