Support » Plugin: PWA for WP & AMP » FetchEvent.respondWith()

  • Sometimes I get the error:
    A ServiceWorker passed a promise to FetchEvent.respondWith() that resolved with non-Response value ‘undefined’.
    and the page doesn’t load: (g**gle translated)
    Loading the page violated the network protocol. This error can not be corrected.
    Reloading the page works.

Viewing 1 replies (of 1 total)
  • kousa


    My users are getting the same or very similar error that blocks access. I’m unable to replicate the issue of no loading, but the error is logged to console nonetheless.

    This seems to be focused on the Safari browsers, both on mobile and desktop.

    EDIT: I managed to replicate the loading failure after all. It was linked to a 404 error of a file (don’t know if the file type is relevant). Immediate workaround was to exclude this file from PWA cache, have to check deeper to what’s causing nonexisting file to load, probably not PWA related.

    However, in my opinion such case shouldn’t lead to total failure so it might be something worth checking in the PWA plugin development.

    • This reply was modified 2 months ago by kousa.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.