Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Wrong Content-Length #44

ciembor opened this Issue Nov 18, 2012 · 5 comments


None yet
2 participants

ciembor commented Nov 18, 2012

I get this when I try to visit main page:

ciembor@peace ~/lesscss.org> rackup config.ru 
>> Thin web server (v1.5.0 codename Knife)
>> Maximum connections set to 1024
>> Listening on, CTRL+C to stop
!! Unexpected error while processing request: Content-Length header was 33193, but should be 33199 - - [18/Nov/2012 23:33:09] "GET / HTTP/1.1" 200 33193 0.0145 - - [18/Nov/2012 23:33:09] "GET / HTTP/1.1" 200 33193 0.0154

I'm going to publish Polish translation and I get similar error, but with higher difference between the expected and existing length:

!! Unexpected error while processing request: Content-Length header was 33995, but should be 34833

lukeapage commented Nov 20, 2012

Debugging locally? I had no problem.. it looks like a thin problem?


ciembor commented Nov 20, 2012

I run it on a Unicorn - it rendered, but the document was incomplete (lack of a tail). I don't know why the difference in my Polish translation is bigger than in the orginal, maybe it's because of encoding?


lukeapage commented Dec 6, 2012

maybe, not sure what unicorn is.. did you get to the bottom of this? can I close it..?


ciembor commented Dec 6, 2012

I had rendered it with Unicorn (http server), copied this missing fragment manualy and then I published it on gh-pages. But I don't know why this render failed, it's possible that someone will have the same problem in the future.


lukeapage commented Feb 3, 2014

we now run off gh-pages and have a new site. closing.

@lukeapage lukeapage closed this Feb 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment