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

Status code: 403 and code: ERRORED_DOCUMENT_REQUEST #16084

Closed
3 tasks done
Achchheweb opened this issue Jun 21, 2024 · 1 comment
Closed
3 tasks done

Status code: 403 and code: ERRORED_DOCUMENT_REQUEST #16084

Achchheweb opened this issue Jun 21, 2024 · 1 comment
Assignees

Comments

@Achchheweb
Copy link

Achchheweb commented Jun 21, 2024

FAQ

URL

https://indianexpress.com/

What happened?

i'm using lighhouse v12.0.0. i have setup lighthouse npm on server and local as well.
But on server i have get maximum URLs reports properly but for some site like: https://indianexpress.com/
getting issue :
There was an error running Lighthouse: Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Status code: 403) (code: ERRORED_DOCUMENT_REQUEST)

chrome-launcher
1.1.0

How to resolve this issue setup url is
https://frontend-lighthouse.webgarh.net/

What did you expect?

i want to get the website reports.

What have you tried?

i tried with extra header but i was not fixed.

How were you running Lighthouse?

node

Lighthouse Version

12.0.0

Chrome Version

124.0.6367.91

Node Version

18.17

OS

Ubuntu 20.0

Relevant log output

There was an error running Lighthouse: `Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Status code: 403)` (code: ERRORED_DOCUMENT_REQUEST)
@adamraine
Copy link
Member

The site is returning a 403 status code. Seems like the site is just blocking your server from connecting for some reason but that's all I can really say from this report.

Lighthouse CLI and PageSpeed insights both return results without this error.

@adamraine adamraine closed this as not planned Won't fix, can't repro, duplicate, stale Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants