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

Unable to generate report for working site #1745

Closed
mblayman opened this issue Feb 17, 2017 · 10 comments
Closed

Unable to generate report for working site #1745

mblayman opened this issue Feb 17, 2017 · 10 comments

Comments

@mblayman
Copy link

mblayman commented Feb 17, 2017

Hi, I was excited to try Lighthouse on the production site that I work on. Unfortunately, the tool is erroring 100% of the time for me when I try to run it. Every time I run it against https://storybird.com/, I get the following message:

image

I've tried other pages on Storybird as well as authenticated and non-authenticated. Nothing I've tried was successful.

I installed the extension today and am running Chrome 56.0.2924.87 (64-bit) on OS X 10.11.6. As a sanity check, I also attempted to restart the browser after installing the extension. As an additional check, I ran the tool against https://www.google.com/ and that worked so I have confidence that the installation of the extension is correct.

I don't know if there are any logs to inspect what went wrong so I'm not sure how to fix whatever the problem is. I'd love to use Lighthouse so any insight would be appreciated. Thanks!

@mblayman
Copy link
Author

As a bit of extra data, I tried to disable all but 1 option and ran three separate tests for three separate options to see if the problem was related to a single test. That failed.

Then I tried to run it with all of the options unchecked. That failed as well.

@patrickhulce
Copy link
Collaborator

So sorry you're having such trouble @mblayman ! That's strange as both the CLI and extension worked perfectly for me on that site first try (also Chrome 56 on OS X). The logs of the CLI tool are a bit more verbose for this category of error if you'd like to give that a try and see if you get the same results. You can also inspect the extension itself to see more logs (during a Lighthouse run, go to chrome://inspect#extensions and click inspect under the Lighthouse option).

Would you be able to try your site using the npm module and see if you get the same results?

@paulirish
Copy link
Member

Does your site redirect to a subdomain or other domain? I was saying a similar thing yesterday on the CLI with "about:version" not working but it's post redirect "chrome://version" being fine.
Either way.. it's our bug.

@mblayman
Copy link
Author

@patrickhulce thanks, I was unaware of chrome://inspect#extensions. When I ran it again, I got this in the logs:

image

When I watch Lighthouse run, it seems to die every time just after the "Loading page & waiting for onload: HTTPRedirect, HTTPWithoutJavaScript."

I'll see if I can get the npm version running to check the results there.

@paulirish No, Storybird does not redirect to a different domain. Everything stays rooted at storybird.com

@mblayman
Copy link
Author

hmm... the npm version ran fine. It's weird that Chrome would behave fine via npm, but not directly from the extension. Could a separate extension be gumming up the works? ¯\(ツ)

@patrickhulce
Copy link
Collaborator

Hmm, strange. It seems like there's no network record for the page. Just to check, are you testing with just https://storybird.com/ or are you on some deeper route that might be using history.pushState?

@mblayman
Copy link
Author

I'm only testing https://storybird.com. There's no push state stuff going on.

I tried turning off all extensions except Lighthouse, closed the browser, started the browser, navigated directly to https://storybird.com, and click the "Generate Report" button in Lighthouse.

As far as I can tell, I am running things in the most basic way I can imagine.

@paulirish
Copy link
Member

I tried turning off all extensions except Lighthouse, closed the browser, started the browser, navigated directly to https://storybird.com, and click the "Generate Report" button in Lighthouse.

Thanks for trying that. I was going to ask about extra extensions, as well. :)

@wardpeet
Copy link
Collaborator

@mblayman just looking at some old issues but do you still have issues running lighthouse?

@mblayman
Copy link
Author

I was successful with the node version and I'm not really using lighthouse that much so I'm fine with closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@paulirish @mblayman @wardpeet @patrickhulce and others