Google Checkout 超时
我在一个使用 Google Checkout 的 Satchmo 网站上工作。我已经解决了遇到的 SSL 问题,但 Google 集成控制台仍然给出以下错误:
“我们在尝试访问您的服务器时遇到错误 https://bernunzio.dxdt.org/checkout/google/notification/ -- 我们得到的错误是 java.io.IOException: Error 'TIMEOUT'连接到网址“https://bernunzio.dxdt.org/checkout/google/notification/”。”
我尝试从集成控制台获取POST数据并通过curl手动将其提交到我的网站,它工作正常,所以问题一定是Google和我的服务器之间的通信。
更新:我刚刚检查过,尽管仍然存在超时错误,但经过几次尝试后,Google 最终成功通知了 Satchmo。 Google 这样超时正常吗?有什么办法可以阻止它吗?
I working on a Satchmo site that uses Google Checkout. I've resolved the SSL issues I was having, but the Google integration console is still giving me the following error:
"We encountered an error trying to access your server at https://bernunzio.dxdt.org/checkout/google/notification/ -- the error we got is java.io.IOException: Error 'TIMEOUT' connecting to url 'https://bernunzio.dxdt.org/checkout/google/notification/'."
I tried getting the POST data from the integration console and manually submitting it to my site via curl and it works fine, so the problem must be the communication between Google and my server.
Update: I just checked, and although there are still timeout errors Google eventually succeeds at notifying Satchmo after a couple tries. Is it normal for Google to timeout like that? Is there any way to stop it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一个开始的地方是查看服务器日志并查看响应通知需要多长时间。您需要在 3 秒内回复,否则 Checkout 会超时并重试:
https://checkout.google.com/support/sell/bin/answer.py?hl=en&answer=59782
以下是有关集成控制台错误的一些附加信息:
http://code.google.com/apis/checkout/articles/Troubleshoot_Integration_Console_Errors.html
一般来说,通过检查服务器日志,您可以查看超时是否与性能相关,或者可能是服务器代码中的特殊情况错误。
每个通知都会发送到您的服务器成功确认或 14 天过去。从您的描述来看,您最终似乎正确处理了通知。
One place to start is to look at your server logs and see how long it takes to respond to notifications. You need to respond within 3 seconds, otherwise Checkout times out and will try again:
https://checkout.google.com/support/sell/bin/answer.py?hl=en&answer=59782
Here is some additional info about Integration Console errors:
http://code.google.com/apis/checkout/articles/Troubleshoot_Integration_Console_Errors.html
Generally, by checking your server logs you can see if the timeout is performance related or maybe a special case bug in your server code.
Each notification is sent until your server has acknowledged it successfully, or until 14 days have elapsed. From your description it appears that you are eventually handling notifications correctly.