Azure Synapse Analystic pipeline: The TCP/IP connection to the host has failed

Trinh Quang Dat 91 Reputation points
2022-09-14T11:10:52.56+00:00

I have a pipeline that calls to execute pipeline activity each date from a date range which is input as parameters. But I don't know why I got an issue below while my SQL pool still queries successfully in SSMS.

Operation on target DF_XX failed: {"StatusCode":"DF-MSSQL-InvalidFirewallSetting","Message":"Job failed due to reason: at Source 'sourceXXX': The TCP/IP connection to the host has failed. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.","Details":"java.lang.RuntimeException: Cannot connect to SQL database: 'jdbc:sqlserver://xxx-001.sql.azuresynapse.net;database={xxx_001}', 'Managed Identity (factory name): xxx-001'.[SQL Exception]Error Code:0, Error Message: The TCP/IP connection to the host xxx-001.sql.azuresynapse.net, port 1433 has failed. Error: \"connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.\"., error stack:shaded.msdataflow.com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:234)\nshaded.msdataflow.com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:285)\nshaded.msdataflow.com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java:2466)\nshaded.msdataflow.com.microsoft.sqlserver.jdbc.TDSChannel.open(IOBuffer."}

RunID: 4ba2d4bb-c810-4d88-9337-e852b91fbc92

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.
4,863 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,576 questions
{count} votes

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.