requests.exceptions.ProxyError: HTTPSConnectionPool(host='httpbin.org', port=443): Max retries exceeded with url: /ip (Caused by ProxyError('Cannot connect to proxy.', error(54, 'Connection reset by peer')))
Best Answer
n
nestor
said
over 3 years ago
Sounds like you have a firewall that might be blocking connection to Crawlera. Make sure port 8010 is open.
Atman An
import requests
response = requests.get(
"https://httpbin.org/ip",
proxies={
'http': 'http://<mytoken>:@proxy.crawlera.com:8010/',
'https': 'https://<mytoken>:@proxy.crawlera.com:8010/'
},
verify='./crawlera-ca.crt',
# headers={'x-crawlera-use-https':'1'}
)
print(response.text)
got
requests.exceptions.ProxyError: HTTPSConnectionPool(host='httpbin.org', port=443): Max retries exceeded with url: /ip (Caused by ProxyError('Cannot connect to proxy.', error(54, 'Connection reset by peer')))
Sounds like you have a firewall that might be blocking connection to Crawlera. Make sure port 8010 is open.
- Oldest First
- Popular
- Newest First
Sorted by Oldest Firstnestor
Sounds like you have a firewall that might be blocking connection to Crawlera. Make sure port 8010 is open.
Atman An
Hmm, maybe the GFW
Atman An
Big brother is watching Crawlera
-
Crawlera 503 Ban
-
Amazon scraping speed
-
Website redirects
-
Error Code 429 Too Many Requests
-
Bing
-
Subscribed to Crawlera but saying Not Subscribed
-
Selenium with c#
-
Using Crawlera with browsermob
-
CRAWLERA_PRESERVE_DELAY leads to error
-
How to connect Selenium PhantomJS to Crawlera?
See all 395 topics