0 votes
by (140 points)

Hi Team,

While testing with JMeter for 250 work items, getting below mentioned error. Most of the calls are getting failed for parallel calls.

[11:22:58 ERR] On SendFileToSFTP Method: SendSFTPAsyncService - Error: Rebex.Net.SftpException: Failure; ConditionNotMet: The condition specified using HTTP conditional header(s) is not met.
at nnaak.nllyd.hvegb(nadzz p0, Type p1)
at Rebex.Net.Sftp.ezyyg(tkeml p0, ehloh p1, String p2, Stream p3, Int64 p4, Int64 p5, emxzq p6)
at Rebex.Net.Sftp.fzfvm(tkeml p0, ehloh p1, String p2, String p3, Int64 p4, Int64 p5, Int64 p6, emxzq p7)
at Rebex.Net.Sftp.pozjt(Object p0, Enum p1, Object[] p2)
at nnaak.toymy.crbij(Object p0)
--- End of stack trace from previous location where exception was thrown ---
at SftpSendAsync.Application.DomainServices.SftpHelper.SendFiletoSftp(String localFilePath, String remotePath) in /src/SftpSendAsync.Application/DomainServices/SFTPHelper.cs:line 162
at SftpSendAsync.Application.DomainServices.SftpHelper.SendFileToSFTP(String uploadFile, String path, String fileName, CancellationToken cancellationToken) in /src/SftpSendAsync.Application/DomainServices/SFTPHelper.cs:line 141
[11:22:58 ERR] Exception occured while processing work item EIN20230209MRL000376 for step Id 645c97e6-8181-4e27-968d-0a4375b9c8d1.

Please Provide solution for this.

Applies to: Rebex SFTP

1 Answer

0 votes
by (141k points)


This is a server-side issue. The SFTP server rejected of the client's SFTP requests and reported the following error message:

ConditionNotMet: The condition specified using HTTP conditional header(s) is not met error.

The server apparently imposes some additional requirements on the behavior of SFTP clients that are beyond the requirements of the SFTP protocol itself. There is no relation between SFTP and HTTP protocols, and there is no concept of "headers" or "conditional headers" in the SFTP protocol at all. To determine what the error actually means, consult the server manual or ask the server administrator.

This particular error has been observed with Azure Storage SFTP, and also with Azure Storage Blob (with no SFTP involved):

However, I'm not quite sure why JMeter would report Azure error. Is Azure somehow involved?