LH stuck at retrieving IF maxWaitForLoad too high
See original GitHub issueBug report
Provide the steps to reproduce
- Run LH Node.js Module on https://www.reishunger.de/wissen/article/41/unterschied-basmati-und-jasmin-reis
Update: It definitely also doesn’t work with other URLs that worked only 2 days ago. Neither the sites nor my environment has changed in the meantime.
What is the current behavior?
If the maxWaitForLoad is set “too high”, in my case above around 4000ms, LH gets stuck at the following step:
Mon, 11 Jun 2018 14:44:28 GMT status Initializing…
Mon, 11 Jun 2018 14:44:29 GMT status Loading page & waiting for onload URL, Scripts, CSSUsage, Viewport, ViewportDimensions, ThemeColor, Manifest, RuntimeExceptions, ChromeConsoleMessages, ImageUsage, Accessibility, EventListeners, AnchorsWithNoRelNoopener, AppCacheManifest, DOMStats, JSLibraries, OptimizedImages, PasswordInputsWithPreventedPaste, ResponseCompression, TagsBlockingFirstPaint, WebSQL, MetaDescription, FontSize, CrawlableLinks, MetaRobots, Hreflang, EmbeddedContent, Canonical, RobotsTxt, Fonts
Mon, 11 Jun 2018 14:44:44 GMT Driver:warn Timed out waiting for page load. Moving on...
Mon, 11 Jun 2018 14:44:44 GMT statusEnd Loading page & waiting for onload
Mon, 11 Jun 2018 14:44:44 GMT status Retrieving trace
Mon, 11 Jun 2018 14:44:44 GMT status Retrieving devtoolsLog and network records
If its below or around 4000ms the report sometimes work, but most of the time doesn’t. But it always times out on page load.
The chrome audit tab give the site a performance score of 0 with the following message, but at least it finishes the report:
Something went wrong with recording the trace over your page load. Please run lighthouse again. (NO_FMP)
Environment Information
- Affected Channels: Node
- Lighthouse version: 2.9.4
- Node.js version: 6.1.0
- Operating System: Docker / MacOS / AWS Lambda using lighthouse-lambda
chromeFlags:
exports.flags = [
'--disable-gpu',
'--headless',
'--no-sandbox',
]
If --no-zygote AND/OR
--single-process
are added @ 10000ms maxWaitForLoad, i get this trace:
Mon, 11 Jun 2018 15:04:22 GMT status Initializing…
Mon, 11 Jun 2018 15:04:23 GMT status Loading page & waiting for onload URL, Scripts, CSSUsage, Viewport, ViewportDimensions, ThemeColor, Manifest, RuntimeExceptions, ChromeConsoleMessages, ImageUsage, Accessibility, EventListeners, AnchorsWithNoRelNoopener, AppCacheManifest, DOMStats, JSLibraries, OptimizedImages, PasswordInputsWithPreventedPaste, ResponseCompression, TagsBlockingFirstPaint, WebSQL, MetaDescription, FontSize, CrawlableLinks, MetaRobots, Hreflang, EmbeddedContent, Canonical, RobotsTxt, Fonts
Mon, 11 Jun 2018 15:04:33 GMT Driver:warn Timed out waiting for page load. Moving on...
Mon, 11 Jun 2018 15:04:33 GMT statusEnd Loading page & waiting for onload
Mon, 11 Jun 2018 15:04:33 GMT status Retrieving trace
Mon, 11 Jun 2018 15:04:33 GMT status Disconnecting from browser...
2018-06-11T15:04:33.085Z 3a8b9826-ac72-189e-6fc8-54fef55152bc Error: connect ECONNREFUSED 127.0.0.1:33451
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1198:14)
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Why Are My Ovulation Test Peaks Low? Am I Not Ovulating?
Ideally, your LH levels should be around 1.0 or higher on your peak day as the test line becomes as dark as a...
Read more >LH Surge: When to Detect Peak Fertility with an OPK
Your LH surge initiates the beginning of ovulation & your most fertile period, signaling that an egg is ready to be released from...
Read more >Advanced Digital Ovulation Test - Clearblue
This ovulation test tracks 2 hormones to typically identify 4 or more fertile days - more than any other ovulation test.
Read more >Trying to conceive? Romper Investigates the LH Surge
The LH surge can tell you when you will ovulate. Dr. Eric Levens explains how, and what else to look for in Romper....
Read more >Fertility and Ovulation | The Sperm Bank of California
A person's egg lives for only six to twenty-four hours after ovulation. Using frozen sperm makes timing insemination crucial; while fresh sperm can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hm, yeah that should be enough. Unfortunately this is the one step where LH doesn’t really have any extra information to be logging, it would all be Chrome-side. When you launch Chrome in your environment you can have it dump its output somewhere useful that might give clues.
FWIW you can also enable verbose logging in LH though again, this issue is likely with Chrome logs
const flags = {logLevel: 'verbose'}
@sambokai We updated
lighthouse-lambda
to use the binary of serverless-chrome recently. Your url runs ok now with lighthouse-lambda version 3.1 (or 2.1).