curl error curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 104

rjorge
rjorge used Ask the Experts™
on
Greetings,
I have a simple question. When I use curl (on my Ubuntu box or another Linux machine) to perform an upload to one https reachable file server, I always get an error when the file is relatively big (> 100 Mb). This is a new situation.

The error I get is :
curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 104

Can you tell me what does this error mean ? on curl
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Software Engineer
Distinguished Expert 2018
Commented:
error 104: means Connection reset by peer.

So you need look in the logs on the remote host to find the real cause.
some guesses, if you need to provide a client license the client license does not validate on the remote node (Certificate Authority unknown, certificate on some black list, revoked certificate).
But it can also be as mundane as a filesystem full on the remote host, causing a server to quit when logging a record. or a plain firewall refusing a connection with a TCP RESET.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start Today