LighthouseError: PROTOCOL_TIMEOUT

Hi,
Since a few weeks now i am unable to get any lighthouse report on WPT.
Most of the tests now result in a timeout error that looks like this:

URL: https://www.webpagetest.org/lighthouse.php?test=240207_BiDcJ4_7MN&run=1

Sorry, Lighthouse had some issues gathering your report on WebPageTest. Please try again or try using Lighthouse through another way

Lighthouse test log:

lighthouse "https://en.angelyeast.com" --channel wpt --enable-error-reporting --disable-full-page-screenshot --max-wait-for-load 80000 --hostname 127.0.0.1 --port 9240 --output html --output json --output-path "/home/ubuntu/wptagent/work/wpt_use1_instance-10.10.11.241/240207_BiDcJ4_7MN.1.0/lighthouse.json" --throttling-method devtools --throttling.requestLatencyMs 0 --throttling.downloadThroughputKbps 0 --throttling.uploadThroughputKbps 0 --throttling.cpuSlowdownMultiplier 8.036 --save-assets --chrome-flags="--user-agent='Mozilla/5.0 (Linux; Android 8.1.0; Moto G (4)) AppleWebKit/537.36 (KHTML like Gecko) Chrome/95.0.4638.54 Mobile Safari/537.36 PTST/230405.214311'"
Wed, 07 Feb 2024 09:16:29 GMT LH:ChromeLauncher Found existing Chrome already running using port 9240, using that.
Wed, 07 Feb 2024 09:16:30 GMT LH:status Connecting to browser
Wed, 07 Feb 2024 09:16:30 GMT LH:status Navigating to about:blank
Wed, 07 Feb 2024 09:16:30 GMT LH:status Benchmarking machine
Wed, 07 Feb 2024 09:16:31 GMT LH:status Preparing target for navigation mode
Wed, 07 Feb 2024 09:16:31 GMT LH:status Cleaning origin data
Wed, 07 Feb 2024 09:16:31 GMT LH:status Cleaning browser cache
Wed, 07 Feb 2024 09:16:31 GMT LH:status Preparing network conditions
Wed, 07 Feb 2024 09:16:31 GMT LH:status Navigating to https://en.angelyeast.com/
Wed, 07 Feb 2024 09:17:32 GMT LH:ConsoleMessages:error PROTOCOL_TIMEOUT
Wed, 07 Feb 2024 09:18:02 GMT LH:InspectorIssues:error PROTOCOL_TIMEOUT
Wed, 07 Feb 2024 09:18:32 GMT LH:JsUsage:error PROTOCOL_TIMEOUT
Wed, 07 Feb 2024 09:19:02 GMT LH:Scripts:error PROTOCOL_TIMEOUT
Wed, 07 Feb 2024 09:19:32 GMT LH:TraceElements:error PROTOCOL_TIMEOUT
Runtime error encountered: Waiting for DevTools protocol response has exceeded the allotted time. (Method: Debugger.disable)
LighthouseError: PROTOCOL_TIMEOUT
    at file:///usr/lib/node_modules/lighthouse/core/gather/session.js:102:47
    at new Promise (<anonymous>)
    at ProtocolSession.sendCommand (file:///usr/lib/node_modules/lighthouse/core/gather/session.js:100:28)
    at file:///usr/lib/node_modules/lighthouse/core/gather/driver/prepare.js:48:19
    at _navigation (file:///usr/lib/node_modules/lighthouse/core/gather/navigation-runner.js:238:9)
    at async file:///usr/lib/node_modules/lighthouse/core/gather/navigation-runner.js:310:25
    at async Function.gather (file:///usr/lib/node_modules/lighthouse/core/runner.js:212:21)
    at async navigationGather (file:///usr/lib/node_modules/lighthouse/core/gather/navigation-runner.js:280:21)
    at async navigation (file:///usr/lib/node_modules/lighthouse/core/index.js:58:24)
    at async runLighthouse (file:///usr/lib/node_modules/lighthouse/cli/run.js:243:26)

I use the API to run multiple tests, sometimes in large number. Not sure weather this could be related.
Can anyone help solving this?

Hello Adriano,

This issue should be fixed now.
Please check.

Regards
Atib

1 Like