Created attachment 517164 [details] emerge --info output I upload a tarball to an open source project weekly, via ftp. As per https://bugs.gentoo.org/643866 my ftp client updated to net-ftp/ftp-0.17.23.0.2.1 a few days ago. I log on with userid/password in ~/.netrc. Yesterday, I ran into issues first time I used the upgraded client. Here is the session, slightly redacted... [d531][waltdnes][/dev/shm] ftp -p **************** Connected to ****************. 220-Welcome to the ******************* FTP server! 220-Note: all sessions and IP addresses are logged. 220 No anonymous access accepted on this server. 234 Using authentication type TLS [SSL Cipher ECDHE-RSA-AES256-GCM-SHA384] 331 Password required for ********** 230 Logged on Remote system type is UNIX. ftp> dir 227 Entering Passive Mode (**,***,*,***,79,123) 150 Opening data channel for directory listing of "/" ftp: SSL_connect DATA error -1 - error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number 226 Successfully transferred "/" 421 Service not available, remote server has closed connection ftp> According to the ftp server admin, the server logs don't show any errors. I.e. it shows my client logging in and then logging off. Downgrading to net-ftp/ftp-0.17-r7 solved the problem, i.e. I was able to do the upload successfully. "emerge --info" output is attached.
I just ran into this and it turns out that the server (vsftpd) was causing the error you're getting because of a completely unrelated permissions problem. Temporarily disabling ssl completely on the server side allowed the real problem to be printed upon connection.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dfd65fbf61b939b03a423fec88e9fec92810bd9 commit 9dfd65fbf61b939b03a423fec88e9fec92810bd9 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2021-12-11 20:51:31 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2021-12-11 21:32:31 +0000 net-ftp/ftp: drop 0.17.23.0.2.1 Closes: https://bugs.gentoo.org/551736 Closes: https://bugs.gentoo.org/646152 Closes: https://bugs.gentoo.org/713246 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> net-ftp/ftp/Manifest | 2 -- net-ftp/ftp/ftp-0.17.23.0.2.1.ebuild | 60 ------------------------------------ 2 files changed, 62 deletions(-)