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

Closed
ciembor opened this Issue Nov 18, 2012 · 5 comments

Comments

Projects
None yet
2 participants
Contributor

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 0.0.0.0:9292, CTRL+C to stop
!! Unexpected error while processing request: Content-Length header was 33193, but should be 33199
127.0.0.1 - - [18/Nov/2012 23:33:09] "GET / HTTP/1.1" 200 33193 0.0145
127.0.0.1 - - [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
Owner

lukeapage commented Nov 20, 2012

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

Contributor

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?

Owner

lukeapage commented Dec 6, 2012

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

Contributor

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.

Owner

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