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

PSI not collecting screenshots #9545

Closed
pyxarez opened this issue Aug 9, 2019 · 3 comments
Closed

PSI not collecting screenshots #9545

pyxarez opened this issue Aug 9, 2019 · 3 comments
Labels
PSI/LR PageSpeed Insights and Lightrider

Comments

@pyxarez
Copy link

pyxarez commented Aug 9, 2019

Provide the steps to reproduce

  1. Run LH on https://www.wmj.ru/, https://rambler.ru/, https://gazeta.ru/

What is the current behavior?

The speed index has an error on the performance category with the following error: Chrome didn't collect any screenshots during the page load. Please make sure there is content visible on the page, and then try re-running Lighthouse. (SPEEDINDEX_OF_ZERO).
I wanna notice that by running lighthouse on node and in devtools I get at least some result(screenshot is attached).

What is the expected behavior?

It should display the real speed index instead of ERROR!

Environment Information

image

Related issues
#5815
#9107
#9027

Local run
image

@exterkamp exterkamp added the PSI/LR PageSpeed Insights and Lightrider label Aug 9, 2019
@exterkamp exterkamp changed the title PCI not collecting screenshots PSI not collecting screenshots Aug 9, 2019
@pyxarez
Copy link
Author

pyxarez commented Aug 15, 2019

It also affects https://rambler.ru/ and https://gazeta.ru/

@pyxarez
Copy link
Author

pyxarez commented Aug 15, 2019

@exterkamp , God day! Can you please suggest me some points to start working with?
Is there any open information about settings that are used in PSI for running lighthouse that I can apply locally, or any contact that I can try to ask about it?
Thank you!

@paulirish
Copy link
Member

paulirish commented Aug 15, 2019

@pyxarez hi

you have some weird script on your site.. i'm guessing its bot detection?
https://gist.github.com/paulirish/b9548ef1981720eb60577b0a16409a7f

if the detection throws... we see document.body.innerHTML = ''.

So that ends up being a problem. (and what eventually leads to SPEEDINDEX_OF_ZERO)

I hope that helps.


Also.. We won't be able to help you diagnose any further problems on your site. Your script is heavily obfuscated and doing some real nonstandard things.. and ultimately we discovered that it's your own code at fault. G'luck.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PSI/LR PageSpeed Insights and Lightrider
Projects
None yet
Development

No branches or pull requests

3 participants