Error while executing pdf-utils operations. Timeout during execution of templating engine



  • Hey @jan_blaha @bjrmatos,
    Hope you're doing well,

    I'm facing issue while executing the report with large number of data,
    The error is "Error while executing pdf-utils operations. Timeout during execution of templating engine"

    Error: Error while executing pdf-utils operations. Timeout during execution of templating engine
        at module.exports (/app/node_modules/jsreport-core/lib/util/createError.js:11:13)
        at Reporter.createError (/app/node_modules/jsreport-core/lib/reporter.js:332:12)
        at AsyncFunction.<anonymous> (/app/node_modules/jsreport-pdf-utils/lib/main.js:382:22)
        at processTicksAndRejections (internal/process/task_queues.js:97:5)
    caused by: Error: Timeout during execution of templating engine
        at process.<anonymous> (/app/node_modules/script-manager/lib/worker-processes.js:55:23)
        at process.emit (events.js:311:20)
        at emit (internal/child_process.js:876:12)
        at processTicksAndRejections (internal/process/task_queues.js:85:21)
    

    and here is my config file data

    {
        "extensions": {
            "fs-store": {
                "dataDirectory": "data",
                "syncModifications": {
                    "updateStudio": true
                  }
            },
            "chrome-pdf": {
                "timeout": 600000
            }
        },
        "store": {
            "provider": "fs"
        },
        "allowLocalFilesAccess" : true,
        "templatingEngines" : { 
            "allowedModules": ["handlebars-group-by"]
        }
    }
    

    If can you have a look at the issue once, what can be the reason behind it that will be great!

    Thanks!



  • Please always share the jsreport version you use...

    Try to set config "reportTimeout": 60000 or "templatingEngines": { "timeout": 60000 }


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.