使用客户端配置和执行对Azure Cosmos DB服务的请求时
`
d=ProxyConfiguration()
d.Host='string'
d.Port=int
client = CosmosClient(url,key,proxy_config = d) `
我犯了一个错误
azure.core.exceptions.ServiceRequestError:<urllib3.connection.HTTPSConnection object at 0x0000020EC3BCCD60>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed
将值传递给proxy_config参数的正确方法是什么
您可以下载官方SDK进行测试,我认为您应该使用
CosmosClientConnection
而不是CosmosClient
proxy_tests.py
相关问题 更多 >
编程相关推荐