How to allow pagespeed insights to http basic authentication sites?
Asked Answered
M

2

3

How to allow pagespeed insights to http basic authentication sites? It is returning error as follows even though I mentioned the username and password as below format.

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_ACCESS_DENIED)

https://username:[email protected]

e.g curl https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=https://username:[email protected]

Martini answered 16/12, 2020 at 11:58 Comment(1)
Have you filed an issue with Google about this?Sharpeared
K
1

Our method is to send the URL as https://username:[email protected].

Same results. Normally this is sufficient bypass for other dev tools and scanners. Pagespeed Insights cannot do it.

Kelikeligot answered 20/9, 2021 at 21:10 Comment(1)
Have you or @vivek-kumar or OP filed an issue with Google about this?Sharpeared
J
1

This method does not seem to be working anymore - https://username:[email protected]

But one can check pagespeed insights through lighthouse which provides same results.

enter image description here

GTMetrix is another way to check pagespeed insights.

You can pass the url like this - https://username:[email protected]

Jabez answered 19/10, 2021 at 7:10 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.