Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Why does the subscription to Web Push notifications in Firefox disappears after a while? (Web Push API)

  • No replies
  • 1 has this problem
  • 12 views
more options

Hi, I really need help. I can't understand why Firefox kills properly registered push-subscription!? In my app, I properly register a service Worker, get permission, and subscribe to push notifications. Then I save the subscription in my database and send PUSH notifications. Everything works well, in different browsers (Opera, Chrome, Firefox). But after a while when I send another push notification to Firefox I get a response:

"code": 410, "errno": 106, "error": "", "more_info": "http://autopush.readthedocs.io/en/latest/http.html#error-codes", "message": "Request did not validate No such subscription"

If re-subscribe, it starts working again for a while... This problem is ONLY with Mozilla Firefox, subscriptions for other browsers work ok! I can't understand why the subscription disappears in Firefox? I use same script for all browsers, what is wrong with it in the case of mozilla, I can't understand. Thank you in advance for your help!

Hi, I really need help. I can't understand why Firefox kills properly registered push-subscription!? In my app, I properly register a service Worker, get permission, and subscribe to push notifications. Then I save the subscription in my database and send PUSH notifications. Everything works well, in different browsers (Opera, Chrome, Firefox). But after a while when I send another push notification to Firefox I get a response: "code": 410, "errno": 106, "error": "", "more_info": "http://autopush.readthedocs.io/en/latest/http.html#error-codes", "message": "Request did not validate No such subscription" If re-subscribe, it starts working again for a while... This problem is ONLY with Mozilla Firefox, subscriptions for other browsers work ok! I can't understand why the subscription disappears in Firefox? I use same script for all browsers, what is wrong with it in the case of mozilla, I can't understand. Thank you in advance for your help!

Modified by mr.yurka