warpgate: Broken Pipe Issue with `scp` and other tools

Hello,

I originally imagined that I had found a speed issue, but it turned out that speed does not appear to have been the core problem. I am running the most recent release version 0.6.4. I attempted to provide example data by comparing direct SSH connections for file transfers with a proxyjump configuration, and a warpgate configuration. I first tried it with rsync and everything worked perfectly, the speed was basically the same across all three.

I then tried to transfer files with mc and while I got speed readings for direct and jumphost, the warpgate connection would always error out, pretty quickly I might add:

2022-11-13 21_38_13-BURN-E

(yes, my name is Eugene, just like the author of this software =D)

I then figured that maybe its something wrong with the way that mc connects, and attempted to use scp to transfer the file instead, except I got the same kind of behavior:

eugene in 🌐 r2-d2 in ~/Downloads/test 
❯ scp warpgate.brainiac:/home/eugene/large_random_file ./large_random_file.warpgate
large_random_file                                                                                          3%  333MB  27.9MB/s   05:55 ETAc
lient_loop: send disconnect: Broken pipe
lost connection

eugene in 🌐 r2-d2 in ~/Downloads/test took 14s 
❯ scp direct.brainiac:/home/eugene/large_random_file ./large_random_file.direct
large_random_file                                                                                        100%   10GB  41.6MB/s   04:06    

eugene in 🌐 r2-d2 in ~/Downloads/test took 4m6s 
❯ scp jumphost.brainiac:/home/eugene/large_random_file ./large_random_file.jumphost
large_random_file                                                                                        100%   10GB  24.3MB/s   07:02    

and this happens pretty reliably. I was not able to transfer a 10GB random file across a Warpgate host. Please advise. Thank you.

P.S. Recording is disabled on my Warpgate instance P.P.S. As always, all my bug reports are done exclusively to improve this software. I really like it, and I appreciate all the devs’ work. Nothing I say should be construed as ungrateful, insulting, or demeaning. Thank you for writing Warpgate, I really appreciate its existence and continued development.

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 22 (6 by maintainers)

Commits related to this issue

Most upvoted comments

I can confirm that the fix works and the scp copy of a 10GB file now works flawlessly. Thank you @Eugeny