Tuesday, 28 September 2021

Firefox ServiceWorker Error: When hitting Odoo homepage in Firefox


In this article, I am writing about the error I faced only in the Firefox browser while accessing the home page of the website developed in Odoo.

Issue: It was throwing this error to me in Firefox browser




First I thought, it's due to some javascript error or something related to Odoo and after spending some time, I was convinced that it's a Firefox bug. Here are the reference links:

https://github.com/mozilla/send/issues/1222

Now the question is, why does this occurs and how to avoid it. Actually, user settings for the client browser play a big role here. Please make sure that the "Delete cookies and site data when Firefox is closed" option is not selected as shown in the screenshot.


If you remove this tick, it will work immediately.

But if you want this tick set, you can use "Manage Exceptions". Add your website and click on the "Allow"  button.



Then it works, even with the "Delete cookies and site data when Firefox closes" option.

Try ticking your Firefox and you will get the problem immediately. I have already tested this multiple times at my end.


I hope it will help others as well facing the same issue.


Thanks!! Enjoy Programming!

No comments:

Post a Comment

Thanks for your valuable comments.

Nginx: Cannot allocate memory