Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

197
Vistas
Missing data in response body

I have a web service(FastAPI) deployed on AWS EC2.

In java client code, when I call the api, i got this error

org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 3,849,324; received: 1,834,837)

In postman, when I call this api, the response is returned but not enough like this image enter image description here

Seem the server (Fast API web service) do not return all data in response body.

I already check this question, the accepted answer said that this error is belong server-side.

So what is the problem here? What can I configure to solve this problem, on the AWS or my web service or any ?

Additional information, in the API implementation, business logic is connect to the AWS S3 and download some files. I don't know if this is the problem but when I looked for solution, a lot of people said it related to AWS S3

Thank you all guys!!!

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

After several hours of investigation. My leader found the problem, it is an out of memory problem. It has no hard drive controller instead of RAM. LOL

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda