-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Timeout exception despite all requests being done and using networkidle0 option #3599
Comments
@ZigaStrgar so I read this as if |
@aslushnikov I'm sorry but I can't share the specific URL with you since it's an internal application. But I can tell you that on the page is rendered only a I've also opened an issue on chromium.org also and there is a guy saying that Raw HTML of the page: <html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Screenshot</title>
<meta name="csrf-token" content="{{ csrf_token() }}">
</head>
<body>
<div id="root">
<url-graph url="/custom/graphs/data/{{ $type }}"></url-graph>
</div>
<script src="/js/app.js"></script>
</body>
</html> Template of <template>
<div>
<canvas width="800" height="600" ref="graph"></canvas>
</div>
</template> |
@ZigaStrgar ah, I see you use
I don't see any reasons why this might happen. |
Closing this as a dupe of #3471. |
Steps to reproduce
Tell us about your environment:
What steps will reproduce the problem?
What is the expected result?
I'm trying to create a screenshot of a chart build from the URL parameters. And save it to the drive and later include it in the automated email reporting service. At the requested webpage the only 3 items loading are
favicon.ico
,app.js
as the main JS file containing all the Vue components and libraries used in the process and the last one is an AJAX request to the backend where it gets and manipulates the data to correct format for a given chart.While visiting the URL in browser get's me the "final" product, the script fails.
What happens instead?
I receive the
TimeoutError
but when profiling the page all the requests finish in less than 30 seconds as that is the default setting.Please take note that I did NOT include the code of whole file screenshot.js so that 18:24 may be wrong but it is pointing to the line
await page.goto
Further notes to take into consideration
yarn upgrade
which upgraded HeadlessChrome from71.0.3563.0
to72.0.3582.0
the problem arrivedNavigation Timeout Exceeded
when usingnetworkidle0
and no insight into what timed out #1908 more exactlyNavigation Timeout Exceeded
when usingnetworkidle0
and no insight into what timed out #1908 (comment) and the array of requests printed in thecatch
was empty so all requests were done. I've tested this with 300ms timeout limit and it printed out the AJAX request URL.1.9.0
Update (28th Novembre)
Again rerolled the version back to working and only upgraded the puppeteer package with
yarn upgrade puppeteer
and the issue persisted. This is the yarn log that was outputted while doing that.And the only package that changed alongside with puppeteer was mime which was upgraded from
2.3.1
to2.4.0
The text was updated successfully, but these errors were encountered: