I've built a JSON API using Rails 3 and RABL
The API works well but on particular requests only part of the data is returned - the rest of the JSON is cut off. Since the JSON is therefore invalid, the mobile app which relies on the API is crashing.
Can anybody think of why the body is cut off at a certain size and point me in the right direction to resolve the issue? Thanks
So I was able to track this issue down to Passenger
Long story short I fixed it by setting passenger_buffer_response off;
in my passenger configs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With