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

🐛 Lighthouse shows PROTOCOL_TIMEOUT error when auditing big websites #521

Closed
1 task done
tombui99 opened this issue Jul 6, 2023 · 1 comment
Closed
1 task done
Assignees
Labels
type: bug Something isn't working

Comments

@tombui99
Copy link
Contributor

tombui99 commented Jul 6, 2023

Cc: @adamcogan @william-liebenberg @AlexRothwell @amankumarrr

Describe the Bug

As per my conversation with @AlexRothwell , when running Lighthouse on big websites, it shows PROTOCOL_TIMEOUT error.

This is actually a known issue with Lighthouse CLI library. The error refers to the situation when Lighthouse has been waiting for Chrome to respond to a single command for more than 30 second
See GoogleChrome/lighthouse#6512

How we could resolve this

As per my conversation @amankumarrr , we should use PageSpeed Insights API to run Lighthouse instead which is proven to be much faster and more reliable than using Lighthouse CLI library.

Tasks

  • Use PageSpeed Insight to run Lighthouse audit

Thanks!

@tombui99 tombui99 added the type: bug Something isn't working label Jul 6, 2023
@tombui99 tombui99 self-assigned this Jul 6, 2023
@tombui99
Copy link
Contributor Author

tombui99 commented Jul 6, 2023

Use PageSpeed Insight to run Lighthouse audit

Done - PageSpeed Insight is now being used to run Lighthouse audit

Based from testing on several websites, this seems to be much faster and more reliable than using Lighthouse-ci library

@tombui99 tombui99 closed this as completed Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant