Hi,
There is a inconstant error on UltimatePDF when is used PrintToPDF, after the error appears if we try to generate the PDF again is very fast without errors.
It seems when we use the redirect approach to download the PDF is slow as well but there is no error but with this approach we can't control when the download finished if we want to put some loading on screen.
Someone have solution for that?
Thanks in advance
The only solution I found for react is to increase the timeout of module, SetTimeout it's for HTTP call and in React doesn't work because it's an API REST call.
Here the details: https://www.outsystems.com/forums/discussion/64948/server-request-timeout-reactive-web/
I am still getting the same error even after increasing the Server Request Timeout of the module.
Error:An error occurred while generating the pdf (url). The operation has timed out
Hi,It happened to me that sometimes used to see no content but connection time out error inside the downloaded pdf. It was usually happening when the pdf content was large and it took time to fetch data. Since there was no way to control the download until the whole data is fetched. I just increased the timeout to 60 after that it is working. Though this is just a workaround. Not sure if this would help.
I already add this problem with empty page, no query to run....
How did you increased the timeout?
Thanks
Hi Paulo,
you have a SetRequestTimeout method from HTTPRequestHandler extension
Hope that it helps you,
Thanks Alexandre.
I thought it was otherwise, because in previous versions of PDF Ultimate I think there was a Site property to define the Timeout.
And it seems exist some action but maybe it's for another thing.
Thanks a lot both guys
It seems this approach doesn't work for me, I add the action for SetTimeout with 100 and I continue having the issue. After the error I click again and it's very fast. Some ideas?
Any ideas? I'm in react application