Chrome Web通知推送未经授权的注册例外 [英] Chrome Web Notification Push Unauthorized Registration exception

查看:121
本文介绍了Chrome Web通知推送未经授权的注册例外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从服务器向订阅了服务器的用户实施推送通知.

I am implementing push notifications from my server to the users who are subscribed to my server.

现在,将推送通知发送给Firefox用户的工作就像一种魅力.但是,在Chrome上,我收到未经授权的注册错误.我正在使用Django作为后端.

Right now sending the push notifications to Firefox users works like a charm. However, on Chrome I get an Unauthorized Registration error. I am using Django as a backend.

此图中是错误的相关部分和我的代码(已编辑电子邮件)以及订阅.如果需要更多信息,请告诉我.

In this image are the relevant parts of the error and my code (email edited), aswell as the subscription. If any more information is needed please let me know.

有人知道为什么我不能在Chrome上发送推送通知吗?

Does anyone know why I can't send push notifications on Chrome?

我正在使用此库.

推荐答案

我刚刚推送了pywebpush 1.0.2,其中包括py-vapid 1.2.3.很抱歉延迟,但这是不可避免的.

I've just pushed pywebpush 1.0.2 which includes py-vapid 1.2.3. Sorry for the delay, but it was unavoidable.

请不要害怕针对软件包提出问题.我确实会尽快做出回应,这对所有人都有帮助.

Please don't be afraid to file issues against the package. I do try to respond fairly quickly and it helps out everyone.

这篇关于Chrome Web通知推送未经授权的注册例外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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