Curl: option --retry-connrefused: is unknown

Last time all servers with hestia send mail with error:

Cron [email protected] sudo /usr/local/hestia/bin/v-update-letsencrypt-ssl

curl: option --retry-connrefused: is unknown
curl: try ‘curl --help’ or ‘curl --manual’ for more information
Error: Let’s Encrypt new auth status

Are you using Ubuntu 16.04? Please check: https://github.com/hestiacp/hestiacp/issues/1509

If not, the thread above will explain the issue aswell, then it’s probaly time to update you system packages :slight_smile:.

You right. I use Ubuntu 16.4 and update curl help to fix issue.

Solution is (under root or use sudo):
apt remove curl
apt purge curl
apt update
apt install -y libssl-dev autoconf libtool make
cd /usr/local/src
rm -rf curl*
wget https://curl.haxx.se/download/curl-7.70.0.zip
unzip curl-7.70.0.zip
cd curl-7.70.0
./buildconf
./configure --with-ssl
make
make install
ldconfig

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.