Azure的通知中心注册发送通知时消失 [英] Azure Notification Hub registrations disappear when sending a notification

查看:176
本文介绍了Azure的通知中心注册发送通知时消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我们的Azure通知中心成为一个非常神秘的实体。当苹果的设备注册,我们可以看到他们在服务总线资源管理器,只要我们尝试发送任何通知(SBE从天青或门户网站),我们得到了一个通知成功的消息,但没有显示在设备上。清凉注册列表揭示的事实,即登记被删除。

Recently our Azure Notification Hub became a very mysterious entity. When Apple devices register we can see them in Service Bus Explorer and as soon as we try sending any notifications (from SBE or Azure Portal) we get a "Notification Successful" message, but nothing appears on the device. Refreshing registration list uncovers the fact that the registrations were deleted.

我们不是在code随时随地中删除,且TTL没有过期。

We are not removing them anywhere in code, and the TTL has not expired.

有什么建议?

推荐答案

原来前端家伙们太退订热切。卸下退订code整理出来的问题。也有一个与APNS证书有问题,为了在调试运行前端应用它需要一个沙箱证书,而不是生产的,该消息被正确递送。

Turns out the front end guys were unsubscribing too eagerly. Removing the unsubscribe code sorted out the issue. Also there was a problem with the APNS certificate, in order to run the front end app in debug it requires a sandbox certificate, not a production one, for the messages to be delivered properly.

这篇关于Azure的通知中心注册发送通知时消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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