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

No timeout on connections #14

Closed
johanndt opened this issue Mar 9, 2016 · 1 comment
Closed

No timeout on connections #14

johanndt opened this issue Mar 9, 2016 · 1 comment
Assignees
Milestone

Comments

@johanndt
Copy link

johanndt commented Mar 9, 2016

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

@llaumgui llaumgui self-assigned this Mar 10, 2016
@llaumgui llaumgui added this to the v1.1.2 milestone Mar 10, 2016
@llaumgui llaumgui modified the milestones: v2.0.0, v1.1.2 Sep 28, 2016
@llaumgui
Copy link
Owner

Hum... It's SSH client... Not SFTP client.
For me it can provide some issue when no shell is available.

The solution, use transport interface to write a SSH client in more SFTP client. I postpone this after Python3 port.

@llaumgui llaumgui modified the milestones: v2.1, v2.0.0 Jul 20, 2017
llaumgui added a commit that referenced this issue May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants