Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8692883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:24:52+00:00 2026-06-13T00:24:52+00:00

I have a REST API that returns json responses. Sometimes (and what seems to

  • 0

I have a REST API that returns json responses. Sometimes (and what seems to be at completely random), the json response gets cut off half-way through. So the returned json string looks like:

...route_short_name":"135","route_long_name":"Secte // end of response

I’m pretty sure it’s not an encoding issue because the cut off point keeps changing position, depending on the json string that’s returned. I haven’t found a particular response size either for which the cut off happens (I’ve seen 65kb not get cut off, whereas 40kbs would).

Looking at the response header when the cut off does happen:

{
    "Cache-Control" = "must-revalidate, private, max-age=0";
    Connection = "keep-alive";
    "Content-Type" = "application/json; charset=utf-8";
    Date = "Fri, 11 May 2012 19:58:36 GMT";
    Etag = "\"f36e55529c131f9c043b01e965e5f291\"";
    Server = "nginx/1.0.14";
    "Transfer-Encoding" = Identity;
    "X-Rack-Cache" = miss;
    "X-Runtime" = "0.739158";
    "X-UA-Compatible" = "IE=Edge,chrome=1";
}

Doesn’t ring a bell either. Anyone?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T00:24:53+00:00Added an answer on June 13, 2026 at 12:24 am

    I had the same problem:

    Nginx cut off some responses from the FastCGI backend. For example, I couldn’t generate a proper SQL backup from PhpMyAdmin. I checked the logs and found this:

    2012/10/15 02:28:14 [crit] 16443#0: *14534527 open()
    “/usr/local/nginx/fastcgi_temp/4/81/0000004814” failed (13: Permission
    denied) while reading upstream, client: *, server: , request:
    “POST / HTTP/1.1″, upstream: “fastcgi://127.0.0.1:9000”, host:
    ““, referrer: “http://*/server_export.php?token=**“

    All I had to do to fix it was to give proper permissions to the /usr/local/nginx/fastcgi_temp folder, as well as client_body_temp.

    Fixed!

    Thanks a lot samvermette, your Question & Answer put me on the right track.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a REST-ish API that returns JSON. One of the output fields is
Say I have a REST API in java, and it supports responses that are
I have made an api that returns an object as json data. I Am
I have a portion of my site that has a lightweight xml/json REST API.
I currently have a REST API that must be authenticated via BasicAuth, but later
I'm developing a REST api. To simplify my question, I have an API that
I'm testing my REST API and the issue i have is that i create
I have a REST api which dumps some json data (user info, etc). Now
I have a PHP RESTful API, which returns JSON objects. I have an Android
We have a REST API that works great. We're refactoring and deciding how to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.