Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I don't know, it told me to report to the github repository #15996

Closed
3 tasks done
OinkiePie opened this issue May 13, 2024 · 2 comments
Closed
3 tasks done

I don't know, it told me to report to the github repository #15996

OinkiePie opened this issue May 13, 2024 · 2 comments
Assignees

Comments

@OinkiePie
Copy link

FAQ

URL

http://127.0.0.1:5500/commands

What happened?

error
изображение_2024-05-13_233134717

What did you expect?

I expected this to check my site

What have you tried?

check my site

How were you running Lighthouse?

Chrome DevTools

Lighthouse Version

11.3.0

Chrome Version

121.0.0.0

Node Version

20.10.0

OS

windows 10

Relevant log output

INVALID_URL

Channel: DevTools
Initial URL: 
Chrome Version: 121.0.0.0
Stack Trace: LighthouseError: INVALID_URL
    at UrlUtils.normalizeUrl (devtools://devtools/bundled/third_party/lighthouse/lighthouse-dt-bundle.js:252:39542)
    at devtools://devtools/bundled/third_party/lighthouse/lighthouse-dt-bundle.js:449:12402
    at Runner.gather (devtools://devtools/bundled/third_party/lighthouse/lighthouse-dt-bundle.js:446:3581)
    at navigationGather (devtools://devtools/bundled/third_party/lighthouse/lighthouse-dt-bundle.js:449:12373)
    at async navigation (devtools://devtools/bundled/third_party/lighthouse/lighthouse-dt-bundle.js:449:13723)
    at async a (devtools://devtools/bundled/entrypoints/lighthouse_worker/lighthouse_worker.js?remoteBase=https%3A%2F%2Fchrome-devtools-frontend.appspot.com%2Fserve_file%2F%406f54147f20896c29d462c15c7b62fd0d8510cd41%2F:1:2166)
    at async self.onmessage (devtools://devtools/bundled/entrypoints/lighthouse_worker/lighthouse_worker.js?remoteBase=https%3A%2F%2Fchrome-devtools-frontend.appspot.com%2Fserve_file%2F%406f54147f20896c29d462c15c7b62fd0d8510cd41%2F:1:2520)
@connorjclark
Copy link
Collaborator

connorjclark commented May 13, 2024

Thanks for the report.

We have some issues here:

  1. should be possible to audit localhost in CDT. dont see how this could have failed if it was http://
  2. isProtocolAllowed failing and throwing an error should present better than this in CDT - but I can't think of a way to navigate to a page such that the lighthouse panel doesnt already fade out the option to run an audit ( maybe if the page did location.href = 'about:blank' or to a file url ??)

@adamraine
Copy link
Member

The report is using M121 but we fixed a major cause of INVALID_URL errors in M123: https://chromiumdash.appspot.com/commit/f1d39232489aa8260d9cd4ca63d6f305838ff55a

It's possible this isn't happening on the latest version of Chrome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants