You are viewing limited content. For full access, please sign in.

Question

Question

Timeout expired to exiting call to wkhtmltopdf.exe

asked on January 11, 2019 Show version history

Our Forms Save to Repository processes started suspending a couple of days ago. We have upgraded to 10.3.1 hoping this would solve the issue, it did not. Timeout increase was attempted without any success.

Has anyone else experienced this? This is our third day without Forms and we desperately need this application functional. Any suggestions would be appreciated.

We are also unable to run wkhtmltopdf via the command prompt. 

 

0 0

Replies

replied on February 25, 2019

On Forms 10.2 and 10.3, the default timeout setting to generate a PDF from HTML is 1 minute. When the form used in the save to repository task is long or IIS is slow, it is possible to hit this 1 minute timeout, making the task suspend intermittently. 

An administrator can add

<add key="HtmltoPdfTimeout" value="600000"/>

in RoutingEngineServiceHost.exe.config to increase this timeout to 10 minutes. Make sure to backup the config file before making any changes. 

We've increased the default timeout in Forms 10.4 to 10 minutes, so you shouldn't see the issue there. 

1 0
replied on February 25, 2019

I am giving this a try and testing.

 

Thank you for the update

 

Keep you posted

0 0
replied on August 1, 2019

Just to add a note to this. We upgraded our test environment from 10.3.1 to 10.4.1 awhile back, but I just checked and the timeout value was only set to 120000.

I checked the production environment (still on 10.3.1) config file and it didn't seem to have that key value at all.

0 0
replied on August 5, 2019

Forms by default will not have key HtmltoPdfTimeout in RoutingEngineServiceHost.exe.config, the default timeout is configured through the code. If you have HtmltoPdfTimeout key in the config, it should be migrated from previous version. You can remove it from the config file if you want to use the default timeout value configured in the code.

0 0
replied on August 5, 2019

That's interesting, the key in our test environment must have been added by one of our other admins. Thanks for the info!

0 0
replied on January 23, 2020

Hi Jared, thanks for your indications. Problem solved for us!.

1 0
replied on January 11, 2019

If you have not already, you should open a support case with your VAR.

0 0
replied on January 13, 2019

Have you tried uninstall the wkhtmltox first then reinstall it again? Upgrade to 10.3.1 won't reinstall this third party software. And your issue seems related to this third party software not working.

0 0
replied on February 15, 2019

Hi There,

 

I have reinstalled the application with no luck.

 

Any Advice on how this could be corrected?

 

Kind regards,

 

Freddie

0 0
replied on February 25, 2019

My Problem seems to be exactly the same. Also just started randomly and Event viewer pointing towards the same error.

 

Please advise if any there is an update on this matter.

 

Thanks

Regards

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.