13ft icon indicating copy to clipboard operation
13ft copied to clipboard

Blocked by Cloudflare when running locally

Open lucky401 opened this issue 3 years ago • 15 comments

Blocked by Cloudflare when running locally

URL: http://127.0.0.1:5000/article

Whenever I click submit I get the following.

Screen Shot 2022-02-09 at 10 13 29

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.

lucky401 avatar Feb 09 '22 03:02 lucky401

Can you provide the article link? let me see if I can reproduce so I can fix the issue.

wasi-master avatar Feb 09 '22 04:02 wasi-master

I may try something like cloudscraper

wasi-master avatar Feb 09 '22 04:02 wasi-master

You can try this one:

Zoom Meeting Etiquette 101

lucky401 avatar Feb 09 '22 04:02 lucky401

Thanks, I'll try to look into it a bit later

wasi-master avatar Feb 09 '22 04:02 wasi-master

@lucky401 did you manage to fix this?

atcasanova avatar May 30 '23 16:05 atcasanova

@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).

wasi-master avatar May 30 '23 16:05 wasi-master

@atcasanova I am not that familiar with CloudFlare so don't know what page rules are 🤔

wasi-master avatar May 30 '23 17:05 wasi-master

@atcasanova Thank you very much for this information :)

wasi-master avatar May 30 '23 17:05 wasi-master

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.

atcasanova avatar May 31 '23 15:05 atcasanova

@atcasanova I am not that familiar with CloudFlare so don't know what page rules are 🤔

Basically you get to keep the "hide my IP" feature but give up their WAF capabilities. Whoever comes here with the same problem will know what to do by reading this :)

Well now I'm here and I dont understand what I can do to fix this.

Andber8 avatar Nov 06 '23 17:11 Andber8

@atcasanova I am not that familiar with CloudFlare so don't know what page rules are 🤔

Basically you get to keep the "hide my IP" feature but give up their WAF capabilities. Whoever comes here with the same problem will know what to do by reading this :)

Well now I'm here and I dont understand what I can do to fix this.

Same

evilalmus avatar Jan 05 '24 20:01 evilalmus

Using Cloudlfare as well and running this container behind traefik, I am facing the same issue. I'll try to figure out what is happening here and get back here when I know more.

Henko-0 avatar Mar 12 '24 21:03 Henko-0

Pretty sure cloudflare sees the request coming from a datacenter IP and blocks it. Same problem here from VPS & local IP & multiple tested IP's via VPN.

I tried to get around it by identifying the IP's behind cloudflare via DNS History.

image

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.

cocoonkid avatar Mar 13 '24 17:03 cocoonkid

I tried to use this with a non paywalled article (see here) and still getting blocked:

Screenshot 2024-08-19 at 10 55 57 PM

Does this approach no longer work?

Olshansk avatar Aug 20 '24 02:08 Olshansk

image https://13ft.wasimaster.me/article is also blocked. [link](https://medium.com/@james.matson_64120/building-a-high-performing-engineering-team-when-youre-not-big-tech-47240701c7b9)

mrmign avatar Aug 28 '24 06:08 mrmign