IPN 模拟器:“IPN 未发送,握手未验证.请检查您的信息." [英] IPN Simulator: "IPN was not sent, and the handshake was not verified. Please review your information."

查看:24
本文介绍了IPN 模拟器:“IPN 未发送,握手未验证.请检查您的信息."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用 IPN 模拟器时遇到以下错误 -

I'm getting the following error when using the IPN Simulator -

IPN 未发送,握手未验证.请检查您的信息.

IPN was not sent, and the handshake was not verified. Please review your information.

URL 是非 SSL HTTP(开发环境).

The URL is non-SSL HTTP (dev environment).

当我在浏览器中点击它时,我得到了预期的输出(以及我的服务器 access.log 中的匹配条目),但是当我通过 IPN 模拟器点击它时,我得到了上述错误,并且服务器访问中没有任何内容记录.

When I hit it in a browser I get the expected output (and a matching entry in my servers access.log), however when I hit it via the IPN Simulator, I get the above error, and nothing in the servers access log.

关于这些问题的建议:

我尝试了命令 openssl s_client -connect api-3t.sandbox.paypal.com:443 -showcerts -CApath/etc/ssl/certs 并得到他们建议的输出:

I tried the command openssl s_client -connect api-3t.sandbox.paypal.com:443 -showcerts -CApath /etc/ssl/certs and got the output they suggested:

验证返回码:0 (ok)

Verify return code: 0 (ok)

我认为这不是特别重要,因为我没有尝试发出 SSL 请求.

I don't think this is particularly important as I'm not attempting to make an SSL request.

还有其他想法吗?

我正在尝试将其作为错误修复的一部分,大约 3 周前我开发了 IPN 的东西,而 IPN 模拟器运行得很好,现在不是那么多.

I'm attempting this as part of a bug fix, I developed the IPN stuff approximately 3 weeks ago and the IPN Simulator worked just dandily, now not so much.

提前致谢.

推荐答案

我发现基于IP的http比如http://182.100.25.4/foo/bar/baz 不起作用.我使用 dyndns 创建了一个 DNS 记录以指向 182.100.25.4,然后突然发现 - http://somedns.ddns.net/foo/bar/baz 开始在 IPN 模拟器中正常工作.基于 http 的 URL 确实有效,您不需要使用基于 https 的 URL.

I found out that IP-based http such as http://182.100.25.4/foo/bar/baz do not work. I used dyndns to create a DNS record to point to 182.100.25.4 and suddenly voila - http://somedns.ddns.net/foo/bar/baz started working properly in the IPN simulator. http-based URLs do work, you do not need to use https-based URLs.

这篇关于IPN 模拟器:“IPN 未发送,握手未验证.请检查您的信息."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆