-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
No timeout on connections #14
Comments
Hum... It's SSH client... Not SFTP client. The solution, use transport interface to write a SSH client in more SFTP client. I postpone this after Python3 port. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm having a problem - occasionally my internet connection might drop (eg the cat resets the router) and if there is a seedboxsync download in progress, the transfer won't recover or fail.
Basically the process stays alive but never resumes.
This means the lock file also doesn't get removed, and when cron runs again a new transfer isn't started.
It appears that in the way paramiko is initialized doesn't allow a timeout to be specified.
I found a StackOverflow post which suggests that instantiating the sftp client from an SSHClient instead of a Transport instance might be the way to go. What do you think?
http://stackoverflow.com/questions/9758432/timeout-in-paramiko-python
The text was updated successfully, but these errors were encountered: