SourceForge has been redesigned. Learn more.
Close

#1793 IOProtocolExt needs timeout

KeePass_2.x
closed
nobody
None
5
2014-09-22
2013-10-10
Jeff Fritz
No

I have a trigger to synchronize with a remote kdbx via IOProtocolExt using scp.

For some reason or another (my guess is network issues), occasionally when I trigger the sync --

the status bar sits at "Uploading file..." and the Sync window sits at "Synchronizing... (Saving database...)" and does nothing until I kill the keepass process. Cancel button is greyed out at this point in time.

suggest some sort of timeout or cancel button that is not greyed out.

Using Windows 7 x64, Keepass 2.23, IOProtocolExt 1.8.0.0

Discussion

  • Jeff Fritz

    Jeff Fritz - 2013-10-10

    I tried again after the above error. The trigger was somehow disabled and I had to re-enable it. The problem happened again and attached is a screenshot of a debug message.

    Perhaps this is an issue with my individual sftp connection (not scp as I thought previously). Either way I suggest the following:

    • would be great if some more detailed/useful/user friendly output could be shown
    • how do I tweak the referenced "Optimize connection buffer size" option? Can't find it anywhere.
     
  • Jeff Fritz

    Jeff Fritz - 2013-10-10

    One more minor note. Again, not sure if this is a problem with my openssh/remote_backups user configuration or if it is a IOProtocolExt issue.

    After doing this attempted synchronization twice, there are many ssh connections left open by the attempted synchronizations (see screenshot). Wondering if there is exception handling to clean up any open connections if a sync is not successful.

     
  • Dominik Reichl

    Dominik Reichl - 2013-10-20

    Moving to open feature requests.

     
  • Dominik Reichl

    Dominik Reichl - 2013-10-20

    Ticket moved from /p/keepass/bugs/1170/

     
  • Dominik Reichl

    Dominik Reichl - 2014-09-22
    • status: open --> closed
     
  • Dominik Reichl

    Dominik Reichl - 2014-09-22

    For the initial connection attempt, you can specify a custom timeout in 'Tools' -> 'IOProtocolExt Options'. For broken connections, WinSCP's default reconnect timeout is 120 seconds.

    Best regards,
    Dominik

     

Log in to post a comment.