reCaptcha validation through proxy

1,505 views
Skip to first unread message

Prasanth

unread,
Mar 16, 2010, 5:20:49 AM3/16/10
to reCAPTCHA
Hi All,

We are using re-captcha in our portal application to prevent robotic
attacks.

We are using Oracle WebLogic Portal and Apache HTTP server. The
server is connected to intranet which is connected to internet via
Proxy and protected with firewall.

I have downloaded the JAR file and have included in the classpath of
the application server.

I am able to see the captcha image on the portal page.

While validating the user input I am getting the exception:
“java.net.UnknownHostException: api-verify.recaptcha.net”. (Attached
the complete stack trace)


I tried adding the following configuration parameters to the WebLogic
startup script for proxy settings.
set JAVA_OPTIONS=%JAVA_OPTIONS%-Dhttp.proxyHost=proxyserverip -
Dhttp.proxyPort=proxyport -Dhttp.proxyUser=domain\mailid -
Dhttp.proxyPassword=password

Now I started getting a new error
“weblogic.net.http.HttpUnauthorizedException: Proxy or Server
Authentication Required”.

Even though I have mentioned the credentials to authenticate proxy,
the application server is not sending the credentials to the proxy
server.

Has anybody come across the same error. Any help in this regard is
highly appreciated.


Regards,
Prasanth

Hemanth Joshi

unread,
Jun 4, 2013, 3:58:24 AM6/4/13
to reca...@googlegroups.com
Hey,

What proxy URL an port did you use for connecting to captcha address. Also let me know the details of usename and password.

Thanks
Hemanth

Avinash Prabhakar

unread,
Jun 4, 2013, 4:46:09 AM6/4/13
to reca...@googlegroups.com
Hi All,
Can some one help me what needs to be set it for recaptcha proxy settings:

set JAVA_OPTIONS=%JAVA_OPTIONS%
-Dhttp.proxyHost=

-Dhttp.proxyPort=

-Dhttp.proxyUser=

-Dhttp.proxyPassword=


Please tell us what is the value we need to set for each of the attribute?

On Tuesday, 16 March 2010 14:50:49 UTC+5:30, Prasanth wrote:
Reply all
Reply to author
Forward
0 new messages