有一个SharePoint,我正在使用REST API通过Kerberos身份验证访问它的文件,问题是它所在的SharePoint对单个IP有两个DNS条目,每当它解析到域名1时,API就会通过身份验证,并且我会得到返回响应,但是每当DNS解析到域名2时,身份验证都会失败,并显示错误:“server not found in Kerberos database”,此DNS解析是随机的。要解决这个问题
[TencentCloudSDKException] code:ClientNetworkError message:HTTPSConnectionPool(host='cvm.tencentcloudapi.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1580fd0588>: Failed to establish a new connect