exceptions.SSLError: HTTPSConnectionPool(host=‘163.com‘, port=443)

简介: exceptions.SSLError: HTTPSConnectionPool(host=‘163.com‘, port=443)

1.Requests的请求默认verify=True,改为False1.png

2.忽略警告

(1)

import requests
requests.packages.urllib3.disable_warnings

(2)

import warnings
warnings.filterwarnings("ignore")

(3)

import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
相关文章
|
3月前
|
安全 网络安全 API
7-8|requests.exceptions.SSLError: HTTPSConnectionPool(host='jumps.xxx.cn', port=443): Max ret
7-8|requests.exceptions.SSLError: HTTPSConnectionPool(host='jumps.xxx.cn', port=443): Max ret
|
7月前
|
NoSQL 网络安全 Redis
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:6379. Connection refused.
当使用Python连接Redis遇到"ConnectionError: Error 111"时,可能的原因包括Redis未启动、非默认端口监听、防火墙阻拦、配置错误或Redis模块安装不正确。解决方法包括启动Redis、检查端口与防火墙设置、修正配置文件、确保模块正确安装及测试服务器功能。提供了一个Python连接Redis的示例代码,根据实际情况调整IP和端口,以诊断连接问题。
422 0
|
5月前
|
应用服务中间件 nginx Docker
connect() failed (113: No route to host) while connecting to upstream
connect() failed (113: No route to host) while connecting to upstream
174 0
|
7月前
|
Go 开发工具 git
【git】解决:Failed to connect to 127.0.0.1 port 7890: Connection refused
【git】解决:Failed to connect to 127.0.0.1 port 7890: Connection refused
2024 0
|
6月前
|
Linux 数据安全/隐私保护
Could not connect to ‘121.37.92.110‘ (port 22): Connection failed.
Could not connect to ‘121.37.92.110‘ (port 22): Connection failed.
SSLError(MaxRetryError(‘HTTPSConnectionPool(host=\‘repo.anaconda.com\‘, port
SSLError(MaxRetryError(‘HTTPSConnectionPool(host=\‘repo.anaconda.com\‘, port
1173 0
|
Java 应用服务中间件 PHP
Nginx——*5 connect() failed (111: Connection refused) while connecting to upstream
Nginx——*5 connect() failed (111: Connection refused) while connecting to upstream
683 0
Nginx——*5 connect() failed (111: Connection refused) while connecting to upstream
Error from server error dialing backend remote error tls internal error
Error from server error dialing backend remote error tls internal error
127 0
|
IDE 开发工具 Android开发
Gradle升级,Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure
Gradle升级,Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure
4401 0
Gradle升级,Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure
|
Java 应用服务中间件
Error:Unable to connect to the localhost:1099
Error:Unable to connect to the localhost:1099
278 0