Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTP TLS Connection Reset for Segmented Downloads #16828

Open
AliveDevil opened this issue Jan 29, 2025 · 1 comment
Open

FTP TLS Connection Reset for Segmented Downloads #16828

AliveDevil opened this issue Jan 29, 2025 · 1 comment
Assignees
Labels
ftp-tls FTP (TLS) Protocol Implementation

Comments

@AliveDevil
Copy link
Contributor

TrueNAS Scale, ProFTPd
Synology NAS, SmbFTPd

Segmented Downloads from these servers (regardless of Single/Multiple connection) end up in Connection Reset.

cyberduck-tls.log

proftpd-tls.log

@AliveDevil AliveDevil added the ftp-tls FTP (TLS) Protocol Implementation label Jan 29, 2025
@dkocher
Copy link
Contributor

dkocher commented Jan 29, 2025

Seems to be an issue with not reading the entire length of the file.

2025-01-29 12:08:03,873 [n0dlqjJU-transfer-1] WARN  ch.cyberduck.core.transfer.FailFastTransferErrorCallback - Cancel TransferItem{remote=Path{path='/mnt/NAS/homes/jmalek/vjunos-switch-23.1R1.8.qcow2', type=[file]}, local=Local{path='V:\Downloads\vjunos-switch-23.1R1.8.qcow2'}} with no pending file after failure BackgroundException{class=class ch.cyberduck.core.exception.BackgroundException, file=null, message='Connection failed', detail='Connection closed without indication.', cause='org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication.'}

corresponding to error on the server

2025-01-29 12:08:07,630 mod_tls/2.9.2[469795]: TLSv1.2 data connection accepted, using cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)
2025-01-29 12:08:08,448 mod_tls/2.9.2[469795]: panic: SSL_ERROR_SYSCALL, line 11104: system error: Broken pipe
2025-01-29 12:08:08,448 mod_tls/2.9.2[469795]: unexpected OpenSSL error, disconnecting

==> /var/log/proftpd/proftpd.log <==
2025-01-29 12:08:08,448 truenas-scale proftpd[469795] 127.0.0.1 (192.168.178.78[192.168.178.78]): mod_tls/2.9.2: unexpected OpenSSL error, disconnecting

==> /var/log/proftpd/tls.log <==
2025-01-29 12:08:08,453 mod_tls/2.9.2[469795]: [msg] sent TLSv1.2 warning 'close_notify' Alert message (2 bytes)
2025-01-29 12:08:08,453 mod_tls/2.9.2[469795]: [info] writing: SSL/TLS alert warning: close notify

==> /var/log/proftpd/proftpd.log <==
2025-01-29 12:08:08,454 truenas-scale proftpd[469795] 127.0.0.1 (192.168.178.78[192.168.178.78]): notice: user jmalek: aborting transfer: Data connection closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ftp-tls FTP (TLS) Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants