本文主要是介绍ConnectionError: HTTPSConnectionPool,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
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’))
# 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 第一步就告诉我了,折腾了大半个下午,惭愧!
这篇关于ConnectionError: HTTPSConnectionPool的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!