lavv17 / lftp

sophisticated command line file transfer program (ftp, http, sftp, fish, torrent)
http://lftp.yar.ru
GNU General Public License v3.0
1.11k stars 162 forks source link

s3 and out-of-order packets #636

Open rozal44 opened 3 years ago

rozal44 commented 3 years ago

Trying to use lftp with aws s3 (over sftp) but performance is massively degraded vs sftp (20x times slower) It keeps [Connecting] or [Delaying before reconnect: ....] see below what debug mode listed. This is on Amazon Linux 2 and lftp 4.9.2. Tried to conenct to none s3 sftp and there is no " out-of-order chain" issue so there must be sth about lftp and s3.

Wonder if some specific configuration is needed for lftp as sftp works like a charm ?

<--- got a packet, length=32777, type=103(DATA), id=607 ---- put a packet with id=607 on out-of-order chain (need_pos=31031296 packet_pos=33062912) ---> sending a packet, length=22, type=5(READ), id=624 <--- got a packet, length=32777, type=103(DATA), id=612 ---- put a packet with id=612 on out-of-order chain (need_pos=31031296 packet_pos=33226752) **** Too many out-of-order packets ---- Disconnecting ---- Running connect program (ssh -a -x -s -l USER sftp.XXXXXXXXX.service sftp) ---> sending a packet, length=5, type=1(INIT), id=0