-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Pages not loading, screenshots empty. DumpIO Error: Lost UI shared context #1828
Comments
I tried same code on my local machine (MacBook Pro). it worked. Console Output:
|
Yes it works fine on my Mac too |
Can you test with const puppeteer = require('puppeteer');
(async() => {
const browser = await puppeteer.launch({args: ['--no-sandbox', '--disable-setuid-sandbox']});
const page = await browser.newPage();
await page.goto('https://google.com');
await page.screenshot({path: 'example.png'});
browser.close();
})(); |
Still a blank screenshot (And no console output because dumpio is turned off) |
Puppeteer (0.13.0) was working working ok a couple of weeks ago. Since then all I've done is reboot the machine and it stopped working. I upgraded to 1.0.0 to see if that worked but it hasn't made any difference.
|
Puppeteer upgraded chrome version to 65.0.3312.0 (r526987) in the 1.0.0 version. (https://github.com/GoogleChrome/puppeteer/releases/tag/v1.0.0) Maybe it's related to #290 issue. |
I did see that issue when I was searching but it's weird that there's no error message to say that chromium can't be started. I checked the list of dependencies and they are all installed |
When I run it returns:
|
When I run it returns:
|
@webdevian #1464 (comment) related? |
@ebidel I don't think so, I'm not doing anything with python (or proxy chains as far as I am aware) |
I have the same issue (screenshots empty) but after working node app for a 2-3 days (everything is ok before this term) and I don't understand why this happening... |
I'm having a similar issue. I'm generating PDFs on Heroku. It works great on my mac, but on Heroku it doesn't.
My stdout is:
|
I have the excact same issue on v1.0.0 and v1.1.1 versions while v0.10.2 was working very well. I'm on AWS Lambda, Node 6.10 (using this https://github.com/sambaiz/puppeteer-lambda-starter-kit). But it works fine on my local machine. Also I've noticed that even if I use --disable-gpu parameter it still complains about missing libosmesa (this is not present in v0.10.2). |
I'm also seeing the Weirdly, I do get console information about the page loading but it just seems detached from puppeteer. Has anyone figured out a work around - or a docker container that does indeed work? |
Having the same issue, working on Mac, but on Debian production server it return blank pages "sometimes". When I try to screenshot the same page 5 times in a row, there are like 2-3 screenshots missing, and rest is ok, but everything return |
For the record I am still seeing |
same issue running on iis |
FWIW, I'm getting this too, using Testem with raw chromium, not with Puppeteer, so I think it's a problem with the version of Chrome that is used with the latest puppeteer. |
Maybe related: #1925 |
I have the same error message when trying to start headless chrome from linux terminal: Chrome 66.0.3359.181 Same result with command:
|
Any fix on this yet? |
On mac it seems to be fine but on ubuntu I have the same error. For some reason this image behaves different on mac and on linux. |
I reproduced this on Travis.ci here: link It's quite important to solve it because this issue makes docker container useless. |
Ok so i reproduced it but on my Linux server after this error script stoppes on await page.content() but on travis it pass through... I give up actually first .goto() is crashing (unresolved promise) but in timeout try catch I'm trying to execute page.content() but it stuck too. I think i did everything what i could, now your turn.. ;) |
Dupe of #1925 |
Could anyone help me out in knowing why is this error being occurred in console? |
Steps to reproduce
Tell us about your environment:
What steps will reproduce the problem?
Please include code that reproduces the issue.
Console output:
What is the expected result?
Screenshot of google homepage generated. (I can curl google fine from the machine)
What happens instead?
Blank white screenshot generated.
The text was updated successfully, but these errors were encountered: