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
feita há 2 anos3270 visualizações
1 Resposta
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
respondido há 2 anos
  • @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?

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas