ADF error in linked service : client requested SFTP protocol version 4, but we can only support protocol version 3 due to lack of UTF8 support

palla sruthi 0 Reputation points
2024-12-04T08:15:28.9033333+00:00

We are trying to connect to an external SFTP system from ADF which is on On-premise and getting below error, the connection was working until recent but failing now with below error

client requested SFTP protocol version 4, but we can only support protocol version 3 due to lack of UTF8 support (requires --enable-nls) 2024-11-06 02:45:04,017 mod_sftp/1.1.1[995646]: using SFTP protocol version 3 for this session (channel ID 0) 2024-11-06 02:45:04,031 mod_sftp/1.1.1[995646]: empty path given in REALPATH request, using '/' 2024-11-06 02:45:04,203 mod_sftp/1.1.1[995646]: client at ******** sent SSH_DISCONNECT message: The user disconnected the application (Application disconnected)

 

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,365 questions
{count} votes

1 answer

Sort by: Most helpful
  1. phemanth 14,800 Reputation points Microsoft External Staff
    2024-12-04T18:39:07.35+00:00

    @palla sruthi

    Thanks for reaching out to Microsoft Q&A.

    It looks like you’re encountering an issue with the SFTP protocol version compatibility in Azure Data Factory (ADF).

    steps you can take to troubleshoot and resolve this issue:

    1. Check SFTP Server Configuration: Ensure that the SFTP server supports the required protocol version. Since ADF supports SFTP protocol version 3, you might need to configure the SFTP server to use this version.
    2. Enable UTF-8 Support: The error message indicates a lack of UTF-8 support. You might need to enable UTF-8 support on the SFTP server. This can typically be done by configuring the server settings to include --enable-nls.
    3. Update ADF Linked Service: Verify the configuration of your ADF linked service. Ensure that all settings, including authentication and port configuration, are correctly specified. You might also want to check if there have been any recent changes to the SFTP server settings that could affect the connection.

      Refer to the Azure Data Factory documentation for detailed guidance on configuring SFTP connections and troubleshooting .

      Hope this helps. Do let us know if you any further queries.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.