-
Notifications
You must be signed in to change notification settings - Fork 23k
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
[14.0] Downloading of larger computed binary files gets truncated in worker mode #67221
Comments
@yajo this sounds a lot to me. Do you remember how do we fixed it? |
Increase the env variable |
@yajo what it's a good value for the Loading pages (1/6)
Error: Failed to load http://localhost:9003/web/content/158890-55adc32/web.report_assets_pdf.0.css, with network status code 4 and http status code 0 - Socket operation timed out
Error: Failed to load http://localhost:9003/web/content/161543-6c38704/web.report_assets_common.0.css, with network status code 4 and http status code 0 - Socket operation timed out
Error: Failed to load http://localhost:9003/web/content/161544-6c38704/web.report_assets_common.1.css, with network status code 4 and http status code 0 - Socket operation timed out
Counting pages (2/6)
Resolving links (4/6)
Loading headers and footers (5/6)
Error: Failed to load http://localhost:9003/web/content/158890-55adc32/web.report_assets_pdf.0.css, with network status code 4 and http status code 0 - Socket operation timed out
Error: Failed to load http://localhost:9003/web/content/161543-6c38704/web.report_assets_common.0.css, with network status code 4 and http status code 0 - Socket operation timed out
Error: Failed to load http://localhost:9003/web/content/161544-6c38704/web.report_assets_common.1.css, with network status code 4 and http status code 0 - Socket operation timed out
Printing pages (6/6)
Done Reverting back to default value 2 solve the issue with wkhtmltopdf |
The best explanation you can find it in code: Lines 1072 to 1078 in 0991993
The correct value depends on your environment. Enable buffering in your reverse proxy for best results: #20158 (comment) |
Impacted versions:
14.0
Steps to reproduce:
Ubuntu 20.04 + Python3.8 + workers > 1
Current behavior:
With workers enabled the downloading of a 17 MB computed binary field is being truncated strangely at sizes varying from 11.9 to 14.6 MB. I have experimented with worker memory limits and cpu timeouts to no avail. These shouldn't be factors anyway as the computation completes quite quickly
Disabling workers and the download completes fully
Expected behavior:
The file downloads fully
The text was updated successfully, but these errors were encountered: