When the code bellow is running
import requests
monitor_r = requests.get(monitor_url, proxies=proxies, timeout=60*4)
I get these exceptions:
('Connection aborted.', BadStatusLine("''",))
# and
('Cannot connect to proxy.', error(32, 'Broken pipe')))
What are these errors and how to fix them?
This link suggests that it is caused at the httplib level.
https url using http try using https:// and see if it works...If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With