ConnectionError: HTTPSConnectionPool(host='zbbfxstatic.figtingdream.com', port=443): Max retries exceeded with url: /api/cache (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000249795AD9A0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
python
# Case1: 超时
ConnectionError: ('Connection aborted.', TimeoutError(10060, '由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。', None, 10060, None))
# Case2:
ConnectionError: HTTPSConnectionPool(host='zbbfxstatic.figtingdream.com', port=443): Max retries exceeded with url: /api/cache (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000249795AD9A0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
连接不上url ,chatcpt 第一步就告诉我了,折腾了大半个下午,惭愧!