question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Service worker does not successfully serve the manifest's start_url.

See original GitHub issue

This error is actually pretty hard to fix if you think you are.

At the moment I’m caching the index.html page and I’ve set the start_url to index.html and I still get this error.

I can even go from DevTools > Application > Manifest > start_url link to the page, switch to offline in network panel and reload the page and get the full page from the service worker.

Any ideas how to debug this?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:17
  • Comments:48

github_iconTop GitHub Comments

5reactions
patrickhulcecommented, May 18, 2018

@frlinw we totally agree! on latest LH I don’t see any of those issues on your site though so hopefully fixed in the past couple months 👍

image

2reactions
wardpeetcommented, Jun 21, 2018

@wdiechmann there is such an option in devtools -> application tab. This option is handy while developing and ignoring the Service Worker but it has nothing to do with Lighthouse itself. image

@Drag13 I get a 404 on http://makephoto.azurewebsites.net/manifest.json or https://makephoto.azurewebsites.net/manifest.json

you can see if the manifest gets loaded correctly in the application tab image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Service worker does not successfully serve the manifest's ...
My manifest.json has '/' as the start URL and "/" as the scope. The '/' is actually default.aspx which I have cached as...
Read more >
Pwa – Service worker does not successfully serve the manifest's ...
My manifest.json has '/' as the start URL and "/" as the scope. The '/' is actually default.aspx which I have cached as...
Read more >
Web Application Manifest - W3C
The manifest's start_url member is a string that represents the start URL , which is URL that the developer would prefer the user...
Read more >
Using Service Workers - Web APIs | MDN
If successful, the service worker is executed in a ServiceWorkerGlobalScope ; this is basically a special kind of worker context, running off ...
Read more >
`start_url` does not respond with a 200 when offline
Lighthouse flags web apps whose start URL doesn't respond with a 200 ... When offline, use the service worker as a network proxy...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found