-
Notifications
You must be signed in to change notification settings - Fork 15
Uncaught (in promise) DOMException: Registration failed - push service error #315
Comments
I've never seen this error, it could be somehow related to https://bugs.chromium.org/p/chromium/issues/detail?id=464365. |
Looks like you have two |
I didnt noticed your plugin adds a manifest. I have my own manifest file with my icons and web app settings. How about an option to disable the plugin generated manifest? I'll try disabling in the plugin code to see if the problem gets solved, I'll reply again within the next hours. |
You just need to comment out the line If this fixes your problem, I'll add an option to disable the generation of the manifest. |
Marco, it did not fixed the problem. Only one manifest file loading, still getting the "Uncaught (in promise) DOMException: Registration failed - push service error" error located at undefined, line 1. Unefined drives crazy, how can I properly debug this? |
The sender ID is usually a number, are you sure |
My Dev. Console is different than yours. It does not have this content block and the overall design is pretty different. I've already tried to get to this same panel by going to this https://console.developers.google.com/home/dashboard URL but it always redirects me to https://console.developers.google.com/apis/ |
I filed google/WebFundamentals#2847 to update the Google documentation. |
I fixed it, it was all my mistake. The page at Google Developer Console has another menu on the top-left corner where I didn't noticed a button to change from the API Manager to the Developer Console (which I tough i was already in because of the page name). The whole thing is confusing, you are inside a page with a name that is not that actual page but is part of it. Or I need to drink some less coffee and get into this "sleep 8 hours a day" routine. The link you sent was also redirecting me to the API page. Now that I got to it from the menu I said, when I go back to the API page it shows me a buch of other links in this same menu that were not displaying before... (wtf Google! Really, WTF!?) |
Thanks Marco, sorry for wasting your time with this. The plugin is now working normally. |
No worries, it was useful because I wouldn't have noticed that the documentation was outdated otherwise. Let's hope it's going to be fixed soon! I'm going to file a new issue for the manifest thing. |
@lukasag hello, how did you solve it, I'm stuck with the same bug... wasted hours on that.. no result! |
Getting this on Chrome for Windows and Chrome for Android in latest versions of both browsers. It works normally on Firefox... Sometimes I also get another error together with it that I think it belongs to a function in your plugin..
undefined:1 Uncaught (in promise) DOMException: Registration failed - push service error
/wp-admin/admin-ajax.php?action=wpswmgr_serve&_wpswmanager=wpswmanager%2Fsw%2Fsw%40%2F:1 GET https://www.gameprosa.com.br/wp-admin/admin-ajax.php?action=wpswmgr_serve&_wpswmanager=wpswmanager%2Fsw%2Fsw%40%2F net::ERR_FILE_EXISTS
It's running on https://www.gameprosa.com.br
Everything is properly set, including GCM settings on my manifest.json file
The text was updated successfully, but these errors were encountered: