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

Occasional crash "Session closed. Most likely the page has been closed" #69

Closed
JonnyBurger opened this issue Feb 12, 2021 · 5 comments · Fixed by #84
Closed

Occasional crash "Session closed. Most likely the page has been closed" #69

JonnyBurger opened this issue Feb 12, 2021 · 5 comments · Fixed by #84
Projects

Comments

@JonnyBurger
Copy link
Member

I occasionally get the error from Puppeteer "Session closed. Most likely the page has been closed", especially when heavily multithreading. Wondering if it can be fixed by upgrading puppeteer, retrying etc.

@JonnyBurger JonnyBurger added this to Planned in Roadmap Feb 12, 2021
@mahmoodfathy
Copy link

@JonnyBurger it's actually erroring that puppeteer can't take a screen shot after some time during building my video , this error happened when my video got slightly bigger , i don't know why , the bundling renders the first 15% only
faliure

@mahmoodfathy
Copy link

@JonnyBurger After some further investigation turns out this error due to the Img component in remotion , it kept not bundling and failing to screenshot cause of that component when i changed it to a normal img tag it worked as expected , dont know why tho it's pretty weird

@JonnyBurger
Copy link
Member Author

Very interesting, don't know why it could be, but I use it as a pointer in my investigation! Thank you!

@mahmoodfathy
Copy link

when i used it in my development it appeared normally in the video , but kept failing the video rendering , i suspect that it didn't load so puppeteer couldn't take a screenshot of the image

@JonnyBurger
Copy link
Member Author

After upgrading Puppeteer, the error is gone!
Will be fixed in the next release. You can try the newest alpha on NPM 1.3.0-alpha.39ecd4ef (Upgrade remotion, @remotion/bundler, @remotion/cli, @remotion/eslint-config, @remotion/renderer)

@JonnyBurger JonnyBurger moved this from In progress to Done in Roadmap Feb 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants