Azure Databricks to Cognitive Search connection timing out

alvaro mantilla 20 Reputation points
2024-03-04T19:56:31.0633333+00:00

I have a question on Azure Databricks and Azure Cognitive Search connectivity and hope this is the right forum to ask it.

We are getting a timeout message when creating an index , "ServiceRequestError: (<urllib3.connection.HTTPSConnection object at 0x7f081820e1a0>, 'Connection to xxxxx-aisearch-02.search.windows.net timed out. (connect timeout=300)')". I recreated the scenario on my own subscription and get the same error message.

The command we are running is a simple create index one: "create_index('test22_index_db', config)". We've passed the search URL, Search Key and other parameters in the config variable.

The configuration uses private endpoints and all the configuration settings seem correct. Connectivity to other AI services is working fine, Document Intelligence and OpenAI services. Connectivity to storage accounts and key vaults is fine as well.

Connectivity works when private endpoints are removed from AI Search.

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,049 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,211 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.