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.

NewPageAsync() hangs on Ubuntu Server 18 (x64)

See original GitHub issue

Description

The method call NewPageAsync() hangs on Ubuntu Server 18.04.1 LTS. On Windows it is working very well. I used the PuppeteerSharpPdfDemo for easier reproducing.

The console shows

Downloading chromium
Navigating google

and then it hangs.

In lsof I can see that the chrome process is running:

chrome    30966          thomas  153u  IPv4 151469      0t0  TCP 127.0.0.1:44037 (LISTEN)

Complete minimal example reproducing the issue

  1. Simply use the PDF demo
  2. Publish to ubuntu server (Release / netcoreapp3.1 / linux-x64)
  3. Run published application on linux

Expected behavior:

Demo application should create PDF on linux system (just like it works under windows)

Actual behavior:

Program hangs forever

Versions

Tested with version 2.0.0 and version 2.0.2 (same behaviour) Targeting .net core 3.1

Additional Information

I love this library. I hope it will run on Linux soon. thank you for your help

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:25 (24 by maintainers)

github_iconTop GitHub Comments

1reaction
ThaDaVoscommented, Apr 10, 2020

I noticed it because my NodeJS playwright kept hanging too 😂

0reactions
ThaDaVoscommented, Apr 10, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

stuck at await browser.NewPageAsync() · Issue #1150
I am just trying to create a simple console app to generate PDF file but program doesn't execute after that line var page...
Read more >
Puppeteer newPage() freezes/ never resolves nor rejects ...
I am using an Ubuntu server 18.04.5 LTS and Puppeteer 10.0.0. My Problem is that the browser.newPage() function never resolves.
Read more >
How to use BrowserFetcher method of PuppeteerSharp. ...
Use the BrowserFetcher method in PuppeteerSharp package in your next Puppeteer-sharp project with LambdaTest Automation Testing Advisor.
Read more >
Ubuntu 18.04 - Google-chrome and Brave 1.0 constantly ...
I have crash reports sitting in /var/crash, but I'm not sure how to filter out any good info. My FireFox is working perfectly,...
Read more >
Google Chrome freezes in UM 18.04
I upgraded to UM 18.04 a few hours ago and I noticed that Google Chrome froze a lot while loading pages. It becomes...
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