Comments (8)
@AleksandrsJakovlevsVisma Are you willing to test some custom build to confirm the fix?
from puppeteer-sharp.
@kblok Sorry for the delay, I was on vacation.
Yes, I don't mind trying a custom build
from puppeteer-sharp.
@AleksandrsJakovlevsVisma I'm exposing the TaskHelper timeout here. Can you see if increasing the timeout there helps?
That's an static class that will affect the entire library.
from puppeteer-sharp.
@kblok I did the following:
- Downloaded that branch as zip and referenced the csproj in my proj
- I also did one additional change seen below
- In my code I am setting DefaultTimeout to 30 secs
- During testing I am no longer seeing TargetClosedException, but now I am getting 504 gate-way timeouts from the API that is using Puppeteer
from puppeteer-sharp.
@kblok I did the following:
- I also did one additional change seen below
Good catch
- During testing I am no longer seeing TargetClosedException, but now I am getting 504 gate-way timeouts from the API that is using Puppeteer
That would be something on your side right?
from puppeteer-sharp.
Thank you for helping out with this one.
It is the problem on our side, yes. The PDF conversion on average takes 6 seconds, but the request times out after a minute. 200 requests with a max count of simultaneously opened pages = 10 is not enough to make sure each of 200 finishes in a minute. Do you have any advice on how to speed up a simple HTML to PDF conversion? Perhaps there are some magic LaunchOptions args?
In any case, can we expect the configurable default timeout released in the near future?
from puppeteer-sharp.
Thank you for helping out with this one.
It is the problem on our side, yes. The PDF conversion on average takes 6 seconds, but the request times out after a minute. 200 requests with a max count of simultaneously opened pages = 10 is not enough to make sure each of 200 finishes in a minute. Do you have any advice on how to speed up a simple HTML to PDF conversion? Perhaps there are some magic LaunchOptions args?
PDF generate is quite resource intensive. If you look at the code, most of the time is on the browser side.
In any case, can we expect the configurable default timeout released in the near future?
I can ship it today :)
from puppeteer-sharp.
I can ship it today :)
Nice, we will look forward to it, whenever you'll have the time :)
from puppeteer-sharp.
Related Issues (20)
- chrome_crashpad_handler: --database is required Only On Docker HOT 2
- target.asPage in puppeteer c# HOT 1
- Send direct messages HOT 6
- How to watch or active for more than 1 tab in one chrome instance HOT 1
- NetworkManager and others create unobserved exceptions HOT 1
- Refer to this project to support native aot
- Google Chrome for Testing - Multiple Instances on my Server HOT 1
- Improve docfx_project/examples/ReuseChrome.md HOT 1
- Network.setCookies error HOT 1
- Failed to launch browser! chrome_crashpad_handler: --database is required Try 'chrome_crashpad_handler --help' for more information.
- puppeteerSharp failed to display image in pdf HOT 1
- resort:Failed to launch browser。
- Chromium downloads broken for Platform Windows HOT 3
- Problems with frames in frames
- PdfDataAsync timeout in IIS HOT 6
- Timeout errors since updating to 18.0.x with Chrome V124/125 HOT 9
- Timeout of 1000 ms exceeded trying to EvaluateFunctionAsync HOT 3
- Problem with BoundingBoxAsync and non-existing frame HOT 14
- Setting page viewport height and width similar to browser HOT 3
- How to use PuppeteerSharp (v 18.0.1) with Firefox? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppeteer-sharp.