Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法切换HTTP模式 #67

Open
neepher opened this issue Jul 14, 2023 · 2 comments
Open

无法切换HTTP模式 #67

neepher opened this issue Jul 14, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@neepher
Copy link

neepher commented Jul 14, 2023

使用tccli连接私有云,tccli默认使用HTTPS模式,并开启了SSL证书验证,导致请求出现SsLEror(SSLError(1, '[SSL: CERTIFICATE_VERIFY_ERROR,又什么方法可以改用HTTP模式发起请求或者关闭HTTPS的证书校验?

@zqfan zqfan added the enhancement New feature or request label Jul 17, 2023
@FengZh61
Copy link

修改C:\Users\Administrator\AppData\Local\Programs\Python\Python37\Lib\site-packages\tencentcloud\common\profile 下的 http_profile.py self.protocol = protocol or "https" http改为http即可。

@FengZh61
Copy link

修改C:\Users\Administrator\AppData\Local\Programs\Python\Python37\Lib\site-packages\tencentcloud\common\profile 下的 http_profile.py self.protocol = protocol or "https" http改为http即可。

不过私有云有的产品的接口版本tccli不支持,我之前想用过tccli,发现云监控的版本不支持,不知道是不是我们这边的产品版本太低。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants