gpt4 book ai didi

iOS IBM Bluemix 推送通知服务器假装

转载 作者:行者123 更新时间:2023-11-29 01:44:27 26 4
gpt4 key购买 nike

我正在使用 IBM Bluemix 来提供推送通知服务。几个小时前,我能够向自己发送多个通知。我将 GCM 信息添加到 Bluemix 应用程序的 Push 配置中。另一位开发人员使用我的计算机创建了一个新的 Bluemix 应用程序来尝试复制我的应用程序以供理解。他们使用我用于我的应用程序的相同 .p12 文件,现在当我运行连接到我的 Bluemix 应用程序或他们的 Bluemix 应用程序的 iOS 应用程序时,我收到此错误:

2015-08-18 15:56:55.377 IBMBluemixNotifications[721:75912] INFO: Checking for 

previous registration of this application.
2015-08-18 15:56:55.378 IBMBluemixNotifications[721:75912] INFO: Using the identifierForVendor API for UUID.
2015-08-18 15:56:55.382 IBMBluemixNotifications[721:75912] INFO: Payload :: (null)
2015-08-18 15:56:55.383 IBMBluemixNotifications[721:75912] INFO: URL :: https://mnppushnotifications.mybluemix.net/push/v1/apps/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/devices?filter=registrationId%20==%206CBD6BD1-135D-49FC-A9D1-031D6714ECE4&expand=true
2015-08-18 15:56:56.692 IBMBluemixNotifications[721:75977] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9843)
2015-08-18 15:56:56.696 IBMBluemixNotifications[721:75912] ERROR: Request failure: url=https://mnppushnotifications.mybluemix.net/push/v1/apps/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/devices?filter=registrationId%20==%206CBD6BD1-135D-49FC-A9D1-031D6714ECE4&expand=true NSURLERRORDOMAIN--1202E: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “mnppushnotifications.mybluemix.net” which could put your confidential information at risk.

我删除了 Bluemix 上其他开发人员的应用程序,但仍然遇到相同的错误。提前谢谢你。

最佳答案

当其他开发人员尝试在 Bluemix 上复制我的应用程序时,他们上传了我在 Bluemix 应用程序中使用的相同 .p12 文件。当两个证书都已上传并运行时,Bluemix 会将您的应用程序标记为具有重复证书错误。如果您只删除其中一个应用程序,则不会删除该标志,因此我不得不删除我的 Bluemix 应用程序并重新开始,将相同的证书重新加载到 Bluemix 并且只有一个应用程序,然后它开始工作。

关于iOS IBM Bluemix 推送通知服务器假装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32084025/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com