Reputation: 183
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]
Upvotes: 3
Views: 7155
Reputation: 2889
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.
GTMetrix is another way to check pagespeed insights.
You can pass the url like this - https://username:[email protected]
Upvotes: 2
Reputation: 396
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.
Upvotes: 1