GoogleChrome / lighthouse

Automated auditing, performance metrics, and best practices for the web.
https://developer.chrome.com/docs/lighthouse/overview/
Apache License 2.0
28.26k stars 9.35k forks source link

Protocol error (Target.getTargetInfo): Protocol error (Target.getTargetInfo): 'Target.getTargetInfo' wasn't found #15972

Closed zanhk closed 5 months ago

zanhk commented 5 months ago

From https://github.com/harlan-zw/unlighthouse/issues/209

I m having trouble scanning the website https://antares.majestico.it/

On the dev tools with lighthouse I can scan the website correctly about_blank.pdf antares.majestico.it-20240421T151922.json

but on https://pagespeed.web.dev/analysis/https-antares-majestico-it/0y6apb2qvm?form_factor=mobile and unlighthouse I get an error.

Running from pagespeed I get the error "generic::internal: Empty extension result. RenderingException: [EXTENSION_ERROR]"

On unlighthouse (that run with a github action) I get the error "Protocol error (Target.getTargetInfo): Protocol error (Target.getTargetInfo): 'Target.getTargetInfo' wasn't found"

See more on https://github.com/harlan-zw/unlighthouse/issues/209

What could be the problem that prevent the website from being scanned correctly?

Thanks

joshfester commented 5 months ago

I have having this exact same issue with one of my sites. DevTools works fine, pagespeed gives "generic::internal: Empty extension result. RenderingException: [EXTENSION_ERROR]", and local lighthouse gives "Protocol error (Target.getTargetInfo): Protocol error (Target.getTargetInfo): 'Target.getTargetInfo' wasn't found"

joshfester commented 5 months ago

In my case this is due to #15739

adamraine commented 5 months ago

Looks like the same issue, merging into https://github.com/GoogleChrome/lighthouse/issues/15739