Web2print pdfreactor timeout

Hi,

I’m working to a big catalogue (300 pages), all product categories are grouped in different printcontainers and in categorie I have a printcontainer for each product.

I’m getting randomly the error “Conversion timeout is 30 seconds” after reaching 100% progress in generating PDF.

Unpublishing and publishing some printcontainers it may work or not, depending on something I don’t know.

I see there is a pdfreactor configuration parameter called conversionTimeout that could be used with pdfreactor webservice but I don’t know how and where to set it.

This is my latest web2print-output.log:

!#/usr/bin/env php
08:35:52 ERROR [pimcore] Exception: Conversion timeout is 30 seconds in /var/www/sphera/vendor/pimcore/pimcore/lib/Web2Print/Processor/api/v9.0/PDFreactor.class.php:471
Stack trace:
#0 /var/www/sphera/vendor/pimcore/pimcore/lib/Web2Print/Processor/PdfReactor8.php(159): PDFreactor->getDocument()
#1 /var/www/sphera/vendor/pimcore/pimcore/lib/Web2Print/Processor.php(110): Pimcore\Web2Print\Processor\PdfReactor8->buildPdf()
#2 /var/www/sphera/vendor/pimcore/pimcore/bundles/CoreBundle/Command/Web2PrintPdfCreationCommand.php(46): Pimcore\Web2Print\Processor->startPdfGeneration()
#3 /var/www/sphera/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(255): Pimcore\Bundle\CoreBundle\Command\Web2PrintPdfCreationCommand->execute()
#4 /var/www/sphera/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(953): Symfony\Component\Console\Command\Command->run()
#5 /var/www/sphera/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(87): Symfony\Component\Console\Application->doRunCommand()
#6 /var/www/sphera/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(273): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand()
#7 /var/www/sphera/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(73): Symfony\Component\Console\Application->doRun()
#8 /var/www/sphera/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(149): Symfony\Bundle\FrameworkBundle\Console\Application->doRun()
#9 /var/www/sphera/bin/console(26): Symfony\Component\Console\Application->run()
#10 {main}
08:35:52 ERROR [pimcore] Exception: Error during REST-Request:Conversion timeout is 30 seconds in /var/www/sphera/vendor/pimcore/pimcore/lib/Web2Print/Processor/PdfReactor8.php:164
Stack trace:
#0 /var/www/sphera/vendor/pimcore/pimcore/lib/Web2Print/Processor.php(110): Pimcore\Web2Print\Processor\PdfReactor8->buildPdf()
#1 /var/www/sphera/vendor/pimcore/pimcore/bundles/CoreBundle/Command/Web2PrintPdfCreationCommand.php(46): Pimcore\Web2Print\Processor->startPdfGeneration()
#2 /var/www/sphera/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(255): Pimcore\Bundle\CoreBundle\Command\Web2PrintPdfCreationCommand->execute()
#3 /var/www/sphera/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(953): Symfony\Component\Console\Command\Command->run()
#4 /var/www/sphera/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(87): Symfony\Component\Console\Application->doRunCommand()
#5 /var/www/sphera/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(273): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand()
#6 /var/www/sphera/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(73): Symfony\Component\Console\Application->doRun()
#7 /var/www/sphera/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(149): Symfony\Bundle\FrameworkBundle\Console\Application->doRun()
#8 /var/www/sphera/bin/console(26): Symfony\Component\Console\Application->run()
#9 {main}