NewPageAsync() hangs on Ubuntu Server 18 (x64)
See original GitHub issueDescription
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
- Simply use the PDF demo
- Publish to ubuntu server (Release / netcoreapp3.1 / linux-x64)
- 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:
- Created 4 years ago
- Comments:25 (24 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I noticed it because my NodeJS playwright kept hanging too 😂
Like this: https://github.com/hardkoded/puppeteer-sharp/pull/1459