We are facing intermittent issue with file upload using Rebex version 2017 R2
Info: Assembly: Rebex.Sftp 2017 R2 for .NET 4.0-4.6. We are running our application on .net 6 framework. Below are some Rebex logs of the issue.
2023-12-04 13:14:13.522 INFO Sftp(41)[46] Info: Assembly: Rebex.Sftp 2017 R2 for .NET 4.0-4.6
2023-12-04 13:14:13.538 INFO Sftp(41)[46] SSH: Negotiation started.
2023-12-04 13:14:13.559 INFO Sftp(41)[46] SSH: Negotiation finished.
2023-12-04 13:14:13.559 INFO Sftp(41)[46] Info: Server: SSH-2.0-OpenSSH_7.4
2023-12-04 13:14:13.559 INFO Sftp(41)[46] Info: Fingerprint
2023-12-04 13:14:13.559 INFO Sftp(41)[46] Info: Fingerprint
2023-12-04 13:14:13.559 INFO Sftp(41)[46] Info: Cipher info: SSH 2.0, diffie-hellman-group-exchange-sha256, rsa-sha2-256, aes256-ctr/aes256-ctr, hmac-sha2-256/hmac-sha2-256
2023-12-04 13:14:13.866 INFO Sftp(41)[46] Command: SSH_FXP_INIT (4)
2023-12-04 13:14:13.913 INFO Sftp(41)[46] Response: SSH_FXP_VERSION (3, 5 extensions)
2023-12-04 13:14:13.913 INFO Sftp(41)[46] Info: Using SFTP v3 on a Unix-like platform.
2023-12-04 13:14:13.913 INFO Sftp(41)[46] Command: SSH_FXP_REALPATH (1, '.')
2023-12-04 13:14:13.913 INFO Sftp(41)[46] Response: SSH_FXP_NAME (1, 1 item)
2023-12-04 13:14:13.913 INFO Sftp(41)[46] Info: Current directory is '/home/test'.
2023-12-04 13:14:13.913 INFO Sftp(41)[46] Command: SSH_FXP_REALPATH (2, '/sys3/test/')
2023-12-04 13:15:34.147 ERROR Sftp(43)[80] SSH: Rebex.Net.SshException: The operation was not completed within the specified time limit.
at Rebex.Net.SshSession.DGT[Q,T](HLG`2 Q, Int32 T, NLG B, T I, Q U, Q M)
at Rebex.Net.SshSession.DGT[Q,T](HLG`2 Q, T T)
at Rebex.Net.SshChannel.BB[Q,T](HLG`2 Q, T T)
at Rebex.Net.SshChannel.Receive(Byte[] buffer, Int32 offset, Int32 count)
2023-12-04 13:15:34.147 ERROR Sftp(43)[80] Info: Rebex.Net.SshException: The operation was not completed within the specified time limit.
at Rebex.Net.SshSession.DGT[Q,T](HLG`2 Q, Int32 T, NLG B, T I, Q U, Q M)
at Rebex.Net.SshSession.DGT[Q,T](HLG`2 Q, T T)
at Rebex.Net.SshChannel.BB[Q,T](HLG`2 Q, T T)
at Rebex.Net.SshChannel.Receive(Byte[] buffer, Int32 offset, Int32 count)
at Rebex.Net.YFG.GT(Byte[] Q, Int32 T, Int32 B)
at Rebex.Net.HDG.OB(Int32 Q)
at Rebex.Net.HDG.PB(YR& Q)
at Rebex.Net.HDG.PB(UInt32 Q, Boolean T)
at Rebex.Net.HDG.UB(String Q, Boolean T, HFG B)
at Rebex.Net.Sftp.PKT(String Q, HFG T)
at Rebex.Net.Sftp.ZN(String Q, HFG T)