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

Intermettent failure when downloading folder with multiple item #9926

Closed
cyberduck opened this issue May 2, 2017 · 4 comments
Closed

Intermettent failure when downloading folder with multiple item #9926

cyberduck opened this issue May 2, 2017 · 4 comments
Assignees
Labels
bug ftp FTP Protocol Implementation worksforme
Milestone

Comments

@cyberduck
Copy link
Collaborator

a6c8a9a created the issue

Cyberduck 5.4.4. on OSX 10.11

Whenever I download a folder containing multiple item I get intermittent failures with message :

"Interoperability failure: 502 Command not implemented PASV, ..."

This happens at different time on different files meaning some of the file is downloaded correctly in spite of the message some of the download is instead aborted. Retrying multiple times or using command line FTP mget works fine instead.
Never had this problem in past with same FTP site and same data types.

The Log is here below as well as screenshot of the error:

"220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 13:25. Server port: 21.
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
USER s2g
331 User s2g OK. Password required
PASS *********
230 OK. Current restricted directory is /
FEAT
211-Extensions supported:
 MDTM
 SIZE
 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
 MLSD
211 END
SYST
215 UNIX Type: L8
CWD /products/openSF/sw
250 CWD command successful.
TYPE A
200 Command okay.
PASV
502 Command not implemented: PASV
PORT 131,176,36,203,255,146
200 PORT command successful.
MLSD
150 File status okay; about to open data connection.
type=cdir;sizd=4096;modify=20170502081217;UNIX.mode=02755;UNIX.uid=583;UNIX.gid=581;unique=811g6ebc081; .
type=pdir;sizd=4096;modify=20160520110946;UNIX.mode=02755;UNIX.uid=583;UNIX.gid=581;unique=811g6ebc064; ..
type=dir;sizd=4096;modify=20161130161152;UNIX.mode=02775;UNIX.uid=583;UNIX.gid=581;unique=811g84f6001; 2016.11.30_V03.05.03.00
type=dir;sizd=4096;modify=20161219101532;UNIX.mode=02775;UNIX.uid=583;UNIX.gid=581;unique=811g8520116; 2016.12.19_V03.02.01.00_OSFI
type=dir;sizd=4096;modify=20170105001404;UNIX.mode=02775;UNIX.uid=583;UNIX.gid=581;unique=811g87d8066; 2017.01.05_V01.03.00.00_OSFEG
type=dir;sizd=4096;modify=20170328142817;UNIX.mode=02775;UNIX.uid=583;UNIX.gid=581;unique=811g90e4001; 2017.03.28_V03.06.06.00
type=dir;sizd=4096;modify=20170417105245;UNIX.mode=02775;UNIX.uid=583;UNIX.gid=581;unique=811g70e2003; 2017.04.17_V03.06.07.00
type=dir;sizd=4096;modify=20170502081217;UNIX.mode=02775;UNIX.uid=583;UNIX.gid=581;unique=811g6ebe006; 2017.05.02_V03.03.00.00_OSFI
type=dir;sizd=4096;modify=20170502081235;UNIX.mode=02775;UNIX.uid=583;UNIX.gid=581;unique=811g6ebe00a; 2017.05.02_V03.06.08.00
226 Transfer complete, closing data connection.
CWD /products/openSF/sw/2017.05.02_V03.06.08.00
250 CWD command successful.
TYPE A
200 Command okay.
PASV
502 Command not implemented: PASV
PORT 131,176,36,203,255,155
200 PORT command successful.
MLSD
150 File status okay; about to open data connection.
type=cdir;sizd=4096;modify=20170502081235;UNIX.mode=02775;UNIX.uid=583;UNIX.gid=581;unique=811g6ebe00a; .
type=pdir;sizd=4096;modify=20170502081217;UNIX.mode=02755;UNIX.uid=583;UNIX.gid=581;unique=811g6ebc081; ..
type=file;size=1140;modify=20170502081235;UNIX.mode=0774;UNIX.uid=583;UNIX.gid=581;unique=811g6ebe00e; RELEASE-NOTES-OPENSF-V03.06.08.00.txt
type=file;size=120;modify=20170502081235;UNIX.mode=0774;UNIX.uid=583;UNIX.gid=581;unique=811g6ebe00f; md5sums
type=file;size=90501452;modify=20170502081235;UNIX.mode=0774;UNIX.uid=583;UNIX.gid=581;unique=811g6ebe00d; openSF_linux64_3.6.8.sh
type=file;size=87465984;modify=20170502081236;UNIX.mode=0774;UNIX.uid=583;UNIX.gid=581;unique=811g6ebe00b; openSF_macintel64_3.6.8.dmg
type=file;size=355;modify=20170502081235;UNIX.mode=0774;UNIX.uid=583;UNIX.gid=581;unique=811g6ebe010; output.txt
type=file;size=639;modify=20170502081221;UNIX.mode=0774;UNIX.uid=583;UNIX.gid=581;unique=811g6ebe00c; updates_opensf.xml
226 Transfer complete, closing data connection.
"

Attachments

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Can you try to set the Connect Mode in the bookmark to Active (PORT) as the server does not seem to support Passive (PASV) FTP connections for data transfers.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Also try to limit the number of connections allowed to 1 for file transfer in the bookmark setting Transfer Files: Use single connection.

@cyberduck
Copy link
Collaborator Author

a6c8a9a commented

Strange as the server has not changed and it used to work, however I'm inside corporate network
and they might have changed the firewall they use. Anyway:

  1. I just tried with PORT ACTIVE and it still randomly drops out. (note that also with PASV and insisting after a while it gets through..)
  2. with one connectcion at time it also times out. (see new attachment).

Might be our firewall acting funny, but maybe some robustness in Cyberduck could help (and in the past years there was nevere a problem)

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Milestone renamed

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug ftp FTP Protocol Implementation worksforme
Projects
None yet
Development

No branches or pull requests

2 participants