is-reachable icon indicating copy to clipboard operation
is-reachable copied to clipboard

Offline if host has Cloudflare

Open coonpatto opened this issue 4 years ago • 4 comments

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.

coonpatto avatar Jun 07 '20 21:06 coonpatto

Can you share an example site that reproduces the issue?

sindresorhus avatar Jun 08 '20 06:06 sindresorhus

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.

conpatto avatar Jun 08 '20 13:06 conpatto

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

This may be related to https://github.com/major/icanhaz/issues/17.

aam1r avatar Jun 17 '21 15:06 aam1r

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-

Richienb avatar Sep 05 '21 13:09 Richienb