-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blocked by Cloudflare when running locally #1
Comments
Can you provide the article link? let me see if I can reproduce so I can fix the issue. |
I may try something like cloudscraper |
You can try this one: |
Thanks, I'll try to look into it a bit later |
@lucky401 did you manage to fix this? |
@atcasanova not really, no. I didn't really look into it that much since this was a bit low priority on my radar (because of my other projects). |
@atcasanova I am not that familiar with CloudFlare so don't know what page rules are 🤔 |
@atcasanova Thank you very much for this information :) |
I guess i missread it at first. The guy was running it locally, so cloudflare was blocking him actually. It's not the same thing. |
Well now I'm here and I dont understand what I can do to fix this. |
Same |
Using Cloudlfare as well and running this container behind traefik, I am facing the same issue. |
Pretty sure cloudflare sees the request coming from a datacenter IP and blocks it. I tried to get around it by identifying the IP's behind cloudflare via DNS History. and with curl: curl https://162.159.152.4/better-humans/how-to-wake-up-at-5-a-m-every-day-ceb02e29c802 -v -k -H "Host: medium.com" But on both I get: curl: (35) OpenSSL/3.2.1: error:0A000410:SSL routines::ssl/tls alert handshake failure If we manage to solve this issue it could. work. |
I tried to use this with a non paywalled article (see here) and still getting blocked: ![]() Does this approach no longer work? |
I just installed this and I get the same thing. I tried on two different machines - one locally and the other a vps and it's the same issue. It seems it's the site you are getting to that triggers this as it works on some and not on others. |
Blocked by Cloudflare when running locally
URL: http://127.0.0.1:5000/article
Whenever I click submit I get the following.
The page does not successfully load. I'm using VENV environment and the error happens when I try to navigate to the article that I want to see.
The text was updated successfully, but these errors were encountered: