Hello, we have a status page which from time to time connects to our sftp server (running on Rebex) and runs simple ls;bye
, if everything succeded - status is ok. Command looks like:
lftp sftp://<username>:<userpassword>@<sftp-server-host>:2220 -e "ls;bye"
Problem is that from time to time, we started witnessing exceptions in logs with ArgumentOutOfRangeException. I've managed to reproduce it on empty folder around 20 times, but after that - it stopped reproducing.
Exception that we catch looks like:
Error occurred. UserName: "sbu" ClientAddress: "10.101.100.69" ExceptionType: "System.ArgumentOutOfRangeException" Message: "Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')" StackTrace: " at gdcso.gqnxz.tjhdj(zomrf p0, Int32 p1)
at gdcso.gqnxz.zhxya(zomrf p0)"
As far as i understood, it is reproduced only on lftp
client, and WinSCP/default sftp clients works fine. Please tell me, if i should worry about it ?