Subject: ComponentPro.sftp connection error
Date: 2021-04-20 08:24:29
From: nagboatw
Source: componentpro-sftp-connection-error
----------------------------------------------------------------------

One of our customer reported sftp connection error: 
Negotiation failed. Requested service is not implemented.

We are using .NET flavor of ComponentPro.sftp for SFTP communication. The version we are using 6.8.40.4155. 
sftp.connect() call is throwing the following error: - Negotiation failed. Requested service is not implemented.


Corresponding Stacktarce:
>     ComponentPro.Net.SftpException: Negotiation failed. Requested service is not implemented. --->
> ComponentPro.Net.SecureShellException: Negotiation failed. Requested
> service is not implemented. --->
> ComponentPro.Net.SecureShellException: Requested service is not
> implemented. ---> ComponentPro.Net.SecureShellException: Requested
> service is not implemented.
>        at ComponentPro.Net.SecureShellConnection.c_MXD(Byte[] c_QG, Int32 c_OG, Int32 c_RD)
>        at ComponentPro.Net.SecureShellConnection.c_QSD(Byte[] c_QG, Int32 c_OG, Int32 c_RD)
>        at ComponentPro.Net.SecureShellConnection.c_DWD()
>        at ComponentPro.Net.SecureShellConnection.global::c_XPC.c_KQA()
>        --- End of inner exception stack trace ---
>        at ComponentPro.Net.SecureShellConnection.c_OWD()
>        at ComponentPro.Net.SecureShellConnection.c_EQD[T,U](c_BQD`2 c_KSD, Int32 c_P3D, c_CQD c_A4D, U c_MSD, T c_B4D, T c_C4D)
>        at ComponentPro.Net.SecureShellConnection.c_HQD[T,U](c_BQD`2 c_KSD, U c_MSD)
>        at ComponentPro.Net.SecureShellConnection.c_UWD(c_SWD c_Z5D)
>        at c_RAE.c_YUD(SecureShellConnection c_XDD, Byte[] c_LZD, Byte[] c_NZD, Byte[] c_M4D, Byte[] c_H4D, Byte[]& c_MWA, Byte[]&
> c_Z4D, SecureShellPublicKey& c_A5D)
>        at ComponentPro.Net.SecureShellConnection.c_YUD(Byte[] c_H4D)
>        --- End of inner exception stack trace ---
>        at ComponentPro.Net.SecureShellConnection.c_YUD(Byte[] c_H4D)
>        at ComponentPro.Net.SecureShellConnection.Negotiate()
>        at ComponentPro.Net.Sftp.c_K4E(String c_ROA, Int32 c_PKD, SecureShellConfig c_LJB, AsyncOperation c_M)
>        --- End of inner exception stack trace ---
>        at ComponentPro.Net.Sftp.c_K4E(String c_ROA, Int32 c_PKD, SecureShellConfig c_LJB, AsyncOperation c_M)
>        at ComponentPro.Net.Sftp.Connect(String serverName)


We found following link which mentions about same error but not useful in our case. 
https://www.componentpro.com/qa/negotiation-failed-requested-service-not-implemented
We tried to set different algorithms but did not help to resolve the issue. 

For the same server, SFTP working as expected when testing using Filezilla client on same machine. 
Can you let us know what is causing issue and how to resolve the error.

----------------------------------------------------------------------

Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand
If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor
who sold you the license and ask for your money back.

Back to ComponentPro Q&A Forum Index