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.

CORB errors in Chrome when using assetPrefix and gatsby-plugin-offline

See original GitHub issue

Description

When using Gatsby with assetPrefix option and gatsby-plugin-offline I receive multiple CORB errors while making PWA test in Lighthouse (Chrome Version 81.0.4044.138).

CORB Warnings

Steps to reproduce

Visit https://gatsby-corb-bugreport.now.sh using latest Chrome version in incognito mode. Open Audits tab in devtools (Lighthouse) and run PWA test.

Reproduction repo: https://github.com/paveli/gatsby-corb-bugreport (default starter with several pages, assetPrefix with BunnyCDN setup, gatsby-plugin-offline setup)

Expected result

Should work without CORB warnings. Should receive access to remote json files.

Actual result

Browser can’t access remote json files.

Environment

System: OS: macOS 10.15.4 CPU: (8) x64 Intel® Core™ i7-6700HQ CPU @ 2.60GHz Shell: 3.2.57 - /bin/bash Binaries: Node: 13.12.0 - /usr/local/bin/node Yarn: 1.12.3 - /usr/local/bin/yarn npm: 6.14.4 - /usr/local/bin/npm Languages: Python: 2.7.15 - /usr/local/bin/python Browsers: Chrome: 81.0.4044.138 Firefox: 68.0.2 Safari: 13.1 npmGlobalPackages: gatsby-cli: 2.7.54

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
wardpeetcommented, May 12, 2020

I’ll be looking into this bug today 😃

0reactions
pavelicommented, Jun 8, 2020

Hi, any updates on this issue? If no one is working on it right now, maybe I can try to help fixing it with some guidance from core team?

@wardpeet @danabrit

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cross-Origin Read Blocking for Web Developers
Cross-Origin Read Blocking (CORB) is a new web platform security feature that helps mitigate the threat of side-channel attacks (including Spectre).
Read more >
I am seeing a Cross-Origin Read Blocking error (CORB) error ...
I am seeing a Cross-Origin Read Blocking error (CORB) error in the console when using Google Chrome what does this mean?
Read more >
In Chrome-Extension getting CORB error on injecting external ...
Download the script from the remote URL into your extension directory. Rename it to inject-script.js; Run it as shown in method 1 here:....
Read more >
Cross-Origin Read Blocking (CORB)
JSON is one such type: a JSON response will result in a decode error when targeted ... CORB can prevent this class of...
Read more >
CORB error when using drop down fields in service catalog ...
Chrome Browser Console reports: jquery.js:1 Cross-Origin Read Blocking (CORB) blocked cross-origin response http://CATALOG-SERVER:8080/usm/wpf?
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