gatsbyjs.com loads blank screen

Created on 28 Jan 2020  路  7Comments  路  Source: gatsbyjs/gatsby

Description

When loading gatsbyjs.com I get a blank white screen.
This appears to be a service worker issue.

Here's the console and network:
Screen Shot 2020-01-28 at 9 37 44 AM
Screen Shot 2020-01-28 at 9 38 01 AM

When I clear storage the site loads without issue for the first reload. But then reloading the page I get a different error.

Screen Shot 2020-01-28 at 9 40 45 AM

idb-keyval-iife.min.js:1 Uncaught (in promise) DOMException: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
    at https://www.gatsbyjs.com/idb-keyval-iife.min.js:1:353
website bug

Most helpful comment

We are looking into this now

All 7 comments

I wasn't going to open this issues but the second error was really strange. Occurred after I cleared the SW, refreshed the page, and then hard refreshed the page.

I know the report isn't too helpful but SWs are hard to nail down and report. Feel free to close this issue without discussion and just add it as a mental note that there could be something up with the SW or caching / IndexDB.

I can confirm, I am having the same experience. @KyleAMathews

Steps to reproduce:

  1. Go to gatsbyjs.com
  2. Click on docs in the menu
  3. Click reload page
  4. White screen

Error in console:

Uncaught (in promise) Error: Loading CSS chunk 1 failed.
(/styles.10a829321d99231116e5.css)
    at HTMLLinkElement.a.<computed>.a.<computed>.<computed>.t.push.a.<computed>.m.onerror (bootstrap:129)

We are looking into this now

Not yet fixed, but we are using bit old version of offline plugin, so we will be updating that (once it goes through review etc)

I was having the same issue, but removing gatsby-plugin-offline and installing gatsby-plugin-remove-serviceworker fixed the issue for me. Looking forward to adding this plugin back into my site when this issue is fixed.

Here is a screenshot of the console log, but it may not be related to this issue since I get this same error without the offline plugin
console log screenshot

Is this issue still occurring for anyone? It isn't for me. I'm wondering if we can close the issue now. Thanks for opening it!

It's not occurring for me anymore. Good call, @marcysutton. I'll close this for now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dustinhorton picture dustinhorton  路  3Comments

timbrandin picture timbrandin  路  3Comments

totsteps picture totsteps  路  3Comments

magicly picture magicly  路  3Comments

ferMartz picture ferMartz  路  3Comments