"Did not get to load all resources on this page"
See original GitHub issueWhen using Zombie on a long running process (24+ hours) I occasionally run in to this error:
Error: Timeout: did not get to load all resources on this page
at /node_modules/zombie/lib/index.js:1383:14
at done (/node_modules/zombie/lib/eventloop.js:554:7)
at timeout (/node_modules/zombie/lib/eventloop.js:543:31)
at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
Once this error appears, all subsequent Zombie requests fail. Restarting the server resolves the issue.
Here’s our implementation of Zombie:
Zombie 3.1.0 Node 0.10.31
Zombie.visit(url, {
runScripts: true,
loadCSS: false,
silent: true,
headers: {
bot: true
}
}, function(err, browser, status) {
if (err) return next(err);
var html = browser.html();
});
Any ideas?
Issue Analytics
- State:
- Created 8 years ago
- Comments:34 (3 by maintainers)
Top Results From Across the Web
Zombie.js Error: Timeout: did not get to load all resources on ...
js is throwing an error Error: Timeout: did not get to load all resources on this page . It's always super random and...
Read more >4 Ways to Fix the “Failed to Load Resource: net - Kinsta
A common culprit in Google Chrome is the cache. To reset your Chrome cache, open up the browser. Navigate to your Chrome settings...
Read more >Fixing the Failed to Load Resource Error in WordPress
How to Fix the “Failed to Load Resource” Errors in WordPress · Edit the WordPress URL · Look for Another Theme · Disable...
Read more >Before all hook error (Timeout: did not get to load all resources ...
Tell us what's happening: So I'm getting the following error: 1) Functional Tests with Zombie.js "before all" hook in "Functional Tests with ...
Read more >Google unable to load all page resources which is causing ...
Page partially loaded Not all resources page can be loaded. This may affect the way Google sees and interprets your page. Fix availability ......
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
👍
edit I just increased the waitDuration to make it go away for me:
I’ve had this problem, not in a long running process, but because of a tag in google tag manager. It was loading a javascript file, that included another js file, which finally loaded an iframe. Something about that code was causing zombie to reliably throw this error.
Here’s the actual tag if it’s helpful: