Synapse AutoResolveIntegrationRuntime connection failure pipeline

Roeland Bakker 5 Reputation points
2023-06-07T08:18:29.8466667+00:00

Hi,

I am trying to do REST API calls to a public API using the AutoResolveIntegrationRuntime in Azure Synapse.

If I test the connection of the REST Linked Service, it takes 2 minutes, but after a while it shows 'Connection Succesful'Source Dataset REST

However, when I define the REST dataset as source dataset in my Copy data activity and try to preview the data I receive the following error:

Error code 23360

Details

Fail to read from REST resource.

An error occurred while sending the request.

Unable to connect to the remote server

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 185.134.251.31:443

User's image

When I do REST API calls to the source API via Postman I receive status 200 OK and I can see the data so the API itself works fine.

When I run the pipeline in debug mode I receive the following error:

{     
"errorCode": "2200",
"message": "Failure happened on 'Source' side. ErrorCode=RestResourceReadFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Fail to read from REST resource.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Net.Http.HttpRequestException,Message=An error occurred while sending the request.,Source=mscorlib,''Type=System.Net.WebException,Message=Unable to connect to the remote server,Source=System,''Type=System.Net.Sockets.SocketException,Message=A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond xxx.xxx.xxx.xx:443,Source=System,'",
"failureType": "UserError",     
"target": "cp_xxxxxx_bulk",     
"details": [] 
}
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,375 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Roeland Bakker 5 Reputation points
    2023-12-20T16:11:17.0533333+00:00

    Hi @Yanis MOULA

    In my case it turned out that the REST API host cyper suites were not up to date. After the API provider updated the cypher suites of their host, connection was established successfully.

    Hope this fixes the problem for you as well.

    Regards

    0 comments No comments

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.