Hi Everybody
I’m trying to execute the project which exists on this link:
https://github.com/wbstr/vaadin-recaptcha
and everything is working fine , but i have a problem when i’m trying to execute the program from my company(internally) since it has a proxy which prevents me to continue after pressing the button to send the response back. and i got this exception:
net.tanesha.recaptcha.ReCaptchaException: Cannot load URL: Tried all: ‘5’ addresses, but could not connect over HTTP to server: ‘api-verify.recaptcha.net’, port: ‘80’
at net.tanesha.recaptcha.http.SimpleHttpLoader.httpPost(SimpleHttpLoader.java:89)
at net.tanesha.recaptcha.ReCaptchaImpl.checkAnswer(ReCaptchaImpl.java:61)
at com.wcs.wcslib.vaadin.widget.recaptcha.ReCaptcha.validate(ReCaptcha.java:94)
at eu.europa.ec.empl.ecas.security.web.LoginUI$1.buttonClick(LoginUI.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
Caused By: java.net.ConnectException: Tried all: ‘5’ addresses, but could not connect over HTTP to server: ‘api-verify.recaptcha.net’, port: ‘80’
at weblogic.net.http.HttpClient.openServer(HttpClient.java:401)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:506)
at weblogic.net.http.HttpClient.New(HttpClient.java:313)
at weblogic.net.http.HttpClient.New(HttpClient.java:292)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:267)
Truncated. see log file for complete stacktrace
so my question is how to solve this problem if it needs some additional configuration, i have tried to configure the proxy server details through server start in my application server which is Weblogic 12.1.3 by adding the following in the arguments
-jvmargs -Dhttp.proxySet=true -Dhttp.proxyHost=IpAddress -Dhttp.proxyPort=Portnumber
but it is not working, so please any solution would be appreciated.
thank you