Databricks - unable to connect to ai search over private endpoint

alvaro mantilla 20 Reputation points
2024-03-01T16:03:46.9433333+00:00

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 keyvaults is fine as well.

For testing, I configured an AI Search instance without Private Endpoints and that seems to work fine.

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.
994 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,175 questions
Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
505 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.