Hello.
I tried to generate a PDF using UltimatePDF version 5.1.1, but a connection timeout occurred in the UltimatePDF_Service.
I investigated the cause of the error and found a PuppeteerSharp.NavigationException in StartAndWait in AsyncUtils.cs.
What are the possible causes?
Thank you in advance.
Hi Fukuda,
Ultimate PDF uses puppeteer headless browser to render the web page and that runs on separate process from the hosted server. You need to check that website is rendering from that server may be some firewall or proxy is blocking the request causing error connection time out.
Best Regards
Devendra
Hi Devendra.
Thanks for the advice.
I launched a browser on the front-end server and connected to the target URL in order to verify if it is blocked by a firewall or proxy.
As a result, the HTTP status code was 500.
I am assuming that if it is blocked by a firewall or proxy, the HTTP status code would return 408, etc.
Am I using the wrong verification method?
Hi fukuda,
Please refer below url
https://www.webnots.com/fix-err_connection_timed_out-error-in-chrome/
The idea is in order to work that ULTIMATE PDF web app should render from the server.
Did you try to use the SetRequestTimeout from HttpRequestHandler?