firebase / firebase/firebase-js-sdk

AbortError: Registration failed - push service error on Opera

Open
#9,380 11 comments 5 reactions 0 assignees View on GitHub
api: messaging needs-attention question
Dominant language
TypeScript
Stars
5.1k
Forks
1k
Avg merge
2d 21h
Merged PRs (30d)
37

Description

### Operating System

Ubuntu 24.04.3 LTS

### Environment (if applicable)

Opera 123.0.5669.47

### Firebase SDK Version

@firebase/app: 0.14.5; @firebase/messaging: 0.12.23; @firebase/util 1.13.0

### Firebase SDK Product(s)

Messaging

### Project Tooling

Webpack

### Detailed Problem Description

The initial task is to subscribe the user to push notifications. An error occurs in the Opera browser when calling the getToken() function:
`AbortError: Registration failed - push service error on Opera`

Due to this error, it is not possible to subscribe to push notifications in Opera.

Image

### Steps and code to reproduce issue

You can view it by following the link:
[https://catherinefd.github.io](https://catherinefd.github.io)

To cause the error, follow these steps:
1. Reset the cache and notification permissions.
Image
2. Refresh the page.
3. Open the developer's console.
4. Click on the "User 1" button.
5. Allow subscription to notifications.
6. After a while, an error will appear in the console.

In other browsers, such as Chrome or Firefox, everything works correctly.
The console displays logs of function launches, which allows you to track calls and connections.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.