-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error converting document to PDF, LibreOffice timed out after 60 seconds #149
Comments
@michaelpierre , Many of the conversion operations rely on "external programs" such as LibreOffice, executed with a defined timeout. The problem is determining the expected time limit for a program to either complete or be considered as a zombie process: should a timeout be even set/guessed by Potential mitigation optionsDo not set an execution timeout at all
Use a timeout that is proportional to the number of pages
Similar issues previously reported
Other referencesI created another dangerzone version written in Rust due to this problem and for personal exploration. It's more about explaining the rationale as it pertains to this issue, rather than advertising my own minimal solution (developer audience).
|
@michaelpierre , I created an initial release of dangerzone-rust, in case it might be temporarily useful to you or others:
|
Bump the global timeout used for various steps from 1 minute to 2 minutes. The reason is that we've seen several reports of operations failing due to timeout reasons, that were otherwise legitimately running. Also, bump the timeout used for compression, which has been reported as problematic as well. Refs #146 Refs #149
We will bump the timeout in the 0.4.0 release (not yet released). Let's keep this issue open for a little while, so that we can see if an increased timeout helps. Please comment here once you have 0.4.0 installed and this bug still affects you. Else, we can close this issue. Note that increasing the timeout won't solve the underlying issue, but it will make it very rare, which is a good first step. |
Bump the global timeout used for various steps from 1 minute to 2 minutes. The reason is that we've seen several reports of operations failing due to timeout reasons, that were otherwise legitimately running. Also, bump the timeout used for compression, which has been reported as problematic as well. Refs #146 Refs #149
Hi folks. I think this is the last issue for timeouts that is still open, so quick announcement for those who haven't seen the v0.4.1 changelog:
If you still encounter timeout errors, then your environment may be low on resources, as Yves already suggested. In that case, feel free to use the If you still encounter a problem and none of the above solutions work, please reach out to us and create a new issue. For now, we consider this problem resolved. |
I have a 2.1 MB .xlsx Excel file i'm trying to convert to a PDF using DangerZone. I keep getting the captioned error. Other .xlsx Excel files convert successfully using DangerZone except this file. DangerZone is installed in a Ubuntu 20.04.4 VMWare VM on a Windows 11 host. Any idea why this is happening?
The text was updated successfully, but these errors were encountered: