Incomplete response body returned from Rails 3 application with RABL

I built the JSON API using Rails 3 and RABL

The API works well, but for specific requests only part of the data is returned - the rest of the JSON is disabled. Because JSON is therefore not valid, a mobile application that relies on an API fails.

Can anyone think why the body is cut off in a certain size and points me in the right direction to solve the problem? Thanks

+5
json api ruby-on-rails rabl
Jul 31 '12 at 11:18
source share
1 answer

So, I was able to track this problem to the Passenger

In short, I fixed it by setting passenger_buffer_response off; into my passenger configs.

+8
Aug 2 2018-12-12T00: 00Z
source share



All Articles