Chrome Web通知推送未经授权的注册例外

编程入门 行业动态 更新时间:2024-10-26 17:29:48
本文介绍了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通知推送未经授权的注册例外

本文发布于:2023-11-09 22:43:15,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1573635.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:未经授权   通知   Chrome   Web

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!