DieUpDieDown / recaptcha4j

Automatically exported from code.google.com/p/recaptcha4j
0 stars 0 forks source link

Recaptcha connection issue #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We are moving our application to another datacenter. We are already using 
recaptcha4j in current environment. 

In new environment, the following call triggers an exception. The exception 
trace is attached. In the below call remoteAddress is being passed as 
10.137.7.20-29 while other parameters are correctly passed.

final ReCaptchaResponse reCaptchaResponse =
      reCaptcha.checkAnswer(remoteAddress, challenge, response);

What is the expected output? What do you see instead?
Exception is getting logged

What version of the product are you using? On what operating system?
recaptcha4j-0.0.7 OS  - LINUX 

Please provide any additional information below.
Please let us know the root cause of the issues. My application server is able 
to connect to http://api-verify.recaptcha.net/verify . See teh wget response 
from the server.

--2014-01-07 12:35:20--  http://api-verify.recaptcha.net/verify
Resolving api-verify.recaptcha.net... 173.194.113.148, 173.194.113.144, 
173.194.113.145, ...
Connecting to api-verify.recaptcha.net|173.194.113.148|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: âverifyâ

    [ <=>                                   ] 30          --.-K/s   in 0s

2014-01-07 12:35:20 (5.78 MB/s) - âverifyâ

Original issue reported on code.google.com by ashishgu...@gmail.com on 7 Jan 2014 at 11:36

Attachments: