XX-net/XX-Net · warning

host:%s fail

Error message

host:%s fail

What it means

In the CloudFlare front IP checker tool, checking a scan host against an IP returned a falsy result or res.ok == False, meaning the IP does not serve that domain.

Source

Thrown at code/default/x_tunnel/local/cloudflare_front/check_ip.py:61

from front_base.openssl_wrap import SSLContext
from front_base.connect_creator import ConnectCreator
from front_base.check_ip import CheckIp
from front_base.host_manager import HostManagerBase

from cloudflare_front.config import Config
from cloudflare_front import front
from cloudflare_front.host_manager import HostManager


def check_all_domain(check_ip):
    with open(os.path.join(current_path, "front_domains.json"), "r") as fd:
        content = fd.read()
        cs = json.loads(content)
        for host in cs:
            host = "scan1." + host
            res = check_ip.check_ip(ip, host=host, wait_time=wait_time)
            if not res or not res.ok:
                xlog.warn("host:%s fail", host)
            else:
                xlog.info("host:%s ok", host)


class CheckAllIp(object):
    def __init__(self, check_ip, host):
        self.check_ip = check_ip
        self.host = host
        self.lock = threading.Lock()

        self.in_fd = open(os.path.join(current_path, "good_ip.txt"), "r")
        self.out_fd = open(
            os.path.join(module_data_path, "cloudflare_checked_ip.txt"),
            "w"
        )

    def get_ip(self):
        with self.lock:

View on GitHub (pinned to cfa5bc17b6)

Solutions

  1. Verify the IP is a live CloudFlare edge
  2. Re-run check; single-host failures among many are expected
  3. Update the domain list file
Defensive patterns

Strategy: fallback

Prevention

When it happens

Trigger: check_all_domain iterates hosts from a JSON file, calls check_ip.check_ip(ip, host='scan1.'+host); failure logs 'host:%s fail'.

Common situations: Running the check_ip maintenance script against a dead/wrong IP; domains removed from CloudFlare.

Related errors


AI-assisted analysis of XX-net/XX-Net@cfa5bc17b6 (2026-08-27). Data as JSON: /api/errors/96c421cfedbb6c15. Report an issue: GitHub.