self-hosted Integration runtime datafactory copy fails: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

YusufD 25 Reputation points
2024-07-29T11:26:28.19+00:00

In datafactory we have a step to copy data from the on-premises oracle database to azure blob storage (private endpoint) with a self-hosted integration runtime. This self-hosted integration runtime has access to the blob storage.

But the copy steps fails and produces this error.

ErrorCode=AdlsGen2OperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=ADLS Gen2 operation failed for: An error occurred while sending the request.. Account: 'x'. FileSystem: 'x'..,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Net.Http.HttpRequestException,Message=An error occurred while sending the request.,Source=mscorlib,''Type=System.Net.WebException,Message=The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.,Source=System,''Type=System.Security.Authentication.AuthenticationException,Message=The remote certificate is invalid according to the validation procedure.,Source=System,'

We have also tried using 2 different IR'S, for the source the self-hosted integration runtime and for the sink the managed virtual network. But it still produces the same error output. We are unable to determine a solution to this problem, we would greatly appreciate any assistance in resolving this issue.

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,234 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,934 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,873 questions
{count} votes

Accepted answer
  1. Smaran Thoomu 16,965 Reputation points Microsoft Vendor
    2024-07-31T15:22:28.9933333+00:00

    @YusufD I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer.
    Issue: In datafactory we have a step to copy data from the on-premises oracle database to azure blob storage (private endpoint) with a self-hosted integration runtime. This self-hosted integration runtime has access to the blob storage.

    But the copy steps fails and produces this error.

    ErrorCode=AdlsGen2OperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=ADLS Gen2 operation failed for: An error occurred while sending the request.. Account: 'x'. FileSystem: 'x'..,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Net.Http.HttpRequestException,Message=An error occurred while sending the request.,Source=mscorlib,''Type=System.Net.WebException,Message=The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.,Source=System,''Type=System.Security.Authentication.AuthenticationException,Message=The remote certificate is invalid according to the validation procedure.,Source=System,'

    We have also tried using 2 different IR'S, for the source the self-hosted integration runtime and for the sink the managed virtual network. But it still produces the same error output. We are unable to determine a solution to this problem, we would greatly appreciate any assistance in resolving this issue.
    Solution: Hello, I would like to give an update. We resolved this issue by using the blob connector instead of the ADLS Gen2 as a sink.
    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

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


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. YusufD 25 Reputation points
    2024-07-31T09:31:26.7833333+00:00

    Hello, I would like to give an update. We resolved this issue by using the blob connector instead of the ADLS Gen2 as a sink.

    1 person found this answer helpful.

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.