curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

[curl]: How to analyze and solve curl (55) problem?

From: www via curl-users <>
Date: Wed, 25 Nov 2020 11:23:13 +0800 (CST)

Dear all,

when I use curl to upload a file to a Embedded Linux system, occasionally appear "curl: (55) TCP connection reset by peer". How can I analyze this problem and how can I confirm the cause of this problem?

Usage environment:
1. curl version: curl 7.29.0
2. The installation environment of curl tool and embedded Linux system are in different network domains.
3. This kind of upload failure occurs only when the file is uploaded for the first time (a few hours after the embedded Linux system idle), and then it is uploaded again, and there will be no more problems.
4. According to the failure of several times, it is found that the failure place is the same every time, and it fails when uploading to 7 seconds.


Received on 2020-11-25