创建推送通道失败:13006 扩展代码:0x800705b4

发布于 2025-01-17 14:49:19 字数 1482 浏览 3 评论 0原文

我在Flutter FCM Web推送通知中遇到了问题。 Chrome在Chrome中一切都很好,但是在Edge中,我会收到以下错误:

Uncaught (in promise) Error: AbortError: Registration failed - push service error
    

    at Object.createErrorWithStack (errors.dart:284:10)
    at Function._throw (core_patch.dart:288:28)
    at Function.throwWithStackTrace (errors.dart:108:5)
    at async._AsyncCallbackEntry.new.callback (zone.dart:1413:11)
    at Object._microtaskLoop (schedule_microtask.dart:40:11)
    at _startMicrotaskLoop (schedule_microtask.dart:49:5)
    at async_patch.dart:166:15

问题似乎是间歇性的。有时它有效,有时行不通。杀死边缘任务/重新启动似乎无济于事,而是重置网络适配器 - 确实有帮助。 edge:// push-internals显示以下错误:

Subscribe failed
Occurred: 3/29/2022, 12:50:38 PM PDT
Status: Failed to create push channel: 13006 Extended code: 0x800705b4
Server key: BDOU99+h67HcA6J...2xGpWwzjfAnG4=
Type: Service worker
origin: http://localhost:50000/
service-worker-registration-id: 2

设置应用程序如图所述 用法

Google搜索无法创建推送通道:13006扩展代码:0x800705b4返回没有结果,但这是这里的关键。有人知道这意味着什么吗?

非删除边缘浏览器日志:

Connection status
Type: WinRT WNS client
Server: https://client.wns.windows.com/
State: Disconnected
Disconnected: 3/29/2022, 12:56:34 PM PDT
Disconnect reason: Connection error: 13018
Connection attempts: 0

I'm having an issue with Flutter FCM web push notifications. Everything works perfectly fine in Chrome, but in Edge I get the following error:

Uncaught (in promise) Error: AbortError: Registration failed - push service error
    

    at Object.createErrorWithStack (errors.dart:284:10)
    at Function._throw (core_patch.dart:288:28)
    at Function.throwWithStackTrace (errors.dart:108:5)
    at async._AsyncCallbackEntry.new.callback (zone.dart:1413:11)
    at Object._microtaskLoop (schedule_microtask.dart:40:11)
    at _startMicrotaskLoop (schedule_microtask.dart:49:5)
    at async_patch.dart:166:15

The issue appears to be intermittent. Sometimes it works and sometimes it doesn't. Killing Edge tasks/rebooting doesn't seem to help, but resetting network adapter - does help. The edge://push-internals shows following error:

Subscribe failed
Occurred: 3/29/2022, 12:50:38 PM PDT
Status: Failed to create push channel: 13006 Extended code: 0x800705b4
Server key: BDOU99+h67HcA6J...2xGpWwzjfAnG4=
Type: Service worker
origin: http://localhost:50000/
service-worker-registration-id: 2

The application is setup as described in
Flutter Fire Web setup and Usage.

Google search on Failed to create push channel: 13006 Extended code: 0x800705b4 returns no results, but is the key here. Anybody knows what that means?

Non-debug Edge browser log:

Connection status
Type: WinRT WNS client
Server: https://client.wns.windows.com/
State: Disconnected
Disconnected: 3/29/2022, 12:56:34 PM PDT
Disconnect reason: Connection error: 13018
Connection attempts: 0

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文