有人在谷歌应用程序引擎上运行过Recaptcha吗?

时间:2021-12-20 23:15:58

I followed the recaptcha instructions and created a simple app that works if I run it in Eclipse using a local Tomcat server but the same files give an error (verify-params-incorrect) when validating the user's response when run in Eclipse using the local Google App Engine SDK.

我遵循了recaptcha的指令,并创建了一个简单的应用程序,如果我使用本地Tomcat服务器在Eclipse中运行它,那么它将工作,但是当使用本地谷歌应用程序引擎SDK在Eclipse中运行时验证用户的响应时,相同的文件会出现错误(verify-params- wrong)。

3 个解决方案

#1


1  

Are you using the Java code linked to on the reCAPTCHA site? I took a quick look at it, and I suspect that the SimpleHttpLoader class uses some Java classes that are no allowed by Google's AppEngine.

您是否正在使用链接到reCAPTCHA站点的Java代码?我快速地看了一下它,我怀疑SimpleHttpLoader类使用了谷歌的AppEngine不允许的一些Java类。

So, here is what I know: Running locally, I get the same error as you. But, when I deploy it to AppEngine, it works! For the forum posts I've read, I suspect it has to do with the remote IP address (127.0.0.1) when running locally.

我知道的是:在本地运行时,我得到的误差和你一样。但是,当我将它部署到AppEngine时,它就可以工作了!对于我读过的论坛帖子,我怀疑它与本地运行时的远程IP地址(127.0.0.1)有关。

#2


0  

This is sort of an impertinent answer, but are you sure you really need to pester your potential users with a captcha at all? There's a great article over on sitepoint entitled "10 Things to Check Before Using a CAPTCHA"

这是一种不恰当的回答,但是你确定你真的需要用验证码来纠缠你的潜在用户吗?在sitepoint上有一篇很棒的文章叫做“使用验证码前要检查的10件事”

#3


0  

I had no problems at all locally with Google App Engine or deployed with recaptcha4j-0.0.8.jar and Google App Engine SDK 1.6.6. I followed the reCaptcha tutorial for Java at https://developers.google.com/recaptcha/docs/java.

我在本地使用谷歌应用程序引擎,或者部署了重新配置的captcha4j-0.0.8。jar和谷歌App Engine SDK 1.6.6。我在https://developers.google.com/recaptcha/docs/java上学习了关于Java的reCaptcha教程。

Check here for recaptcha4j lastest version: http://code.google.com/p/recaptcha4j/downloads/list

点击这里查看recaptcha4j lastest版本:http://code.google.com/p/recaptcha4j/downloads/list

#1


1  

Are you using the Java code linked to on the reCAPTCHA site? I took a quick look at it, and I suspect that the SimpleHttpLoader class uses some Java classes that are no allowed by Google's AppEngine.

您是否正在使用链接到reCAPTCHA站点的Java代码?我快速地看了一下它,我怀疑SimpleHttpLoader类使用了谷歌的AppEngine不允许的一些Java类。

So, here is what I know: Running locally, I get the same error as you. But, when I deploy it to AppEngine, it works! For the forum posts I've read, I suspect it has to do with the remote IP address (127.0.0.1) when running locally.

我知道的是:在本地运行时,我得到的误差和你一样。但是,当我将它部署到AppEngine时,它就可以工作了!对于我读过的论坛帖子,我怀疑它与本地运行时的远程IP地址(127.0.0.1)有关。

#2


0  

This is sort of an impertinent answer, but are you sure you really need to pester your potential users with a captcha at all? There's a great article over on sitepoint entitled "10 Things to Check Before Using a CAPTCHA"

这是一种不恰当的回答,但是你确定你真的需要用验证码来纠缠你的潜在用户吗?在sitepoint上有一篇很棒的文章叫做“使用验证码前要检查的10件事”

#3


0  

I had no problems at all locally with Google App Engine or deployed with recaptcha4j-0.0.8.jar and Google App Engine SDK 1.6.6. I followed the reCaptcha tutorial for Java at https://developers.google.com/recaptcha/docs/java.

我在本地使用谷歌应用程序引擎,或者部署了重新配置的captcha4j-0.0.8。jar和谷歌App Engine SDK 1.6.6。我在https://developers.google.com/recaptcha/docs/java上学习了关于Java的reCaptcha教程。

Check here for recaptcha4j lastest version: http://code.google.com/p/recaptcha4j/downloads/list

点击这里查看recaptcha4j lastest版本:http://code.google.com/p/recaptcha4j/downloads/list