lirantal/is-website-vulnerable

Scan errors out with PROTOCOL_TIMEOUT

Ryuno-Ki opened this issue ยท 4 comments

On Ubuntu in a corporate network
When I scan my employer's homepage (https://jambit.com/)
AND I turn DEBUG=* on,
Then I can see a start of the audit:

const scanResult = await lighthouse(url, opts, {
extends: 'lighthouse:default',
settings: this.settings
})

And a timeout with PROTOCOL_TIMEOUT after a while (30 seconds?).

This does not happen when running the code
npx is-website-vulnerable https://jambit.com/ from home.

Looks like it were caused by GoogleChrome/lighthouse#6512 but this npm package might need to handle the error gracefully.

I haven't took time to clone the repo and run a local build.

Thanks @Ryuno-Ki for the detailed report ๐Ÿ‘
Indeed I think we just need to detect and gracefully handle with a descriptive error message

Can I take this up? @lirantal

@rajkumaar23 definitely, thank you โค๏ธ

:tada: This issue has been resolved in version 1.14.4 :tada:

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€