Connect on-premise API from Azure Data Factory pipeline

SarmisthaS 0 Reputation points
2024-04-12T10:46:22.6466667+00:00

Hi Guys,

I have a requirement to connect on-premise API link from ADF pipeline. I used WEB Activity with self hosted IR with below configuration, getting error code - 2108 .Failure type - User configuration issue 

Details - Error calling the endpoint. Response status code: 'ClientSideException : SecureChannelFailure'. More details: Exception message: 'NA - Unknown [ClientSideException] An error occurred while sending the request.'. Request didn't reach the server from the client. This could happen because of an underlying issue such as network connectivity, a DNS failure, a server certificate validation or a timeout. Exception message: 'The request was aborted: Could not create SSL/TLS secure channel.'. 

Can you please suggest possible solution to resolve the connectivity issue.

    "name": "Test", 

    "properties": { 

        "activities": [ 

            { 

                "name": "Web1", 

                "type": "WebActivity", 

                "dependsOn": [], 

                "policy": { 

                    "timeout": "0.12:00:00", 

                    "retry": 0, 

                    "retryIntervalInSeconds": 30, 

                    "secureOutput": false, 

                    "secureInput": false 

                }, 

                "userProperties": [], 

                "typeProperties": { 

                    "method": "GET", 

                    "headers": { 

                        "content-type": "application/x-www-form-urlencoded", 

                        "accept": "application/json" 

                    }, 

                    "url": "<url>", 

                    "connectVia": { 

                        "referenceName": "selfHostedIRProd", 

                        "type": "IntegrationRuntimeReference" 

                    }, 

                    "authentication": { 

                        "type": "Basic", 

                        "username": "<Username> ", 

                        "password": { 

                            "type": "SecureString", 

                            "value": "**********" 

                        } 

                    } 

                } 

            } 

        ], 

        "annotations": [] 

    } 

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,571 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 37,896 Reputation points Microsoft Employee
    2024-04-12T11:49:42.9433333+00:00

    Hi SarmisthaS,

    Thank you for posting query in Microsoft Q&A Platform.

    Error message you are receiving indicates that there is an issue with the SSL/TLS secure channel when calling the API endpoint from the ADF pipeline. This error can occur if the SSL/TLS certificate on the API endpoint is not trusted by the client, or if there is an issue with the SSL/TLS configuration on the client or server.

    • Check the SSL/TLS certificate on the API endpoint. Make sure that the SSL/TLS certificate is valid.
    • Check the SSL/TLS configuration on the server. Make sure that the server is configured to use the correct SSL/TLS protocol and cipher suite.
    • Check the network connectivity. Make sure that there are no network issues that could be causing the SSL/TLS secure channel to fail.
    • Check the DNS configuration. Make sure that the DNS configuration is correct.
    • Check the firewall configuration. Make sure that the firewall is not blocking the SSL/TLS traffic between the client and the API endpoint.

    If above not helps, then you need to consider reaching API provider for further assistance.

    Hope this helps. Please let me know if any further queries.


    Please consider hitting Accept Answer button. Accepted answers help community as well. Thank you.