is-reachable
is-reachable copied to clipboard
Offline if host has Cloudflare
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.
Can you share an example site that reproduces the issue?
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.
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.
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-