Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I have an error when i look the "Service Workers" in Developer Tools in Chrome. ServiceWorker failed to install: ServiceWorker failed to handle event (event.waitUntil Promise rejected). I don't understand because I test the pwa module 8.x in Simplytest.me and he works very well, no worry to install and activate Service Worker.
My test website is in HTTPS, but I don't know if error come from server config or not.
Thank's.
Comment | File | Size | Author |
---|---|---|---|
#4 | website.png | 17.59 KB | jhanchin |
#4 | simplytest.png | 25.37 KB | jhanchin |
Comments
Comment #2
patrickd CreditAttribution: patrickd commentedsorry i don't quite understand the problem, could you describe step by step?
which module exactly did you test?
where exactly do you get the error?
Comment #3
jhanchin CreditAttribution: jhanchin commentedThe module is "Progressive Web App", and to test it, i run this module in Simplytest.me. No problem in website but ...
When I download module, and install to my website, the module not working (Offline functionnality, etc).
To test if the module works, I open Chrome and Developer Tools, in "Application" tabs and "Service Workers" in left.
Reload page in website and status is green ( It works).
In my website, I have error "ServiceWorker failed to install: ServiceWorker failed to handle event (event.waitUntil Promise rejected)". (Module don't work).
I think is a different web config or server because the drupal settings of Simplytest.me and my website are the same.
Comment #4
jhanchin CreditAttribution: jhanchin commentedComment #5
patrickd CreditAttribution: patrickd commentedhmm sorry I don't know anything about this module and if I understand you correctly it works on simplytest.me (?)
You created this issue in the simplytest.me issue queue and if there was a problem with the module on simplytest.me itself i'd try to find out why.
But the module fails to work on your own site and is therefore not within my responsibilities.
I'd recommend that you go to the PWA modules issue queue and create a support request there, you can find the queue here: https://www.drupal.org/project/issues/pwa?categories=All
Besides that I must say that the module does not seem to have any actual releases yet – it's therefore probably not intended to be used productively yet so I'd generally advice against using it. But that's something the maintainers of the module should know more about.
Comment #6
jhanchin CreditAttribution: jhanchin commentedSorry to spend your time,
i was thinking it was a web config ou server config different about my website. I create a support to the module page. I wait their answers.
Thank's to your help.
Comment #7
volkswagenchickWe have switched frameworks, so I am closing this issue as outdated. Thanks!