python - "Connection aborted" and "Cannot connect to proxy" -
python - "Connection aborted" and "Cannot connect to proxy" -
when code bellow running
import requests monitor_r = requests.get(monitor_url, proxies=proxies, timeout=60*4)
i these exceptions:
('connection aborted.', badstatusline("''",)) # , ('cannot connect proxy.', error(32, 'broken pipe')))
what these errors , how prepare them?
this link suggests caused @ httplib
level.
https
url using http
seek using https://
, see if works... double check url doesn't contain dodgy characters check proxy accepting headers python python-requests
Comments
Post a Comment