Skip to main content

Fix Host Had Problems Last Week: 8 robots.txt Failures Tested

Host had problems last week means Googlebot hit 429s, 5xx, timeouts or DNS errors. I tested 8 robots.txt faults: the 403 that passes is the scary one.

• • 11 min read
Dashboard cover for a post on fixing the Search Console Crawl Stats warning Host had problems last week: probe robots.txt, DNS and server connectivity, classify each response the way Google does, and fix the failing category

TL;DR — Host had problems last week is a Search Console Crawl Stats warning meaning that on at least one day in the past seven, Googlebot’s failure rate crossed Google’s line for one of three checks: robots.txt fetching, DNS resolution, or server connectivity. I ran 8 robots.txt failure modes through a probe that classifies responses the way Google’s docs do: a 10% rate of 503s, a WAF 429, a connection reset and a slow response all count as failures, while a 403, a 404 and a 6-hop redirect chain all pass but make Google ignore every rule in the file. Fix the failing category first, then check that your passing robots.txt is actually being read.

The warning gets ignored because nothing looks broken in a browser. But a failing robots.txt fetch stops Google from crawling the entire site, not one page, and DNS or connection failures do the same.

What Does Host Had Problems Last Week Mean?

It is the summary line of the Host status panel in Settings → Crawl stats, and it means at least one of three availability checks had a significant failure in the last seven days. Google’s Crawl Stats help page calls that state “Recent availability issue” and tells you to check whether it’s recurring. If the failure happened earlier in the 90-day window, the panel says the host had problems in the past instead. Green means no significant issues in 90 days.

Each check has its own chart with a dotted red line. A day above that line is an issue. Google’s only published example is DNS failing on more than 5% of requests in a day. It doesn’t give a number for the other two.

Host status checkWhat counts as a failureWhat Google does while it fails
robots.txt fetchingHTTP 429, any 5xx, or no responseStops crawling the site for 12 hours, then uses the last cached robots.txt for up to 30 days
DNS resolutionName server didn’t answer or didn’t know the hostGenerally stops crawling until it resolves
Server connectivityTimeout, refused or reset connectionSlows crawling quickly; unreachable indexed URLs can drop within days

The first row is the one people misread. A 404 on robots.txt isn’t a failure. Google treats it as “no robots.txt” and carries on. A 503 on robots.txt is a failure, and it pauses everything.

Which robots.txt Responses Count as Failures?

I built a fault-injecting server with one port per failure mode and probed each with 50 robots.txt requests using Googlebot’s user agent. The probe follows redirects by hand, gives up after 5 seconds, and classifies each result using the status code rules in Google’s robots.txt specification. The script is further down.

Failure mode on robots.txtProbe result (50 requests)Host statusWhat Google does with your rules
Healthy 20050 × 200PassApplies them
503 on 1 request in 1045 × 200, 5 × 503Fail, 10%Pauses crawling, then falls back to cache
WAF rate limit after 20 requests20 × 200, 30 × 429Fail, 60%Pauses crawling, then falls back to cache
Connection reset on 1 in 437 × 200, 13 × resetFail, 26%Stops crawling, no cached fallback
6-second response4 of 4 timed outFail, 100%Stops crawling, no cached fallback
404 Not Found50 × 404PassIgnores them: crawls everything
403 Forbidden50 × 403PassIgnores them: crawls everything
6-hop redirect chain50 × too many redirectsPassTreats it as 404: crawls everything

Two things stand out. A 10% error rate is enough to fail this check, and it’s the kind of rate that never shows up when you open the site yourself. And three of the four passing modes are broken: they pass the check while throwing away your Disallow lines.

Eight robots.txt failure modes tested 50 times each. Four count as host status failures: 503 on 10% of requests, a WAF 429 after 20 requests at 60%, connection resets at 26%, and a 6-second response at 100%. Four pass: a healthy 200 applies the rules, while a 404, a 403 and a 6-hop redirect chain also pass but make Google ignore every rule

Why Is a Green robots.txt Check Not Always Safe?

Because Google treats every 4xx except 429 as “this site has no robots.txt”. The spec says crawlers “treat all 4xx errors, except 429, as if a valid robots.txt file didn’t exist.” No file means no rules, so Disallow: /admin/ is gone.

The 403 case is the one to worry about. A WAF or bot rule that blocks Googlebot’s user agent usually blocks robots.txt along with everything else. Host status stays green for robots.txt fetching, and Google concludes it may crawl anything it can reach. Your login pages, faceted URLs and staging paths are now fair game. The rest of the site is probably returning 403 too, which shows up separately as Blocked due to access forbidden (403).

The redirect chain is quieter. Google follows at least five hops. Past that, it stops and treats robots.txt as a 404. A chain like http → https → www → apex → /en/ → /robots.txt is easy to build by accident when each redirect rule lives in a different layer.

So check two things: that robots.txt doesn’t fail, and that it returns 200 with your actual rules in it.

How to Fix Host Had Problems Last Week in 7 Steps

  1. Find the failing check. Open Settings → Crawl stats → Open report and click the Host status panel. Look at which of the three charts went above the red line, and on which days.

  2. Read the Crawl responses table for the same days. Click into the response types. A spike in 5xx or 429 points at your server or WAF. A spike in “Could not connect” or “Timeout” points at connectivity. Note the dates for your logs.

  3. Probe robots.txt as Googlebot does. Run the script below against your live origin. If the fail rate is above zero, you’ve reproduced it. If it’s zero, run it again during your busiest hour, because many of these failures only happen under load.

  4. Check who answered. Look at the response headers on a failed request. If they come from your CDN or WAF (a challenge page, a Retry-After, a vendor error code), the fix is a rule change, not more servers. Make sure that rule matches Googlebot by verified IP ranges, not user agent.

  5. Serve robots.txt as a static file from the edge. It shouldn’t depend on an app server, a database or a function with a request quota. A file cached at the CDN keeps returning 200 when the origin is struggling.

  6. Fix DNS and connectivity separately. Run dig against each authoritative name server and confirm they all return the same A and AAAA records. Check firewall logs for dropped connections from Google’s IP ranges. If you host with someone else, send them the failing dates.

  7. Wait for a clean week. There’s no request button for host status. After seven days without a failing day, the panel moves from “last week” to “in the past”. It goes green after 90 clean days.

What Google does while robots.txt keeps returning 5xx or 429. For the first 12 hours it stops crawling the site and retries robots.txt. From 12 hours to 30 days it crawls using the last good cached robots.txt, or stays stopped if there is no cached copy. After about 30 days it crawls as if there is no robots.txt if the site is otherwise available, or keeps crawling stopped if it is not

The timeline is why a 503 on robots.txt is worse than a 503 on any one page. The first 12 hours cost you crawling across the whole host. A site that fails robots.txt every few hours never gets out of that first box.

A Script That Probes Your Host the Way Googlebot Does

This is the probe that produced the table above. It needs Node 18+ and no dependencies. It checks that DNS resolves, then fetches robots.txt repeatedly with a Googlebot user agent, follows up to five redirects by hand, and labels each result with what Google’s docs say happens next.

JavaScript
// probe-host-status.mjs — node probe-host-status.mjs <origin> [samples=50] [intervalMs=200]
import dns from 'node:dns/promises';
const [origin, samples = 50, gap = 200] = process.argv.slice(2);
const UA = 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)';

// Google follows at least 5 redirect hops, then treats robots.txt as a 404.
async function fetchRobots() {
  let url = new URL('/robots.txt', origin), hops = 0;
  const t0 = performance.now();
  try {
    for (;;) {
      const r = await fetch(url, { redirect: 'manual', headers: { 'user-agent': UA }, signal: AbortSignal.timeout(5000) });
      if (r.status >= 300 && r.status < 400 && r.headers.get('location')) {
        if (++hops > 5) return { kind: 'too-many-redirects', ms: performance.now() - t0 };
        url = new URL(r.headers.get('location'), url); continue;
      }
      await r.arrayBuffer();
      return { kind: String(r.status), ms: performance.now() - t0 };
    }
  } catch (e) {
    const kind = e.name === 'TimeoutError' ? 'timeout' : (e.cause?.code || e.code || 'network');
    return { kind, ms: performance.now() - t0 };
  }
}

// How Google's robots.txt spec says each outcome is treated.
function classify(kind) {
  if (/^2/.test(kind)) return ['ok', 'rules applied'];
  if (kind === 'too-many-redirects') return ['ok', 'treated as 404: no rules'];
  if (kind === '429' || /^5/.test(kind)) return ['FAIL', 'crawl paused 12h, then cached copy'];
  if (/^4/.test(kind)) return ['ok', 'treated as no robots.txt: crawl everything'];
  return ['FAIL', 'crawl stops until fixed, no cached copy'];
}

try { await dns.lookup(new URL(origin).hostname); console.log('dns: ok'); }
catch (e) { console.log(`dns: FAIL ${e.code}`); }

const tally = {}, lat = [];
for (let i = 0; i < samples; i++) {
  const r = await fetchRobots(); lat.push(r.ms);
  tally[r.kind] = (tally[r.kind] || 0) + 1;
  await new Promise((s) => setTimeout(s, gap));
}
lat.sort((a, b) => a - b);
let fails = 0;
for (const [kind, count] of Object.entries(tally)) {
  const [verdict, meaning] = classify(kind);
  if (verdict === 'FAIL') fails += count;
  console.log(`${kind.padEnd(20)} ${String(count).padStart(3)}  ${verdict.padEnd(4)}  ${meaning}`);
}
console.log(`robots.txt fail rate: ${((fails / samples) * 100).toFixed(1)}% of ${samples}` +
  ` · p50 ${lat[Math.floor(samples * 0.5)].toFixed(0)}ms · p95 ${lat[Math.floor(samples * 0.95)].toFixed(0)}ms`);

Here’s the WAF case from the test, where a rate limit kicked in after 20 requests:

Text
dns: ok
200                   20  ok    rules applied
429                   30  FAIL  crawl paused 12h, then cached copy
robots.txt fail rate: 60.0% of 50 · p50 1ms · p95 1ms

Run it from outside your network, not from the server itself, or you skip the CDN and firewall that usually cause the problem. A user agent string doesn’t make you Googlebot, so a WAF that checks IP ranges will treat this probe differently from the real crawler. A clean result tells you the origin is fine. It doesn’t prove Google sees the same thing.

For comparison, I sent 20 Googlebot-user-agent requests to this site’s own robots.txt: 20 of 20 returned 200, median 176 ms, served from Cloudflare’s edge cache (cf-cache-status: HIT). That’s on purpose. This site once went down when a metered Worker ran out of its daily quota, as described in the Server error (5xx) post. robots.txt is now a prerendered static file, so a quota running out can’t touch it.

Which Fix Matches Which Host Status Category?

Failing checkMost common causeWhere to lookFix
robots.txt fetchingWAF or bot rule returning 429 or a challengeCDN firewall events for /robots.txtExempt /robots.txt and verified Googlebot IPs from rate limits
robots.txt fetchingrobots.txt generated by the app, failing under loadOrigin logs at the failing hoursServe it as a static, edge-cached file
DNS resolutionOne authoritative name server out of sync or downdig @ns1 … against every NS recordFix or remove the bad name server, then wait for TTLs to expire
DNS resolutionFirewall dropping DNS over TCPFirewall rules for port 53Allow both UDP and TCP
Server connectivityOrigin overloaded during crawl burstsCrawl Stats response time, server CPUCache HTML and answer revalidation with 304
Server connectivityFirewall dropping Google’s IP rangesFirewall deny logsAllow Google’s published crawler ranges

If you use Cloudflare, the first and last rows usually come down to one setting. The Cloudflare Googlebot audit shows how to find which rule fired.

When Can You Ignore Host Had Problems Last Week?

When it was one bad day you can explain. A deploy that restarted the origin, a DNS migration, or a provider outage with a status page entry will show up as a single spike. If the chart is flat on either side of that day and your probe comes back clean, you can let it age out.

Don’t ignore it when the spike repeats, when it lines up with a traffic peak, or when you can’t explain it. A recurring failure means Google is crawling less every week, and you’ll see it later as new URLs stuck in Discovered – currently not indexed. If URL Inspection also refuses to fetch, Failed: Hostload exceeded explains how to tell your server’s limit from the tool’s. And if robots.txt fetches fine but blocks the pages you want, that’s Blocked by robots.txt. The rest of this technical SEO series is in the AI search hub.

FAQ

What does host had problems last week mean in Search Console?

It is the host status summary in Settings, Crawl stats. It means that on at least one day in the past seven, one of three checks crossed Google’s acceptable failure line: robots.txt fetching, DNS resolution, or server connectivity. Google’s help page calls this a recent availability issue and tells you to check whether it recurs.

Does a 404 on robots.txt cause host problems?

No. Google counts a 403, 404 or 410 on robots.txt as a successful fetch that means the file does not exist. It then crawls the site with no restrictions at all. Only 429, 5xx, timeouts and connection errors count as robots.txt fetch failures.

What happens to crawling when robots.txt returns 503?

Google stops crawling the whole site for the first 12 hours while it keeps retrying robots.txt. After that it uses the last good cached copy for up to 30 days. If there is no cached copy, crawling stays stopped, and after about 30 days the outcome depends on whether the rest of the site is reachable.

Will host had problems last week hurt my rankings?

Not directly. It is a crawl availability report, not a ranking signal. The risk is indirect: Google crawls less while the host fails, so new pages wait longer to be discovered, and pages that stay unreachable for days can drop out of the index.

How long does the host status warning take to clear?

The recent issue state covers the last seven days. After a week with no failing day it moves to the older issue state, which covers the rest of the 90-day window. It goes fully green once 90 days pass without a significant failure.

Sources

  • Google Search Console Help, Crawl Stats report: the three host status checks, the recent and older issue states, the 90-day window, the red-line threshold and its 5% DNS example, and which robots.txt responses count as successful or unsuccessful.
  • Google Search Central, How Google interprets the robots.txt specification: 4xx treated as no robots.txt, 429 and 5xx handling (12 hours, 30-day cached copy), the five-hop redirect limit, and the 24-hour cache.
  • Google Crawling Infrastructure, Debug network and DNS errors: timeouts, resets and DNS errors treated like 5xx, unreachable URLs dropped within days, and the dig and firewall checks.
  • First-party test: a local fault-injecting server with eight robots.txt failure modes, each probed 50 times with the script in this post (the 6-second mode 4 times), plus 20 requests to umesh-malik.com/robots.txt, December 3, 2026.

Frequently asked questions

Share this article:
X LinkedIn

Google Search · Preferred sources

Prefer this site on Google

If you already read this writing, add umesh-malik.com as a Preferred Source. Google can then highlight it with a preferred badge in Top Stories, AI Overviews, and AI Mode — for you, not as a site-wide ranking boost.

Keep reading

Get new posts on AI, Claude Code & LLMs

New deep-dives on AI engineering, Claude Code, and developer tooling — follow along however you prefer.