32
Views
5
Comments
 Got "The connection was closed by the server" resposne when I conenct my SFTP server

Hi,

I got the follow response when I use this SFTP component(https://www.outsystems.com/forge/component/32/sftp/) :

"The connection was closed by the server: - RequestId:015ad264-101e-003c-7844-0547ec000000 Time:2022-12-01T05:21:54.5968923Z (KeyExchangeFailed)."

plz help.

Thanks a lot.

UserImage.jpg
vikas sharma
Champion

Hi,

As error states "Key exchange failed". So its seems some validation error on SMTP server.

regards

UserImage.jpg
杨 宝

Hi,

But I works kindly on my local computer when I call the function which the extesion provided through the Visual Studio 2022.

2022-08-03 04-32-50
Ravi Punjwani

Hi @Vikas Sharma
You mentioned SMTP, but his question is related to SFTP. Probably just a typo :)


Hi 杨 宝,
Looks like there's no problem in your Outsystems app, but it could be in your sftp server.

https://stackoverflow.com/questions/64251826/elixir-sftp-not-working-on-server-key-exchange-failed

UserImage.jpg
杨 宝
Hi Ravi Punjwani, My SFTP server is the Microsoft Azure Blob Storage and I only use the username and password to do the authentication. and it can connected by the SFTP client such as the FileZilla. Regards
2022-08-03 04-32-50
Ravi Punjwani

If you're sure it worked in your C# app, then try changing to any other forge component. There might be some settings missing on this one.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.