Skip to content
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

Offline if host has Cloudflare #43

Open
coonpatto opened this issue Jun 7, 2020 · 4 comments
Open

Offline if host has Cloudflare #43

coonpatto opened this issue Jun 7, 2020 · 4 comments

Comments

@coonpatto
Copy link

not sure if this project is still continued, but it doesnt seem to detect if a host is online if they have cloudflare on the site.

@sindresorhus
Copy link
Owner

Can you share an example site that reproduces the issue?

@sindresorhus sindresorhus changed the title Offline if host has cloudflare Offline if host has Cloudflare Jun 8, 2020
@conpatto
Copy link

conpatto commented Jun 8, 2020

Hi, I used a couple of websites, mithian.xyz and selfbot.cc. Both have cloudflare on. If I use any other site like google.com or amazon.com it works perfectly fine.

@aam1r
Copy link

aam1r commented Jun 17, 2021

This also happens if you are using Cloudflare's 1.1.1.1 DNS service locally.

This may be related to major/icanhaz#17.

@Richienb
Copy link
Contributor

Richienb commented Sep 5, 2021

I think what happens is that CloudFlare uses an interstitial page that looks like a HTTP error for bots. This causes this module to return false. https://support.cloudflare.com/hc/en-us/articles/200170076-Understanding-Cloudflare-Under-Attack-mode-advanced-DDOS-protection-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants