【问题标题】:SSL operation failed with code, while sending push notification to ios devicesSSL 操作因代码而失败,同时向 ios 设备发送推送通知
【发布时间】:2019-01-10 22:21:00
【问题描述】:

我正在尝试向运行良好的 iOS 设备发送推送通知,但它突然开始抛出以下错误:

stream_socket_client():SSL 操作失败,代码为 1。OpenSSL 错误消息:错误:14094438:SSL 例程:ssl3_read_bytes:tlsv1 警告内部错误

我检查了服务器端口 2195 和 2916 都已启用,并仔细检查了 .pem 文件,这似乎也是正确的。

如果我能就上述错误获得帮助,我将不胜感激。

谢谢

【问题讨论】:

  • 是不是证书过期了?
  • 突然,就像在所有设备中一样?您的服务器上的设备或设备上发生了一些变化。使用的 OpenSSL 版本是什么(或者如果有任何其他加密提供商,请指定名称和版本)?相关方有更新吗?
  • 要么检查认证,可能是你使用的p12证书已经过期或者你的.pem文件路径改变了

标签: ios push-notification openssl apple-push-notifications stream-socket-client


【解决方案1】:
Hi you should export Apple push service certificate screen shot given below  and export it, Iam also got same error now fixed by export this certificate.

如果您有任何澄清,请告诉我。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-01-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-12-07
    相关资源
    最近更新 更多