Azure AI Search技能集索引器报错:远程域名无法解析原因排查
问题:Azure AI Search索引器执行时出现域名解析错误
我在Azure AI Search中创建了如下技能集:
{"@odata.context": "https://srch-tender-prod-weu-001.search.windows.net/$metadata#skillsets/$entity","@odata.etag": "\"0x8DC7350076C5133\"","name": "standalone-skillset","description": "Skillset to chunk documents and generating embeddings","skills": [{"@odata.type": "#Microsoft.Skills.Text.SplitSkill","name": "#1","description": "Split skill to chunk documents","context": "/document","defaultLanguageCode": "en","textSplitMode": "pages","maximumPageLength": 5000,"pageOverlapLength": 0,"maximumPagesToTake": 0,"inputs": [{"name": "text","source": "/document/content"}],"outputs": [{"name": "textItems","targetName": "pages"}]},{"@odata.type": "#Microsoft.Skills.Text.AzureOpenAIEmbeddingSkill","name": "#2","description": "Skill to generate embeddings via Azure OpenAI","context": "/document/pages/*","resourceUri": "https://oai-tender-prod-swec-001.openai.azure.com","apiKey": "<redacted>","deploymentId": "text-ada-002-embedding","inputs": [{"name": "text","source": "/document/pages/*"}],"outputs": [{"name": "embedding","targetName": "vector"}],"authIdentity": null}],"cognitiveServices": null,"knowledgeStore": null,"indexProjections": {"selectors": [{"targetIndexName": "standalone","parentKeyFieldName": "parent_id","sourceContext": "/document/pages/*","mappings": [{"name": "chunk","source": "/document/pages/*","sourceContext": null,"inputs": []},{"name": "vector","source": "/document/pages/*/vector","sourceContext": null,"inputs": []}]}],"parameters": {"projectionMode": "skipIndexingParentDocuments"}},"encryptionKey": null}
相关配置信息:
- Azure OpenAI资源端点:对应截图显示的端点地址
- 索引配置:对应三张截图中的索引设置
- 索引器配置:对应截图中的索引器设置
执行技能集对应的索引器时出现错误:
The remote name could not be resolved: 'oai-tender-prod-swec-001.openai.azure.com'
错误原因分析
- 域名拼写错误:技能集中配置的
resourceUri域名oai-tender-prod-swec-001.openai.azure.com可能存在拼写错误,比如区域后缀swec是否为正确的Azure区域代码(常见如weu、eastus等),需核对实际Azure OpenAI资源的端点域名。 - 资源不存在或未部署:该域名对应的Azure OpenAI资源可能未成功创建,或资源名称填写错误,导致DNS系统无法解析该域名。
- 网络隔离限制:Azure AI Search服务所在网络环境无法访问该Azure OpenAI域名,比如Azure OpenAI资源设置了专用端点、虚拟网络防火墙规则,而Search服务未加入允许访问的网络范围,导致解析失败。
- 区域访问限制:Azure OpenAI资源与Azure AI Search服务的区域不匹配,部分区域间存在网络连通性限制,导致无法解析目标域名。
内容的提问来源于stack exchange,提问作者Luuk van Gasteren
相关产品推荐
相关产品推荐

