Samuil Banti
Samuil Banti

Reputation: 1795

Chrome returns ERR_FAILED for localhost

After some experiments with PWA I've encountered a strange issue with Google Chrome only. Every other browser works just fine.

When I load http://localhost the response is: "This site can’t be reached"

The error status is: "ERR_FAILED" (404)

Note:

If anyone has any ideas on what could cause the issue please share. The only clue I have is that in the sources tab of the code inspector there's the content of sw.js (my service worker) but there's nothing to do with it.

Upvotes: 1

Views: 5196

Answers (1)

Samuil Banti
Samuil Banti

Reputation: 1795

I came out that the issue was caused by a cookie called ServiceWorker.

After deleting it everything works fine.

Upvotes: 2

Related Questions