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

341
Vistas
AWS S3 - Video upload fails - JavaScript

I'm using AWS JavaScript SDK in a Cordova application on Android and have set the configuration as below

AWS.config = new AWS.Config({
    region: Constants.region,
    httpOptions: {
        timeout: 1200000    //20 mins
    }
});

I'm able to upload images and text files of > 2MB size without issues. But the code always fails to upload video files of any size. Below are the error logs I'm getting

PUT https://s3.ap-south-1.amazonaws.com/my-s3-bucket/files/VID-20170127-WA0017.mp4 net::ERR_CONNECTION_RESET

PUT https://s3.ap-south-1.amazonaws.com/my-s3-bucket/files/VID-20170127-WA0017.mp4 net::ERR_CONNECTION_RESET

PUT https://s3.ap-south-1.amazonaws.com/my-s3-bucket/files/VID-20170127-WA0017.mp4 net::ERR_CONNECTION_RESET

PUT https://s3.ap-south-1.amazonaws.com/my-s3-bucket/files/VID-20170127-WA0017.mp4 net::ERR_CONNECTION_RESET

It seems that the connection is reset after about 45-50 seconds inspite of the 20 min. timeout configuration

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

0

Even though I am not sure about the reason why it happens, I have noticed that Android upload with https Url for large file fails with AWS S3. This has something to do with the https certificate of AWS because I haven't faced the issue with DigitialOcean Spaces.

So the solution here is trying uploading to non-https end-point.

about 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