报错文字:
requests.exceptions.ProxyError: HTTPSConnectionPool(host='xx', port=xx): Max retries exceeded with url: xx(Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 400 Bad Request',)))
解决办法:
设置fiddler中的网关即可
解决Requests ProxyError
本文介绍了解决使用requests库时遇到的ProxyError问题的方法。当出现Max retries exceeded错误且提示为Cannot connect to proxy时,可以通过设置Fiddler中的网关来解决。
报错文字:
requests.exceptions.ProxyError: HTTPSConnectionPool(host='xx', port=xx): Max retries exceeded with url: xx(Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 400 Bad Request',)))
解决办法:
设置fiddler中的网关即可
878
2556
1430
7605

被折叠的 条评论
为什么被折叠?