"NetworkError when attempting to fetch resource." when using Firefox on Responsive mode with Service Worker
Some of the applications I use on a daily basis that are backed up with Service worker fail with "NetworkError when attempting to fetch resource." when i try to use them using Firefox on Responsive mode. They work correctly on Firefox mobile application and also on Firefox without being on Responsive mode. The Service Worker is using `caches.match` which lately with the mentioned NetworkError.
This https://app.clickup.com/login website is the last I coudn't use anymore.
Other browser work correctly in Responsive Mode with this website
Krejt Përgjigjet (3)
Hola, No veo problemas a usar las aplicaciones de dicha pagina en "modo de diseño adaptable" necesitaría mas información o puedes probar con el Firefox en modo seguro o creando un perfil nuevo y sin agregar complementos hasta probar la pagina. Saludos
Hi,
So initially the page just loads, to check this out you need to make sure the Service Worker is installed and the network calls are going trough it, so possible after waiting a few seconds with the page running, the Service Worker will be installed in background. You can make sure the Service Worker is installed and running on the Application tab on the dev tools. There is no need to log in to register the SW. Once you made sure the Service Worker is in place, you can refresh the application and most likely you will see errors happening like the ones I posted on the attached screenshot. Debugging those errors I made sure that the piece of code is failing is the Caches API match function with the error I mentioned before.
This is not something isolated, I can see also on https://www.voodoodreams.com/en-gb/login have the same kind of behavior getting multiple 504 errors but resulted on the same problem while debugging the SW, not only in my computer but in many others.
Best regards
Hola, Estas en el foro en Español, al margen de que aparezcan errores en la consola del Firefox yo me refería que no tengo problemas y no veo errores de funcionamiento es las aplicaciones de dicha pagina. De todas formas este foro es atendido por usuarios colaboradores no tenemos desarrolladores, si piensas que esos errores causan algún problema de funcionamiento hay 2 opciones: reportarlo como un problema con un sitio web o como un Bug del Firefox: https://bugzilla.mozilla.org/home
Luego puedes copiar dicho caso aquí para que sirva a otros usuarios. Gracias