The html manual download is corrupt #104654

Closed
opened 2023-12-09 02:33:43 +01:00 by steve · 5 comments

Page Information
File: ``
Blender Version: 4.01`
Documentation Language: english
Permanent Link

Short description of error
The .zip file containing the html version of the manual is corrupt and will not unpack in winrar or windows10

**Page Information** File: `` Blender Version: 4.01` Documentation Language: english [Permanent Link]() **Short description of error** The .zip file containing the html version of the manual is corrupt and will not unpack in winrar or windows10
steve added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-12-09 02:33:44 +01:00
Contributor

There is indeed something wrong. Using 7z to open it, there's a 'Not Found (404)' 404.html page at the root.

There is indeed something wrong. Using 7z to open it, there's a 'Not Found (404)' 404.html page at the root.
Danny McGrath was assigned by Aaron Carlisle 2023-12-13 02:14:01 +01:00
Arnd Marijnissen was assigned by Aaron Carlisle 2023-12-13 02:14:02 +01:00
Member

Seems like Cloudflare is blocking the download from exceeding a size limit.

I get this error when extracting: Unexpected end of archive.

Seems like Cloudflare is blocking the download from exceeding a size limit. I get this error when extracting: `Unexpected end of archive`.
Member

I had a chat with a Cloudflare tech, but they only suggested that it could be due to a missing Content-Length header. Unfortunately, we are sending the header from the backend server (origin). It's unclear if there is something else causing them to not send the header, but attempts to block caching of those particular URL proved futile.

I had a chat with a Cloudflare tech, but they only suggested that it could be due to a missing Content-Length header. Unfortunately, we are sending the header from the backend server (origin). It's unclear if there is something else causing them to not send the header, but attempts to block caching of those particular URL proved futile.
Member

I dug a little deeper and was noticing that the webserver was also missing a merged upstream config option to load mod_http2 and enable the protocol as well.

While the origin server now allows HTTP/2 and ALPN supports the negotiated upgrade, it still seems like the upstream isn't sending the Content-length headers, which could be related to a problem they have pointed us towards, still:

https://developers.cloudflare.com/cache/troubleshooting/chunked-encoding-and-dynamic-content/

I will continue to kick and test things, but the act of having to tweak rules, wait (unknown times), purge caches, re-test etc, takes some time.

I dug a little deeper and was noticing that the webserver was also missing a merged upstream config option to load mod_http2 and enable the protocol as well. While the origin server now allows HTTP/2 and ALPN supports the negotiated upgrade, it still seems like the upstream isn't sending the Content-length headers, which could be related to a problem they have pointed us towards, still: https://developers.cloudflare.com/cache/troubleshooting/chunked-encoding-and-dynamic-content/ I will continue to kick and test things, but the act of having to tweak rules, wait (unknown times), purge caches, re-test etc, takes some time.
Member

It would appear that a Cloudflare feature called "workers", which hijacks requests to inject code into a request as part of our recent fund campaign was the cause of the content being cut short.

I have disabled this code for now while the team looks into an alternate solution, which should at least allow the url to download properly for now.

In addition, I have adjusted the cache values for docs.blender.org to be a little more friendly in the amount of time things are cached, resulting is less traffic to the origin server (us!). Hopefully the changes help with the downloads!

It would appear that a Cloudflare feature called "workers", which hijacks requests to inject code into a request as part of our recent fund campaign was the cause of the content being cut short. I have disabled this code for now while the team looks into an alternate solution, which should at least allow the url to download properly for now. In addition, I have adjusted the cache values for docs.blender.org to be a little more friendly in the amount of time things are cached, resulting is less traffic to the origin server (us!). Hopefully the changes help with the downloads!
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-12-15 18:05:09 +01:00
Sign in to join this conversation.
No Milestone
No project
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-manual#104654
No description provided.