"SSH error: Failure while draining incoming flow"

I get this error, and can't work out why - it seems to be syncing to at least some extent, I can't work out at what point it's failing

Comments

  • This is my first time seeing this error message.  Did you get this error again on retry?

  • Seeing the same thing with 1.7.

    Windows 10,
    2Mb/s VPN,
    Host is CentOS 6.10,
    Folder is 2.1TB with 251,020 files across 558 folders,

  • Not sure if this is issue with the libssh2 library that Acrosync uses.  You can try to switch to libssh to see if this issue persists.

    To switch to libssh, set the registry value HKCU\Software\Acrosync\AcrosyncClient\UseLibssh to 1 and then restart Acrosync.  If you installed Acrosync for all user then the path of this registry value should be HKLM\Software\Acrosync\AcrosyncClient\UseLibssh

    If you set it correctly you'll see a log message saying 'The libssh dll has been loaded' when Acrosync starts up.
  • Giving that a try:
    PS [C:\Users\oliver\AppData\Local\Acrosync]
    > gp HKCU:\Software\Acrosync\AcrosyncClient Uselibssh  # aka Get-ItemProperty


    UseLibssh    : 0
    PSPath       : Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\Software\Acrosync\AcrosyncClient
    PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\Software\Acrosync
    PSChildName  : AcrosyncClient
    PSDrive      : HKCU
    PSProvider   : Microsoft.PowerShell.Core\Registry



    PS [C:\Users\oliver\AppData\Local\Acrosync]
    > sp HKCU:\Software\Acrosync\AcrosyncClient Uselibssh 1  # ala Set-ItemProperty
    PS [C:\Users\oliver\AppData\Local\Acrosync]
    > gp HKCU:\Software\Acrosync\AcrosyncClient Uselibssh  # aka Get-ItemProperty


    UseLibssh    : 1
    PSPath       : Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\Software\Acrosync\AcrosyncClient
    PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\Software\Acrosync
    PSChildName  : AcrosyncClient
    PSDrive      : HKCU
    PSProvider   : Microsoft.PowerShell.Core\Registry

    Will be a while before if I know if it works :)

  • Unfortunately, that simply changes the error:

    Failed to read from the ssh channel: Socket error: No error

  • I suspect this error was caused by the ssh connection closed by the server.  Did it happen at the beginning of the sync or in the middle of the sync?  Can you check the ssh log on the server to see if there was any error message there?
  • I've suddenly started seeing this error since December 1st.  So far my Unix admin hasn't found anything on his end.  Was any progress made in understanding this error?


    I have a batch file that launches 2 sync's.  The first always runs fine, but I have started seeing this error recently on the second transfer.  I tried putting  2 minute pause between transfers, but it hasn't helped. 


    FATAL 12/13/18 03:29:59 SSH_ERROR SSH error:
    Failure while draining incoming flow


    Thanks

  • I believe this error was caused by the connection being closed by the remote server.  Can you check the sshd log on the server to see if this is the case?
Sign In or Register to comment.