Hello,
I'm currently on a eval-license to test if confluence is for my needs.
So far all works as expected. I face currently only on issue.
Export to PDF is unusable. I try to export a very simple page, only a few lines of text on it. Most times it run in a timeout(180 seconds), sometimes it works, but took also very long time(2 minutes)
On the server i see at beginning a short spike for a few seconds on CPU, then idle. So it can't be CPU bounded.
Export to Word works immediately.
Running on
Confluence 7.4
VM (KVM) with 4 vCPUs 8 GB Memory
Centos 8.1
OpenJDK Java 11.
In front of confluence runs a nginx as reverseproxy.
Any idea, if it a configuration problem, or a bug?
Hi @[deleted] !
Could you please find the log entries associated with the process of export and post them here?
Under the System information there should be a line indicating where your log files might be at.
Hi,
here the a part of the output from the error-page. The hole stacktrace is to long for here. I see only the timeout problems in the log. The complete log output are to much for here to post. Maybe one problem in my case is, it use the Datacenter process, which i will definitely not use. I'll go only for the 10 User license.
Cause
java.lang.RuntimeException: com.atlassian.confluence.importexport.ImportExportException: We couldn't complete your export. The page "RSPAMD - howto reset statistics and reboot bayes training" took too long to convert. <a href="https://docs.atlassian.com/confluence/docs-74/PDF+export+in+Confluence+Data+Center">Learn more</a>
at com.atlassian.confluence.extra.flyingpdf.impl.ExportPageAsPdfAction.doExecute(ExportPageAsPdfAction.java:56)
caused by: com.atlassian.confluence.importexport.ImportExportException: We couldn't complete your export. The page "RSPAMD - howto reset statistics and reboot bayes training" took too long to convert. <a href="https://docs.atlassian.com/confluence/docs-74/PDF+export+in+Confluence+Data+Center">Learn more</a>
at com.atlassian.confluence.extra.flyingpdf.sandbox.SandboxXmlToPdfConverter.convertXhtmlToPdf(SandboxXmlToPdfConverter.java:101)
caused by: com.atlassian.confluence.util.sandbox.SandboxTimeoutException: Sandbox request has been killed because it exceeded time limit of 180 seconds
at com.atlassian.confluence.impl.util.sandbox.SandboxProcess.tryToThrowSpecificException(SandboxProcess.java:227)
caused by: java.io.IOException: Stream closed
at java.base/java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:176)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, can here only provide a short of the output due to length limitation here.
java.lang.RuntimeException: com.atlassian.confluence.importexport.ImportExportException: We couldn't complete your export. The page "RSPAMD - howto reset statistics and reboot bayes training" took too long to convert. <a href="https://docs.atlassian.com/confluence/docs-74/PDF+export+in+Confluence+Data+Center">Learn more</a>
at com.atlassian.confluence.extra.flyingpdf.impl.ExportPageAsPdfAction.doExecute(ExportPageAsPdfAction.java:56)
caused by: com.atlassian.confluence.importexport.ImportExportException: We couldn't complete your export. The page "RSPAMD - howto reset statistics and reboot bayes training" took too long to convert. <a href="https://docs.atlassian.com/confluence/docs-74/PDF+export+in+Confluence+Data+Center">Learn more</a>
at com.atlassian.confluence.extra.flyingpdf.sandbox.SandboxXmlToPdfConverter.convertXhtmlToPdf(SandboxXmlToPdfConverter.java:101)
caused by: com.atlassian.confluence.util.sandbox.SandboxTimeoutException: Sandbox request has been killed because it exceeded time limit of 180 seconds
at com.atlassian.confluence.impl.util.sandbox.SandboxProcess.tryToThrowSpecificException(SandboxProcess.java:227)
caused by: java.io.IOException: Stream closed
at java.base/java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:176)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
short output from the error-page. Attachement here not possible, so it would be to much to put the complete logfiles here or even parts of it.
java.lang.RuntimeException: com.atlassian.confluence.importexport.ImportExportException: We couldn't complete your export. The page "RSPAMD - howto reset statistics and reboot bayes training" took too long to convert. <a href="https://docs.atlassian.com/confluence/docs-74/PDF+export+in+Confluence+Data+Center">Learn more</a>
at com.atlassian.confluence.extra.flyingpdf.impl.ExportPageAsPdfAction.doExecute(ExportPageAsPdfAction.java:56)
caused by: com.atlassian.confluence.importexport.ImportExportException: We couldn't complete your export. The page "RSPAMD - howto reset statistics and reboot bayes training" took too long to convert. <a href="https://docs.atlassian.com/confluence/docs-74/PDF+export+in+Confluence+Data+Center">Learn more</a>
at com.atlassian.confluence.extra.flyingpdf.sandbox.SandboxXmlToPdfConverter.convertXhtmlToPdf(SandboxXmlToPdfConverter.java:101)
caused by: com.atlassian.confluence.util.sandbox.SandboxTimeoutException: Sandbox request has been killed because it exceeded time limit of 180 seconds
at com.atlassian.confluence.impl.util.sandbox.SandboxProcess.tryToThrowSpecificException(SandboxProcess.java:227)
caused by: java.io.IOException: Stream closed
at java.base/java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:176)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
somehow it hard to post here some stacktraces...
i got in the error page mainly the following
caused by: com.atlassian.confluence.util.sandbox.SandboxTimeoutException: Sandbox request has been killed because it exceeded time limit of 180 seconds
at com.atlassian.confluence.impl.util.sandbox.SandboxProcess.tryToThrowSpecificException(SandboxProcess.java:227)
caused by: java.io.IOException: Stream closed
at java.base/java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:176)
much longer in the log-files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey, @[deleted]
The following might be useful:
Confluence diagnostics: sandbox crashed or was terminated during document conversion
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
haven't deeper dived in this problem. I replaced the license with a server-license instead of the datacenter one(was by created by accident). Now it works as expected fast.
There might be something special to configure to setup the datacenter version correct. But this is out of my scope.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.