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

Disconnects from server every 60 seconds when using FTP and FTPS #159

Open
petejfh opened this issue Jan 22, 2024 · 2 comments
Open

Disconnects from server every 60 seconds when using FTP and FTPS #159

petejfh opened this issue Jan 22, 2024 · 2 comments

Comments

@petejfh
Copy link

petejfh commented Jan 22, 2024

I'm doing a recursive delete of a folder which contains ~4000 files split over ~60 subfolders and have noticed that FileZilla is being disconnected every 60 seconds. It re-establishes the connection and continues the delete, but the disconnection pattern continues. The server is hosted remotely to the client.

FileZilla version: 3.65.0 on Windows 11
Protocol: FTPS (TLS 1.3)
Server Host: Linux Rocky el9
Server Host .NET version: 8

Output from the FileZilla log shows:

  • 2024-01-22 19:37:57 32424 1 Error: Connection closed by server
  • 2024-01-22 19:38:57 32424 1 Error: Connection closed by server
  • 2024-01-22 19:39:57 32424 1 Error: Connection closed by server
  • 2024-01-22 19:40:57 32424 1 Error: Connection closed by server
  • 2024-01-22 19:41:57 32424 1 Error: Connection closed by server
  • 2024-01-22 19:42:57 32424 1 Error: Connection closed by server
  • 2024-01-22 19:43:57 32424 1 Error: Connection closed by server

Example output from the FTP server shows for one of these events:

  • Jan 22 19:40:57 Stopped sending responses, from FubarDev.FtpServer.FtpConnection
  • Jan 22 19:40:57 Stopped reading command, from FubarDev.FtpServer.FtpConnection
  • Jan 22 19:40:57 Sending the response cancelled: 426 Connection closed; transfer aborted, from FubarDev.FtpServer.Commands.DefaultFtpCommandDispatcher
  • Jan 22 19:40:57 Connection closed, from FubarDev.FtpServer.FtpConnection

Any ideas on why these disconnects are happening every 60 seconds?

I see the same behaviour with .NET 6 too.

@petejfh
Copy link
Author

petejfh commented Jan 22, 2024

I'm also seeing the same behaviour using plain FTP (i.e. non-FTPS).

@petejfh petejfh changed the title Disconnects from server every 60 seconds when using FTPS Disconnects from server every 60 seconds when using FTP and FTPS Jan 22, 2024
@fubar-coder
Copy link
Contributor

I'll have to look into this, but I assume that some kind of idle connection timer is kicking in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants