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.

Failed to load resource: net::ERR_ACCESS_DENIED on CSS

See original GitHub issue

(I commented on Lighthouse issue #9038 with this issue as well, but it had already been closed. I believe this is the first time I’ve ever reported an issue with anything on Github, so if this isn’t the way it’s done, let me know and I’d be happy to fix it.)

Description

On web.dev/measure, using https://monicajean.photography as the URL, I receive a 92 instead of a 100 for best practices because of the following two browser errors which “were logged to the console”:

URL Description
/stylesheets/main.css (monicajean.photography) Failed to load resource: net::ERR_ACCESS_DENIED
/stylesheets/print.css (monicajean.photography) Failed to load resource: net::ERR_ACCESS_DENIED

When I run Chrome’s built-in Lighthouse tests, I do not receive these errors, nor do I have any issues while navigating to the site itself, nor clicking straight through to the stylesheets. I wouldn’t expect to see them here either.

To Reproduce

  1. On web.dev/measure, enter https://monicajean.photography for the URL and click Run Audit.
  2. In the results, the best practices score is 92. An error labeled “Browser errors were logged to the console” is listed.

Expected Behavior

  1. On web.dev/measure, enter https://monicajean.photography for the URL and click Run Audit.
  2. In the results, the best practices score is 100. No console errors were logged, so this issue is not listed.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
exterkampcommented, Nov 20, 2019

This is resolved now 🎉

Read the summary post mortem in https://github.com/GoogleChrome/lighthouse/issues/9902#issuecomment-556414195

1reaction
ghostcommented, Nov 1, 2019

Experiencing the same issue on https://apps.rodel.co.za. When I visit the site, there are no errors.

<div class="lh-text">URL</div><div class="lh-text">Description</div>
<div class="lh-text__url" title="https://apps.rodel.co.za/ui/js/validator.js" data-url="https://apps.rodel.co.za/ui/js/validator.js">…js/validator.js<div class="lh-text lh-text__url-host">(apps.rodel.co.za)</div></div>
Failed to load resource: net::ERR_ACCESS_DENIED
<div class="lh-text__url" title="https://apps.rodel.co.za/ui/css/flatly/template.css?v=9" data-url="https://apps.rodel.co.za/ui/css/flatly/template.css?v=9">…flatly/template.css?v=9<div class="lh-text lh-text__url-host">(apps.rodel.co.za)</div></div>
Failed to load resource: net::ERR_ACCESS_DENIED
<div class="lh-text__url" title="https://apps.rodel.co.za/ui/css/font-awesome.css" data-url="https://apps.rodel.co.za/ui/css/font-awesome.css">…css/font-awesome.css<div class="lh-text lh-text__url-host">(apps.rodel.co.za)</div></div>
Failed to load resource: net::ERR_ACCESS_DENIED
<div class="lh-text__url" title="https://apps.rodel.co.za/ui/css/bootstrap-select.css" data-url="https://apps.rodel.co.za/ui/css/bootstrap-select.css">…css/bootstrap-select.css<div class="lh-text lh-text__url-host">(apps.rodel.co.za)</div></div>
Failed to load resource: net::ERR_ACCESS_DENIED
<div class="lh-text__url" title="https://apps.rodel.co.za/ui/css/component.css" data-url="https://apps.rodel.co.za/ui/css/component.css">…css/component.css<div class="lh-text lh-text__url-host">(apps.rodel.co.za)</div></div>
Failed to load resource: net::ERR_ACCESS_DENIED
<div class="lh-text__url" title="https://apps.rodel.co.za/ui/js/jquery.js" data-url="https://apps.rodel.co.za/ui/js/jquery.js">…js/jquery.js<div class="lh-text lh-text__url-host">(apps.rodel.co.za)</div></div>
TypeError: $(...).validator is not a function
    at HTMLDocument.<anonymous> (https://apps.rodel.co.za/ui/js/main_form_validation.js?v=9:26:15)
    at j (https://apps.rodel.co.za/ui/js/jquery.js:2:29999)
    at k (https://apps.rodel.co.za/ui/js/jquery.js:2:30313)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to load resource under Chrome - Stack Overflow
The message in the Network tab is 16 requests 0B transfered. The console is stating: GET localhost:51707/Content/Theme.css undefined (undefined) ...
Read more >
Solved: "Access Denied" - Canvas Community
Solved: We are facing some big issues in showing HTML contents, all published in courses file manager, to a lot of canvas users....
Read more >
403 Access denied when using Bundling - MSDN - Microsoft
The problem is that the second CSS bundle doesn't work, and I get a "403 - Forbidden: Access is denied." error on it....
Read more >
Experiment won't run online (permission denied when syncing ...
(EDIT: I'm using Chrome on Windows 10 by the way in case that's helpful.) Failed to load resource: the server responded with a...
Read more >
Failed to load resource: the server responded ... - WordPress.org
I read the 403 error is a permissions problem, but this document have 644 like all others. All folders have 755 also. I...
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