使用 PHP 连接到 APNS 时出现错误

发布于 2024-08-12 16:42:58 字数 458 浏览 4 评论 0原文

警告:第 13 行 /home/content/t/3/k/t3kmast3r/html/PushService.php 中的 foreach() 提供的参数无效

警告:stream_socket_client() [function.stream-socket-client]:无法连接到 /home/content/t/3 中的 ssl://gateway.sandbox.push.apple.com:2195 (连接被拒绝) /k/t3kmast3r/html/PushService.php 第 53 行 连接失败 111 连接被拒绝 致命错误:在第 98 行 /home/content/t/3/k/t3kmast3r/html/PushService.php 中调用未定义的函数 socket_close()

我有 godaddy.com 的托管服务。有人知道 godaddy.com 支持 APNS 吗?

Warning: Invalid argument supplied for foreach() in /home/content/t/3/k/t3kmast3r/html/PushService.php on line 13

Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Connection refused) in /home/content/t/3/k/t3kmast3r/html/PushService.php on line 53
Failed to connect 111 Connection refused
Fatal error: Call to undefined function socket_close() in /home/content/t/3/k/t3kmast3r/html/PushService.php on line 98

I have godaddy.com's hosting service. Does someone know about godaddy.com support APNS?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

平生欢 2024-08-19 16:42:58

该错误似乎是目标服务器“ssl://gateway.sandbox.push.apple.com:2195”拒绝了您的连接。您可能需要查看 Apple 的文档或联系 GoDaddy、Apple 或两者。

The error seems like the destination server "ssl://gateway.sandbox.push.apple.com:2195" rejected your connection. You might want to check with Apple's documentations or contact either GoDaddy, Apple, or both.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文