harlan-zw / unlighthouse

Scan your entire site with Google Lighthouse in 2 minutes (on average). Open source, fully configurable with minimal setup.
https://unlighthouse.dev
MIT License
3.65k stars 105 forks source link

Puppeteer getting `protocolTimeout` #202

Open AshSimmonds opened 2 months ago

AshSimmonds commented 2 months ago

Describe the bug

file:///usr/local/lib/node_modules/@unlighthouse/cli/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:89
    #error = new ProtocolError();
             ^

ProtocolError: Page.enable timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.

I don't know whether it's tripping up on a certain page, the debug log only tells you what page it was working on after success of runLighthouseTask. Not sure if the page itself matters, it keeps getting to about 62% then crapping out.

Reproduction

unlighthouse-ci --site ashsimmonds.com --build-static

System / Nuxt Info

No response

harlan-zw commented 2 months ago

Hi, can you please try v0.12.0. It might resolve this issue.

thidayatullah commented 1 month ago

@harlan-zw I'm using v0.12.0 and still have the same problem when running

unlighthouse-ci --site <mysite> --reporter csvExpanded

robpetrin commented 1 month ago

Can confirm this issue persists in v0.12.1 when using

npx unlighthouse --site [url] --desktop --reporter csvExpanded

harlan-zw commented 1 month ago

You can try v0.12.2 but not sure if it will help exactly