-
Notifications
You must be signed in to change notification settings - Fork 604
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
Site broken: all served files get truncated #1073
Comments
Regarding the timeline:
So the problem seems to have been introduced between these commits: |
Update: It's an issue with Serving locally with
This was for the file So it seems that the files get served with wrong Content-Length headers, so that they are truncated by the clients. Update: This is fixed in rack-jekyll 0.4.0 or higher (namely 0.4.1 as of now), but both versions are not compatible with Jekyll 2. The current master branch of rack-jekyll is. Note: I needed to (locally) remove SSL in |
I tried to fix this with 06d990e, but this caused an application error, and I needed to reverted 😢 With a local dummy application it worked... Update: It seems the development version of rack-jekyll always regenerates the site; this crashes on Heroku. I already opened an issue there. |
To sum up: rack-jekyll is the problem.
|
Fixed with c01e59d: uses rack-jekyll 0.4.1, but a patched version that allows Jekyll 2. |
@hsbt Please review. |
@stomar Thanks for your investigation! I confirmed you only changes jekyll version from v0.4.1. It's ok to our website. |
This issue can be closed right? Seems all good now! 👏 |
Fixed for the time being. But we need to observe the future development of rack-jekyll, I would prefer switching back to the 'official' releases. |
- cf. ruby/www.ruby-lang.org#1073 (comment) - Also, need a latest json gem to fix dependencies - cf. flori/json#229
- cf. ruby/www.ruby-lang.org#1073 (comment) - Also, need a latest json gem to fix dependencies - cf. flori/json#229
Almost all served content seems to get truncated. This affects pages (html), RSS feeds, images, ...
This doesn't seem to be caused by a size limit; even very small files like the hamburger logo (109 bytes) are affected.
Generating and serving the site locally works fine.
This should be the common reason for #1053, #1069, #1070.
cc @hsbt
The text was updated successfully, but these errors were encountered: