Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
2540 Visualizzazioni

Odoo16: Safari can not open the page (WebKitServiceWorker:0)

I have migrated to Odoo16. With browsers like Firefox and Chrome, all website pages are ok.

But using Safari, when i go to this specific page https://www\.samadeva\.com/event,\ i\ get\ this\ error:

Safari\ can\ not\ open\ the\ page\ «\ https://www.samadeva.com/event Error : . FetchEvent.respondWith received an error: NotSupportedError: The operation is not supported.. (WebKitServiceWorker:0)


When i open a private window or empty cache, i get the page successfully rendered. So far, i thought i have solved the problem...

But after a while, website's visitors report that the same issue occurs again...

Any idea?


Avatar
Abbandona
Autore

Cette erreur de Safari a aussi était rencontrée et résolue avec Angular : https://github.com/angular/angular/issues/50378

Autore

I have tried to inject this js workaround inside the head-tags of my websites using in odoo16: Editor > Modify > Theme > head ...:

if (navigator.userAgent.includes("Version/17.0") || navigator.userAgent.includes("Version/17.1")) {
navigator.serviceWorker.getRegistrations().then(function (registrations) {
for (let registration of registrations) {
registration.unregister();
}
});
}

which works on the first call, but when clicking on another page, the error append again.

Autore Risposta migliore

Hello Jens and Sakaria, The answer of Odoo Support (for my Odoo+Enterprise v16) was: "I have been informed by our bug fix team the issue has been resolved and will be officially pushed to all Odoo online databases by the end of the week."

Avatar
Abbandona
Risposta migliore

Hi Admin Samadeva, its the same think here on Odoo 17 onPrem Installation on Debian 12.

Did you found another solution for this. I tried to disable the the Service Worker, but can't get a reason why it is used in the event section. 

Kind Regards

Jens

Avatar
Abbandona

Did you find any solution for this issue?

Post correlati Risposte Visualizzazioni Attività
5
set 25
22661
3
ago 25
3323
1
mag 25
3223
1
apr 25
4156
1
apr 25
5002