Ingest into Azure Data Explorer failing through Azure Data Factory pipeline
Ashutosh Rai (Tata Consultancy Services Ltd)
1
Reputation point
I have created a Azure Data Factory pipeline to copy data from On- Premise Sql server to a Kusto cluster.I have created a service principal and given it admin permission on the Kusto database in Azure Data Explorer.Also used this service principal for creating Linked Service to connect with Azure Data Explorer. Test Connection for this Linked Service is successful and it also fetches data in Preview.
But when I run the pipeline it fails to copy the data in Azure Data Explorer and throws following error.
Failure happened on 'Sink' side. ErrorCode=UserErrorKustoWriteFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Write to Kusto failed with following error: Kusto client failed to send a request to the service: Unable to connect to the remote server. Please provide the following information when contacting the Kusto team @ https://aka.ms/kustosupport : DataSource='https://ingest-imageops.westus.kusto.windows.net/v1/rest/mgmt', DatabaseName='NetDefaultDB', ClientRequestId='KI.KustoQueuedIngestClient.IngestFromDataReader.2a169fab-7ac5-47cd-85b5-cb18f6300237;8e958787-ad6b-4af5-9aff-64b733a7d1be', Timestamp='2020-11-18T06:51:50.0627927Z'..,Source=Microsoft.DataTransfer.Runtime.KustoConnector,''Type=Kusto.Data.Exceptions.KustoClientException,Message=Kusto client failed to send a request to the service: Unable to connect to the remote server. Please provide the following information when contacting the Kusto team @ https://aka.ms/kustosupport : DataSource='https://ingest-imageops.westus.kusto.windows.net/v1/rest/mgmt', DatabaseName='NetDefaultDB', ClientRequestId='KI.KustoQueuedIngestClient.IngestFromDataReader.2a169fab-7ac5-47cd-85b5-cb18f6300237;8e958787-ad6b-4af5-9aff-64b733a7d1be', Timestamp='2020-11-18T06:51:50.0627927Z'.,Source=Kusto.Data,''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 20.184.253.224:443,Source=System,'*