How to fix error when uploading to S3 - "curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54"

0

I've got a pre-signed URL and am trying to use cURL to upload to S3

curl -X PUT [PresignedUrl]' \
-d '@/Volumes/[Volume]/Path/To/File.mov' \
-H 'Content-Type: video/quicktime' \
-H 'Content-Length: 6596082'

The upload seems be working until the last few bites, when I get the error curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

Trln
posta 2 anni fa3270 visualizzazioni
1 Risposta
0

Hi,

The errno 54 indicates a generic network connectivity issue.

The issue is most likely related to your curl/ libressl or the proxy behind your internet. Ensure a good internet connection and try to update your curl/ libressl or try to connect without using proxy.

Thanks.

AWS
con risposta 2 anni fa
  • @Pavithra-AWS - thanks for the followup.

    I've been testing using a place of work and private residence. The private residence uses no proxy, and the connectivity is excellent (1000mbps down / 1000mbps up). The same 6mb file that fails when uploading via cURL uploads in less than 2 secs on a browser UI to the same AWS server.

    Any idea what else might cause that error?

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande