This issue has been created
There are 11 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-105a7421-aa19-4678-a5a4-de2285ed5845 XWIKI-23599 Open

Large PDF export fails with timeout even if the page ready timeout is increased

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-faf3d740-e1c2-4564-b962-433039c18f73 Marius Dumitru Florea created this issue on 14/Oct/25 17:47
 
Summary: Large PDF export fails with timeout even if the page ready timeout is increased
Issue Type: cid:jira-generated-image-avatar-105a7421-aa19-4678-a5a4-de2285ed5845 Bug
Affects Versions: 16.10.8, 17.4.0-rc-1
Assignee: Unassigned
Components: Export - PDF
Created: 14/Oct/25 17:47
Priority: cid:jira-generated-image-static-blocker-4a9d1db9-e35b-480e-8f83-45c76881f4b4 Blocker
Reporter: Marius Dumitru Florea
Description:

In order to reproduce you need to:

  • increase the page ready timeout from the PDF export administration section to 300s (5m)
  • perform a large export (500+ print pages), that takes at least 1m30s (but less than 5m) to run

The outcome is that the PDF export fails with a timeout:

com.github.kklisura.cdt.services.exceptions.ChromeDevToolsInvocationException: Timeout expired while waiting for server response. at com.github.kklisura.cdt.services.impl.ChromeDevToolsServiceImpl.invoke(ChromeDevToolsServiceImpl.java:149) at com.github.kklisura.cdt.services.invocation.CommandInvocationHandler.invoke(CommandInvocationHandler.java:87) at jdk.proxy763/jdk.proxy763.$Proxy1028.printToPDF(Unknown Source) at org.xwiki.export.pdf.internal.chrome.ChromeTab.printToPDF(ChromeTab.java:155) at org.xwiki.export.pdf.browser.AbstractBrowserPDFPrinter.print(AbstractBrowserPDFPrinter.java:140) at org.xwiki.export.pdf.browser.AbstractBrowserPDFPrinter.print(AbstractBrowserPDFPrinter.java:59) at org.xwiki.export.pdf.internal.job.PDFExportJob.saveAsPDF(PDFExportJob.java:180) at org.xwiki.export.pdf.internal.job.PDFExportJob.exportAsPDF(PDFExportJob.java:104) at org.xwiki.export.pdf.internal.job.PDFExportJob.runInternal(PDFExportJob.java:81) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:246) at org.xwiki.job.AbstractJob.run(AbstractJob.java:223) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840)
 
 

11 updates

 
cid:jira-generated-image-avatar-faf3d740-e1c2-4564-b962-433039c18f73 Changes by Marius Dumitru Florea on 14/Oct/25 17:48
 
Fix Version: 16.10.13
Fix Version: 17.9.0-rc-1
Fix Version: 17.4.6
Development Priority: High
Difficulty: Unknown Easy
Documentation: N/A
Documentation in Release Notes: N/A
Description: In order to reproduce you need to:

* increase the page ready timeout from the PDF export administration section to 300s (5m)
* perform a large export (500+ print pages), that takes at least 1m30s (but less than 5m) to run

The outcome is that the PDF export fails with a timeout:

{noformat}
com.github.kklisura.cdt.services.exceptions.ChromeDevToolsInvocationException: Timeout expired while waiting for server response.

at com.github.kklisura.cdt.services.impl.ChromeDevToolsServiceImpl.invoke(ChromeDevToolsServiceImpl.java:149)
at com.github.kklisura.cdt.services.invocation.CommandInvocationHandler.invoke(CommandInvocationHandler.java:87)
at jdk.proxy763/jdk.proxy763.$Proxy1028.printToPDF(Unknown Source)
at org.xwiki.export.pdf.internal.chrome.ChromeTab.printToPDF(ChromeTab.java:155)
at org.xwiki.export.pdf.browser.AbstractBrowserPDFPrinter.print(AbstractBrowserPDFPrinter.java:140)
at org.xwiki.export.pdf.browser.AbstractBrowserPDFPrinter.print(AbstractBrowserPDFPrinter.java:59)
at org.xwiki.export.pdf.internal.job.PDFExportJob.saveAsPDF(PDFExportJob.java:180)
at org.xwiki.export.pdf.internal.job.PDFExportJob.exportAsPDF(PDFExportJob.java:104)
at org.xwiki.export.pdf.internal.job.PDFExportJob.runInternal(PDFExportJob.java:81)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:246)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:223)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
{noformat}
Assignee: Marius Dumitru Florea
Tests: Unit
Labels: regression