-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
☂ "Unable to load the page" #2784
Comments
Hi, While using the Google Pagespeed v5 Lighthouse API, I generally face the HTTP 500 Error. After some time, when I rerun for the same URL, I get the data. Can anyone help how can I overcome this? Thanks, |
In my case, was checking a few urls, which to my surprise works fine on web.dev / page speed insights. But, when I run the test via cli in a dockerised environment, lighthouse returns me the following errors (although works fine on my local docker instance)
another one
Could someone help identify whether the problem lies in how it is being executed, or there is something wrong with the page itself. Environment Details |
Same issue with Brzye. Keeping getting 503 inside docker. |
Hmm. it would be easier to figure out what's going on if lighthouse could show you the failing request (if any), rather than just the status code. |
The HyperText Transfer Protocol (HTTP) 500 Internal Server Error
reset service workers
…On Fri, 19 Feb 2021 at 17:28, Samuel Bronson ***@***.***> wrote:
Hmm. it would be easier to figure out what's going on if lighthouse could
show you the failing request (if any), rather than just the status code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2784 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD66XA2HJPXOS3PUKOUPVXDS72NTTANCNFSM4DU4WA6Q>
.
|
This comment has been minimized.
This comment has been minimized.
@SamB I call this command inside docker
|
My ticket has been closed automatically. but I'm still having the below issue. When using PageSpeed for testing the site below, we got an error. https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.qbe.com%2Fau Lighthouse returned error: FAILED_DOCUMENT_REQUEST. 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. (Details: net::ERR_CONNECTION_FAILED) But the site is accessible. The wired thing is if we use PageSpeed from US region then it works fine. However, it's not working in Australia region. |
@zqbe how do you change the region? |
ในวันที่ ศ. 1 ต.ค. 2021 07:33 น. Eduar Bastidas ***@***.***>
เขียนว่า:
… @zqbe <https://github.com/zqbe> how do you change the region?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2784 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APZGLURACL7FUPWQW7GOW73UET6UNANCNFSM4DU4WA6Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
i just run tips Error:
who can help me? |
i want to know what happen? |
@PachVerb Updating my node version to 16.0 resolved the same issue. |
ok, work for me. thanks guys |
This comment was marked as off-topic.
This comment was marked as off-topic.
I dug through the history of this issue and it does seem obsolete. However the last triage was this comment #2784 (comment) indicating we should create some permanent FAQ for this. So there is still work to do, but no bugs to fix and at this point there are few enough issues related to main document errors that we can handle them on a case-by-case basis. |
Within Lighthouse, this error comes from
gatherRunner.assertPageLoaded
. This is called right after we finish loading the page for a pass (there are 3 passes by default). It looks for the HTML resources's network record (via some URL comparison).If it fails to find a match, we error. Or if we find a match, but the network record is marked as
failed
, then we error.There are a few cases in which this error shows up.
Solution: Fix your server to return valid HTML documents with successful status codes.
Solution: Change your server to redirect HTTP traffic to HTTPS
HSTS: The host is using HSTS, and Chrome can't allow the browser to attempt to navigate to HTTP. Example: Unable to load the page: timeout reached - HSTS #2465Solution: Restart Chrome and run Lighthouse again. If problem persists with a particular URL, file a new issue here with the title "Reproducible about:blank errors"
Solution: Restart Chrome and run Lighthouse again. If problem persists with a particular URL, file a separate issue with the title "Cannot identify main document"
Solution: Fix your server to return a valid, secure TLS certificate.
The text was updated successfully, but these errors were encountered: