Closed dpalade06 closed 5 years ago
Hi @dpalade06,
The proxies are the problem 90% of the time. For example:
RequestError: Error: tunneling socket could not be established, statusCode=503
Looks like the proxy server hung up because of Cloudflare's response status code. Either way, it's a server error code. The problem is on their end.
Have a look at https://github.com/codemanki/cloudscraper/issues/233#issuecomment-510342262 for an example and tests.
Cheers
I've been trying to use this library to send get requests to CloudFlare protected websites using some http / https proxies.
For some reason I keep getting errors like:
What exactly am I doing wrong?
I even tried setting the proxy env variables, but no luck.