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.

it may caused trying connect 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

Popular posts from this blog

c - Compilation of a code: unkown type name string -

ubuntu - Bash Script to Check That Files Are Being Created -

Php operator `break` doesn't stop while -