• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Plesk Backup Manager - Problem with ftps and curl

udoersam

New Pleskian
Hello,

on my machine with Cents 6.8 and Plesk 17 I have a problem to use FTPs within the Backup Manager.
If I enable the option to use FTPS I will get the following error in Plesk:
Unable to access to the storage: Transport error: unable to list directory: Curl error: (7) Couldn't connect to server: Last FTP request: PASV Last FTP response: 227 Entering Passive Mode (185,9,31,175,217,4)
Make sure you have entered the correct storage settings. You can check them independently with the command:
curl -v --ftp-pasv --ssl -k -u user 'server'

If I try this code in console I will get the following error:
curl: option --ssl: is ambiguous
curl: try 'curl --help' or 'curl --manual' for more information

And if I use the code like this in the console:
curl -v --ftp-pasv --sslv3 -k -u user 'server'
Everything is fine.

So my question is: How to change the option of the curl call?

Hope someone can help me.

Best regards.

udoersam
 
The problem in outdated curl version on CentOS 6:

# rpm -qi curl
Name : curl Relocations: (not relocatable)
Version : 7.19.7 Vendor: CentOS
Release : 53.el6_9 Build Date: Mon Apr 3 21:14:07 2017

# curl -v --ftp-pasv --ssl -k -u user 'server'
curl: option --ssl: is ambiguous
curl: try 'curl --help' or 'curl --manual' for more information

I have updated it with

# rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/city-fan.org-release-1-13.rhel6.noarch.rpm
# yum --enablerepo=city-fan.org update curl

And now I see:

# rpm -qi curl
Name : curl Relocations: (not relocatable)
Version : 7.56.0 Vendor: city-fan.org repo Index of /ftp/contrib

# curl -v --ftp-pasv --ssl -k -u user 'server'
Enter host password for user 'user':
 
Hi,

thanks for your answer. Curl is updated right now.

No I have the problem that
# curl -v --ftp-pasv --ssl -k -u user 'server'
will cause the following error:

* Failed to connect to xxxxxx port 21: No route to host
* Closing connection 0
* TLSv1.2 (OUT), TLS alert, Client hello (1):
curl: (7) Failed to connect to xxxxxxx port 21: No route to host

With option -sslv3 .
# curl -v --ftp-pasv --sslv3 -k -u user 'server'
everything is working fine

Is there any posibility to set --ssvl3 as default if --ssl is the option?

Thanks in advance.

Best regards.

udoersam
 
Try to add in panel.ini lines

[pmm]
ftpForbidReuseConnection = 1

and check if it helps.
 
Hi,

thanks for your answer.
The problem is still the same.

Curl error: (7) Couldn't connect to server: Last FTP request: PASV Last FTP response: 227 Entering Passive Mode(ip)

And in the terminal I have still this error:
* Failed to connect to xxxxxx port 21: No route to host
* Closing connection 0
* TLSv1.2 (OUT), TLS alert, Client hello (1):
curl: (7) Failed to connect to xxxxxxx port 21: No route to host

Any other ideas what to do?

Thanks in advance.

Best regards

udoersam
 
Hi,

after activating the passive ftp ports to forward to the ftp-server the backup is working fine right now with ssl.

Thanks for your help.

Best regards

udoersam
 
Back
Top