question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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.

Issue Analytics

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

github_iconTop GitHub Comments

30reactions
nightvision04commented, May 29, 2018

Any fix on this yet?

4reactions
aslushnikovcommented, Nov 15, 2018

Dupe of #1925

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lost UI Shared Context Error - Running protractor tests in ...
My intention is to check I can run in headless mode fine locally and then I want to get it running also in...
Read more >
Chromedriver Showing Lost Ui Shared Context - ADocLib
Issue 2305: Error when running sample Selenium test file: Lost UI shared ... page.screenshot makes a screenshot with the clip dimensions not cutting...
Read more >
chrome-error /chromewebdata/ 6772 - You.com | The AI ...
This appears when the browser is not able to open an application · One way to fix this problem is to adjust your...
Read more >
Can't get dumpio on Apache 2.4 Oracle Linux 8.6 php 8
I put the block dumpio_module block at the end of my httpd.conf and deleted it from the virtualHost. Restartet Apache. httpd -M shows...
Read more >
"Lost UI shared context" on Headless Chromium ...
I'm trying to install chromium headless on Ubuntu 16.x server (no desktop). I've googled around for a while now but I can't seem...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found