到目前为止,这一直有效,我们能够使用 Endpoint=sb://
但是现在我们得到了
The request was aborted: Could not create SSL/TLS secure channel exception on the line
var registrations = await hub.GetRegistrationsByChannelAsync(handle.FcmToken, 100);
代码或中心设置没有任何变化。
最佳答案
我们可以通过 updating the target .net framework to 4.7+ 来解决这个问题或者通过强制 tls 1.2:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
关于Azure通知中心请求已中止: Could not create SSL/TLS secure channel,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65741525/