Why do I sometimes/randomly get this "450 Transfer aborted. Link to file server lost" error?

Come here to discuss FileZilla and FTP in general

Moderator: Project members

Message
Author
manuel
504 Command not implemented
Posts: 6
Joined: 2019-02-14 10:06

Re: Why do I sometimes/randomly get this "450 Transfer aborted. Link to file server lost" error?

#16 Post by manuel » 2019-02-14 14:40

Since filezilla also was linked against gnutls 3.6.5 and uploading didn't work I don't think it will start working with 3.6.6.

Oh btw I forgot about another "client": Uploading with PHP also does work. That was actually one of my first tests.

edit: and via curl it doesn't work. So I'm back to square one.
edit2: However with curl it's behaving a little bit different. Filezilla upload terminates at 16k. Curl upload terminates just before the end.
Last edited by manuel on 2019-02-14 16:46, edited 1 time in total.

User avatar
boco
Contributor
Posts: 26913
Joined: 2006-05-01 03:28
Location: Germany

Re: Why do I sometimes/randomly get this "450 Transfer aborted. Link to file server lost" error?

#17 Post by boco » 2019-02-14 16:08

Strange, FileZilla 3.40 should link against 3.6.6, not 3.6.5...
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

manuel
504 Command not implemented
Posts: 6
Joined: 2019-02-14 10:06

Re: Why do I sometimes/randomly get this "450 Transfer aborted. Link to file server lost" error?

#18 Post by manuel » 2019-02-14 16:44

I'm testing on fedora 29. Fedora 29 is shipping gnutls 3.6.5 so filezilla is linked against that.

User avatar
boco
Contributor
Posts: 26913
Joined: 2006-05-01 03:28
Location: Germany

Re: Why do I sometimes/randomly get this "450 Transfer aborted. Link to file server lost" error?

#19 Post by boco » 2019-02-14 21:27

Depending on the changes between them, the problem could have something to do with it.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Ennosuke
500 Command not understood
Posts: 1
Joined: 2019-02-19 10:20

Re: Why do I sometimes/randomly get this "450 Transfer aborted. Link to file server lost" error?

#20 Post by Ennosuke » 2019-02-19 10:22

I am using FileZilla on Windows 10 and have the same problem. So the GnuTLS Version does not seem to solve the problem.

It seems that it's something that FileZilla does with the connection.

User avatar
botg
Site Admin
Posts: 35507
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Why do I sometimes/randomly get this "450 Transfer aborted. Link to file server lost" error?

#21 Post by botg » 2019-02-19 13:34

Unless somebody can explain to me why the server says it lost its link to the file server, there's nothing on my end to do.

manuel
504 Command not implemented
Posts: 6
Joined: 2019-02-14 10:06

Re: Why do I sometimes/randomly get this "450 Transfer aborted. Link to file server lost" error?

#22 Post by manuel » 2019-02-19 14:02

This can happen if for example not all data has been read from the socket but the socket gets forcefully closed. e.g. In TLS 1.3 (at least with openssl) per default two session tickets gets send during the handshake. During uploading data sockets usually don't need to be read from which upon finish causes the socket to be forcefully closed (serverside receives econnreset). For example this bug I've fixed in PHP: https://bugs.php.net/bug.php?id=76972

This is just an example why the server may answer with "link to file server lost" with TLS 1.3 enabled. Haven't digged into the filezilla source yet, I ran out of time.

manuel
504 Command not implemented
Posts: 6
Joined: 2019-02-14 10:06

Re: Why do I sometimes/randomly get this "450 Transfer aborted. Link to file server lost" error?

#23 Post by manuel » 2019-02-21 14:40

@botg So the issue is really as described. If I remove the close call in socket_thread::close_socket_fd (and therefor leaking the fd) the upload succeeds. FileZilla is hard closing the socket without doing the full bidirectional shutdown. I can try to find out what's the best location to fix this but most certainly you will do a better job at this.

sudoranger
503 Bad sequence of commands
Posts: 21
Joined: 2019-01-27 06:33
First name: Sudo
Last name: Ranger

Re: Why do I sometimes/randomly get this "450 Transfer aborted. Link to file server lost" error?

#24 Post by sudoranger » 2019-02-21 15:51

Hey, @manuel I just cloned and recompiled proftpd from git and everything seem to work perfectly with FZ 3.40. However, I've lost my trust and respect to these ftpd authors so I gave up ftp for awhile and use sftp instead for the time being. A little bit slow especially when deleting lol but its working for now...

manuel
504 Command not implemented
Posts: 6
Joined: 2019-02-14 10:06

Re: Why do I sometimes/randomly get this "450 Transfer aborted. Link to file server lost" error?

#25 Post by manuel » 2019-04-25 08:12

FTR: This got fixed with 3.41.1: https://svn.filezilla-project.org/filez ... ision=9128 - Thanks @botg

User avatar
botg
Site Admin
Posts: 35507
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Why do I sometimes/randomly get this "450 Transfer aborted. Link to file server lost" error?

#26 Post by botg » 2019-04-25 08:35

manuel wrote:
2019-04-25 08:12
FTR: This got fixed with 3.41.1: https://svn.filezilla-project.org/filez ... ision=9128 - Thanks @botg
That didn't fix the server-side bug. The server-side bug is just less likely to be triggered.

sudoranger
503 Bad sequence of commands
Posts: 21
Joined: 2019-01-27 06:33
First name: Sudo
Last name: Ranger

Re: Why do I sometimes/randomly get this "450 Transfer aborted. Link to file server lost" error?

#27 Post by sudoranger » 2019-07-12 02:53

Sorry for the bump but I would like to know the outcome of this server-side issue? Did it got fix recently or is it still there? I would love to use FTP again because this asshole cPanel is hiking their new pricing model. I swear I will install an FTP server and administer my own system manually.

User avatar
boco
Contributor
Posts: 26913
Joined: 2006-05-01 03:28
Location: Germany

Re: Why do I sometimes/randomly get this "450 Transfer aborted. Link to file server lost" error?

#28 Post by boco » 2019-07-19 00:56

I think you need to ask the server software creators, not us?
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply