Tuesday, August 7, 2012

Rails 3 : WARN Could not determine content-length

One of the project I am working on, gets the call from iPhone application. Suddenly iPhone application stopped receiving the data. After checking the log I found the following error.

I searched and found the solution on stackoverflow.com : content-length-of-response-body and stackoverflow.com : unknown-warning-in-development-mode which was very informative. I added
gem 'thin'
and then
bundle install
After the whole process restarted the server. Error was vanished and iPhone application was running as per the requirement.

No comments:

Post a Comment