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
asked 2 years ago3251 views
1 Answer
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
answered 2 years ago
  • @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?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions