Bobcares

Curl error 55 – Reasons and Different ways to Fix The Errors

by | Sep 11, 2020

Curl error 55 means “Failed sending network data”, which happens during file uploads.

Here at Bobcares, we have seen several curl errors as part of our Server Management Services for web hosts and online service providers.

Today we’ll take a look at the cause for this error and see how to fix it.

What is curl 55

Customers can encounter curl errors at different times due to various reasons such as improper installation,  outdated versions, etc. Similarly, a curl error occurs when uploading files to the server. More accurately, the error is a representation of Failed sending data via a network.

Here is the complete error message:

~~~

curl: (55) SSL read: error:00000000:lib(0):func(0):reason(0), errno 10054

~~~

 

Causes and how we fixed the Curl error 55

Now let’s see the reasons for the curl error and how our Support Engineers resolve this error to our customers.

1.  Insufficient quotas: One of the reasons for the error in the FTP server is due to Insufficient quotas like hard disk quota, which is provided for the user.

For example, sometimes the Backup to the remote FTP server fails with the error:

~~~

Error: server “server”
Curl error: Unable to resume an interrupted upload: (55) Failed sending data to the peer: Last FTP request: APPE backup_1801300838.zip: Last FTP response: 150 Opening BINARY mode data connection for backup_1801300838.zip: Connection to the FTP server has lost

~~~

That is, this error occurs when the FTP server or FTP user exceeded quotas or limits in the middle of the process.

Therefore, our Support Engineers check and adjust the limits and quotas for the FTP server and user.

 

2. Firewall not properly configured: Firewall is a network security system that helps to controls the traffic to a server based on a predetermined set of rules.

So, the bad settings in the firewall configuration result in the curl error. So, it is necessary to configure the firewall properly.

Therefore, our Support Engineers make sure that the necessary inbound and outbound connections are allowed in the firewall.

 

3. Outdated version: The multiple appearances of Content-Length headers can also cause the curl error.

Then, upgrade the version of curl to the latest can fix the error.

 

4. Incorrect time settings: Sometimes, the error happens when the time of the client or server is different than the real-time

So, our Support Engineers checks and corrects the time settings on the server.

 

5. Missing flags: Also, if the –header flag not used for each header, the Curl error 55

Then, our Support Engineers use a separate –header flag for each header that wishes to set.

 

[Need any further assistance in fixing curl errors? – We’re available 24*7]

 

Conclusion

In short, the Curl error 55 happens when fails to upload the file to the server. the reasons include Insufficient quotas, improper firewall settings, incorrect time settings, etc. Today, we saw how our Support Engineers fix this curl error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF