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
gefragt vor 2 Jahren3270 Aufrufe
1 Antwort
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
beantwortet vor 2 Jahren
  • @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?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen