Rebex.Net.SFTPException Negotiation Failed

0 votes
asked Nov 5 by abhishek (160 points)

I am trying to create an application using rebex.net. When I am trying to upload a file using batchtransfer module of rebex.net. I am getting error of negotiation failed. I am attaching a screenshot along with this message. Kindly find the same and help me with this regards.

commented Nov 5 by Lukas Pokorny (116,670 points)
Hello, I can't see the screenshot (not sure whether it's a forum issue or not). But anyway, could you please create and post a debug log instead? That should make it possible to tell what is going on. See https://www.rebex.net/kb/logging/ for instructions on creating the log.

1 Answer

0 votes
answered Nov 5 by abhishek (160 points)

enter image description here

this is the error message that i am getting

commented Nov 5 by Lukas Pokorny (116,670 points)
This looks like an error caused by unexpected data in X25519 public key blob generated by MS CNG API. We'll prepare a new build that will show the data in the exception, which would hopefully make it possible to tell what is going on. In the meantime, please let us know which version of Windows 10 this code runs on.
commented Nov 6 by Lukas Pokorny (116,670 points)
Please download the build of Rebex components with enhanced logging of this issue and give it a try:
https://www.rebex.net/getfile/8c328243665744ebbcbc43d073be093b/RebexTotalPack-EnhancedEccBlobError-Trial-Binaries.zip

The error message will now include an encoded string of the ECC public key blob that is causing the issue.
...