question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ssh: garbage packet received

See original GitHub issue

While dvc pulling from a remote SSH, this error was raised:

"Error: failed to download file <filename> to <directory>... Garbage packet received"

Here’s the Discord conversation for context: https://discordapp.com/channels/485586884165107732/485596304961962003/539891897443942432

There are some reports on paramiko’s issue tracker about users getting the same error.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Mar 5, 2019

Dang, @ericmjl , sad to hear that the error still exists; I’m unable to reproduce it, making it really hard to debug 😕

I’ll leave this issue open for future references.

Thanks for reporting it, @ericmjl , if you find any error or inconvenience, don’t hesitate to open an issue or ping us at our Discord server 😃

1reaction
ghostcommented, Feb 21, 2019

@ericmjl , we changed the way dvc communicates with the SSH remote, now dvc uses SFTP; I hope that it solves the problem, would you mind to confirm? I couldn’t replicate the issue with the latest version 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

SFTPError('Garbage packet received',) · Issue #395 - GitHub
In a WSGI-app trying to read a file on a remote server I sometimes get the error in the title. What does it...
Read more >
Paramiko raises "SFTPError: Garbage packet received"
I had a similar problem, and found that it was due to output from a program 'gvm'. I fixed it by changing my...
Read more >
SFTPError: Garbage packet received - paramiko
I am able to transfer the files without problems when using scp, sshfs or sftp. Normal ssh access works fine too. Only Paramiko...
Read more >
Frequently Asked Questions — StarCluster v0.93 documentation
Below are the answers to some frequently asked questions on the StarCluster mailing list. Garbage Packet Received¶. If you're using StarCluster and encounter ......
Read more >
Users getting "Packet corrupted" from SSH sessions (BB-15701)
Received disconnect from 104.192.143.16: 2: Packet corrupt ... I ended up running aggressive garbage collection & using gitgui's compress database option; ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found