puppeteer: Pages not loading, screenshots empty. DumpIO Error: Lost UI shared context

Steps to reproduce

Tell us about your environment:

  • Puppeteer version: 1.0.0
  • Platform / OS version: Ubuntu 16.04
  • URLs (if applicable): google.com
  • Node.js version: 8.9.4

What steps will reproduce the problem?

Please include code that reproduces the issue.

const puppeteer = require('puppeteer');

(async() => {

const browser = await puppeteer.launch({dumpio: true});
const page = await browser.newPage();

page.on('load', () => console.log('Loaded: ' + page.url()))

await page.goto('https://google.com');
await page.screenshot({path: 'example.png'});

browser.close();
})();

Console output:

[0117/125830.649194:ERROR:gpu_process_transport_factory.cc(1043)] Lost UI shared context.

DevTools listening on ws://127.0.0.1:37429/devtools/browser/1f0b2bf7-dfdd-44ac-9da7-f2659d352f0d
Loaded: chrome-error://chromewebdata/

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.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 6
  • Comments: 27 (2 by maintainers)

Most upvoted comments

Any fix on this yet?

Dupe of #1925

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 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…

@ebidel I don’t think so, I’m not doing anything with python (or proxy chains as far as I am aware)