server Error (5xx)

What "Server error (5xx)" _(terjemahan)_ “server error (5xx)” status di Google Search Console's halaman pengindeksan report berarti — why sebuah 500-tingkat respons slows crawling dan eventually drops halaman, cara diagnose dan fix ini, dan right cara untuk take sebuah situs down pada purpose dengan sebuah 503 dan Retry-setelah.

Pertama kali diterbitkan: 23 Jun 2026 · Terakhir diperbarui: 3 Agu 2026 · Advanced
Bahasa
1 sinyal bukti di halaman ini

"Server error (5xx)" _(terjemahan)_ “server error (5xx)” di Search Console's halaman pengindeksan report berarti Googlebot requested sebuah URL dan server dikembalikan sebuah 500-tingkat error (500, 502, 503, 504) alih-alih sebuah 200, so halaman dapat't menjadi terindeks. Two harms ikuti: Google slows crawling — proportionate untuk how banyak URLs adalah erroring — dan apa pun konten dari sebuah 5xx adalah ignored; persistent 5xx eventually drops sudah-terindeks URLs. Recovery adalah automatic once server mengembalikan 2xx, tetapi crawl rate ramps back gradually. umum causes adalah sebuah overloaded atau misconfigured host, app/DB errors, upstream/CDN failures, dan sebuah CDN/WAF (atau rate limiting → 429, which Google buckets dengan 5xx) blocking Googlebot — verify dengan reverse DNS/IP ranges sebelum changing security aturan, since sebuah Googlebot pengguna-agent adalah spoofable. Diagnose via crawl Stats host availability, server logs, dan pemeriksaan URL live test (sebuah halaman berfungsi now doesn't prove what Googlebot saw earlier). one nuance: Google's default advice adalah untuk stay online dengan limited functionality selama sebuah closure; jika Anda harus fully disable, 503 + Retry-setelah adalah correct untuk sebuah day atau two di sebagian besar (weeks dari downtime harms pengindeksan dengan no fixed recovery time), dan Anda robots.txt harus pertahankan returning 200 throughout, because sebuah 503 pada robots.txt dapat pause crawling situs-wide.

TL;DR — “Server error (5xx)” (terjemahan) “server error (5xx)” berarti server dikembalikan sebuah 500-tingkat code when Googlebot requested URL, so halaman dapat’t menjadi terindeks. Two distinct harms: Google slows crawl rate (proportionate untuk how banyak URLs adalah erroring) dan ignores apa pun konten sebuah 5xx mengembalikan; jika errors persist, sudah-terindeks URLs adalah dipertahankan di pertama, lalu dropped. Recovery adalah automatic setelah Anda kembalikan 2xx, tetapi crawl rate ramps back up gradually. Google buckets 429 (rate limiting / “server overloaded” (terjemahan) “server overloaded”) dengan 5xx. Causes: overloaded/misconfigured host, app/DB errors, upstream atau CDN failures, sebuah CDN/WAF blocking Googlebot (verify dengan reverse DNS/IP ranges sebelum changing security aturan — sebuah Googlebot pengguna-agent adalah spoofable). Diagnose dengan crawl Stats host availability → server logs → pemeriksaan URL live test. Google’s default recommendation untuk planned closures adalah untuk stay online dengan limited functionality; jika Anda harus fully disable, correct respons adalah 503 + Retry-setelah untuk sebuah day atau two (“a few days at most” (terjemahan) “sebuah few days di sebagian besar” — weeks dari ini harms pengindeksan dengan no fixed recovery time) — dan robots.txt harus pertahankan returning 200, because sebuah 503 pada robots.txt dapat pause crawling situs-wide. lalu run Validate Fix (optional — ini hanya tracks fix).

What status actually reports

label reports respons Google observed, not spesifik origin, proxy, database, atau CDN failure itu caused ini. Evidence for this claim Google reports Server error 5xx when the server returned a 500-level response for the requested page. Scope: Google Search Console report terminology and documented Search behavior; the label alone may not prove the underlying root cause. Confidence: high · Verified: Google: Page indexing report Google’s HTTP guidance defines separate crawl dan pengindeksan effects. Evidence for this claim Google slows crawling for 5xx responses and may eventually remove persistently failing URLs from the index. Scope: Google Search Console report terminology and documented Search behavior; the label alone may not prove the underlying root cause. Confidence: high · Verified: Google: HTTP status codes

Google’s own definition adalah one line: Anda server dikembalikan sebuah 500-tingkat error when halaman adalah requested. itu’s ini. Googlebot dibuat sebuah permintaan, dan alih-alih sebuah 200 dengan konten ini got sebuah 500, 502, 503, 504, atau similar. URL lands di bawah Not terindeks because there adalah no usable konten untuk indeks.

pertahankan one thing straight: ini adalah tentang kode respons, not halaman’s konten, markup, atau SEO setup. sebuah 5xx adalah sebuah server-dan-infrastructure masalah. No amount dari editing halaman’s HTML fixes sebuah 502 coming dari sebuah overloaded backend.

How Google treats 5xx — crawl economics

ini adalah bagian sebagian besar explainers skip, dan ini adalah whole alasan 5xx penting more daripada, say, sebuah 404. Google’s HTTP-errors documentation spells out perilaku:

  • crawling slows down. 5xx (dan 429) errors prompt Google’s crawler untuk temporarily slow down. decrease di crawl rate adalah proportionate untuk angka dari individual URLs returning sebuah server error — sebuah handful dari erroring URLs adalah sebuah nudge; sebuah situs-wide 5xx adalah sebuah hard brake.
  • ** konten adalah ignored.** Anything Google menerima dari sebuah URL returning sebuah 5xx adalah thrown away. There’s no “partial credit” (terjemahan) “partial credit” untuk sebuah error body — Google melakukan not indeks sebuah “site down” (terjemahan) “situs down” message Anda disajikan dengan sebuah 500.
  • terindeks URLs adalah dipertahankan, lalu eventually dropped. sudah-terindeks URLs stay di indeks di pertama. tetapi Google’s pengindeksan pipeline menghapus URLs itu persistently mengembalikan server error. So sebuah pendek outage costs Anda nothing di indeks; sebuah prolonged one costs Anda halaman.
  • Recovery adalah automatic — tetapi gradual. Once server starts responding dengan 2xx again, Google gradually increases crawl rate back up. Anda tidak file sebuah ticket; Anda fix server dan crawl ramps back cautiously pada -nya own.

itu sequence — slow down → ignore konten → pertahankan → eventually drop → recover pada 2xx — adalah accuracy spine dari ini whole topic.

429 counts sebagai sebuah server error. Worth flagging because sebagian besar competitor konten misses ini: Google treats sebuah 429 Too Many Requests sebagai sebuah signal itu server adalah overloaded, dan buckets ini dengan 5xx. jika Anda rate limiting atau bot protection adalah firing 429s di Googlebot, Anda’re getting yang sama crawl slowdown sebagai sebuah 500.

umum 5xx codes, oleh mungkin root cause

Knowing which 5xx Anda’re getting adalah sebuah starting poin untuk where untuk look — not proof dari what’s broken. RFC 9110 ( HTTP specification) defines setiap code oleh what responding component adalah doing, dan apa pun dari ini dapat menjadi emitted oleh sebuah origin server, sebuah application server, sebuah muat balancer, sebuah CDN, atau sebuah proxy sitting di front dari nyata origin. Treat code sebagai pertama clue, lalu correlate ini terhadap edge, origin, application, dan database/dependency logs untuk yang sama permintaan sebelum Anda conclude which layer actually failed:

  • 500 error server internal — per spec, “the server encountered an unexpected condition that prevented it from fulfilling the request.” (terjemahan) “ server encountered sebuah unexpected condition itu prevented ini dari fulfilling permintaan.” itu’s deliberately generic: ini adalah sering application code atau sebuah runtime/config error, tetapi kode status alone doesn’t prove itu — periksa app logs untuk confirm.
  • 502 gateway buruk — “the server, while acting as a gateway or proxy, received an invalid response from an inbound server.” (terjemahan) “ server, while acting sebagai sebuah gateway atau proxy, diterima sebuah invalid respons dari sebuah inbound server.” ini poin di sebuah upstream interaction, not sebuah single vendor: periksa chain dari muat balancer, reverse proxy, CDN, dan origin behind them.
  • 503 Service Unavailable — “the server is currently unable to handle the request due to a temporary overload or scheduled maintenance.” (terjemahan) “ server adalah currently unable untuk handle permintaan karena sebuah temporary overload atau scheduled maintenance.” lihat capacity, traffic spikes, dan whether something adalah di sebuah maintenance state. (ini adalah juga code Anda ingin untuk kirim pada purpose selama planned downtime — see below.) Note spec’s own caveat: sebuah overloaded server isn’t diperlukan untuk kembalikan 503 di semua — “some servers might simply refuse the connection,” (terjemahan) “beberapa server mungkin simply refuse connection,” which dapat tampilkan up sebagai sebuah timeout atau connection error alih-alih sebuah clean kode status.
  • 504 batas waktu gateway — “the server, while acting as a gateway or proxy, did not receive a timely response from an upstream server.” (terjemahan) “ server, while acting sebagai sebuah gateway atau proxy, melakukan not menerima sebuah timely respons dari sebuah upstream server.” ini marks sebuah timeout boundary, not which upstream component adalah slow: periksa panjang database kueri, slow ketiga-party panggilan, dan sebuah origin struggling di bawah muat.

sebuah practical thread runs melalui ini: 5xx sering traces back untuk sebuah overloaded atau slow backend, so server performa berfungsi — faster kueri, lighter server-side rendering, more capacity — adalah frequently bagian dari fix, not sebuah side quest. tetapi because yang sama kode status dapat come dari apa pun layer di chain, code narrows Anda search; logs tell Anda where failure actually happened.

umum causes

  • Overloaded host. Traffic spikes (including aggressive crawling) outrun Anda server’s capacity dan ini starts shedding permintaan sebagai 5xx.
  • Application atau database errors. Unhandled exceptions, sebuah downed DB, sebuah buruk deploy, exhausted connection pools.
  • Misconfiguration. sebuah broken config setelah sebuah perubahan, sebuah expired dependency, sebuah full disk.
  • Upstream / CDN failures. Anda origin adalah fine tetapi sebuah proxy, muat balancer, atau CDN di front dari ini adalah returning 502/504 — atau CDN itself memiliki sebuah outage.
  • sebuah CDN/WAF atau rate limiter blocking Googlebot. bot protection, security aturan, atau rate limiting itu mistakes Googlebot untuk sebuah attacker dapat kembalikan 5xx atau 429 hanya untuk Googlebot while pengguna nyata see situs fine. ini one adalah di bawah-covered dan sebuah frequent dunia nyata cause — which adalah why Anda memiliki untuk reproduce sebagai Googlebot, not hanya periksa halaman di Anda browser.

cara diagnose ini

berfungsi dari whole-situs view down untuk single URL:

  1. crawl Stats → Host availability. di Search Console, Settings → crawl stats. host status bagian dan oleh-respons-code breakdown tampilkan whether 5xx adalah sebuah persistent, besar-scale issue atau sebuah isolated blip, dan roughly when ini started.
  2. server dan access logs. ground truth. Filter Anda logs untuk Googlebot (verified — see Scripts tab) dan lihat kode status ini actually diterima dan when. Logs akan tampilkan Anda sebuah CDN/WAF blocking Googlebot itu sebuah browser test tidak pernah akan.
  3. pemeriksaan URL → Live Test. Run sebuah flagged URL melalui pemeriksaan URL dan gunakan Test Live URL. ini confirms whether Google-InspectionTool dapat access halaman right now — berguna, tetapi ini adalah sebuah saat ini-state periksa, not proof dari what happened di earlier time Google logged 5xx. sebuah halaman itu memuat fine untuk Anda (di sebuah browser, atau via Live Test) minutes atau hours later doesn’t aturan out sebuah nyata error di moment Googlebot actually hit ini — time, IP, geo, cache state, dan bot-detection aturan dapat semua differ antara two permintaan.
  4. Reproduce sebagai Googlebot. permintaan URL dengan Googlebot’s pengguna-agent (dan, jika Anda dapat, dari outside Anda network) untuk catch WAF/rate-limit aturan itu hanya fire untuk bot. Treat ini sebagai sebuah differential test, not verified proof dari what Googlebot itself saw — sebuah Googlebot pengguna-agent string adalah trivial untuk spoof di either direction. sebelum Anda loosen sebuah WAF, CDN, atau rate-limit aturan because “it’s only blocking Googlebot,” (terjemahan) “ini adalah hanya blocking Googlebot,” confirm traffic di Anda logs adalah nyata Googlebot via reverse DNS atau Google’s published IP ranges (see Scripts tab) — don’t perubahan sebuah security control berdasarkan pengguna-agent header alone.

cara fix ini

setelah Anda know cause, fixes ikuti Google’s own “fixing server errors” (terjemahan) “fixing server errors” guidance:

  • Confirm scale di crawl Stats sebelum Anda perubahan anything — adalah ini persistent dan besar, atau sebuah one-off?
  • Reduce excessive halaman memuat untuk dynamic permintaan. Cache expensive halaman, mengoptimalkan slow kueri, dan stop generating heavy respons pada setiap hit.
  • pastikan host isn’t down, overloaded, atau misconfigured. tambahkan capacity, fix config, restart broken service, periksa database.
  • pastikan Anda’re not inadvertently blocking Google. Audit CDN/WAF/bot aturan dan rate limits untuk anything firing 5xx atau 429 di Googlebot.
  • Control crawling wisely. jika aggressive crawling adalah overloading Anda, jawaban adalah sebuah temporary 503/429 untuk ease bot off — not sebuah permanent block.

right cara untuk take sebuah situs down pada purpose — 503 + Retry-setelah

Sometimes Anda ingin situs unavailable: sebuah migration, scheduled maintenance, pausing sebuah online business. Doing ini wrong turns sebuah planned event ke sebuah deindexing event. Google’s Pause Anda online business di Google Search doc adalah explicit tentang correct approach.

Google’s default recommendation adalah untuk pertahankan situs up, hanya limited. jika closure adalah temporary dan Anda plan untuk reopen, Google’s own preference adalah itu Anda “keep your site online and limit the functionality” (terjemahan) “pertahankan situs online dan limit functionality” alih-alih take ini fully offline. Full disable-dan-503 adalah urgent option, not default one.

When Anda melakukan perlu whole situs down, gunakan 503 (Service Unavailable) dengan sebuah Retry-setelah header. Google: “If you need to urgently disable the site for 1-2 days, then return an informational error page with a 503 HTTP response status code.” (terjemahan) “jika Anda perlu urgently disable situs untuk 1-2 days, lalu kembalikan sebuah informational halaman error dengan sebuah 503 respons HTTP status code.” dan pair ini dengan header: “Use the retry-after HTTP header with a best effort date or duration.” (terjemahan) “gunakan retry-setelah header HTTP dengan sebuah best effort date atau duration.” 503 says “temporarily down,” (terjemahan) “temporarily down,” dan Retry-setelah tells bot roughly when untuk come back — tetapi treat itu header sebagai advisory, not sebuah guarantee: ini adalah sebuah best-effort signal, not sebuah promise Google akan recrawl di itu exact time.

ini adalah sebuah pendek-istilah mengukur hanya. Google panggilan ini “an extreme measure that should only be taken for a very short period of time (a few days at most).” (terjemahan) “sebuah extreme mengukur itu seharusnya hanya menjadi taken untuk sebuah very pendek period dari time (sebuah few days di sebagian besar).” dan warning itu competitors leave out: “Completely closing a site even for just a few weeks can have negative consequences on Google’s indexing of your site.” (terjemahan) “Completely closing sebuah situs bahkan untuk hanya sebuah few weeks dapat memiliki negative consequences pada Google’s pengindeksan dari Anda situs.” Google adalah explicit itu there’s no cara untuk shortcut Anda cara back dari itu either — “there’s no fixed time for a recovery from a complete removal, and there’s no mechanism to speed that up.” (terjemahan) “there’s no fixed time untuk sebuah recovery dari sebuah complete removal, dan there’s no mechanism untuk speed itu up.” dengan kata lain, sebuah correct 503 protects Anda untuk sebuah day atau two — tetapi no kode status, dan no amount dari validating di Search Console, saves Anda dari pengindeksan damage dari menjadi down untuk weeks, atau gives Anda sebuah guaranteed comeback date. jika Anda perlu sebuah panjang outage, itu’s sebuah berbeda conversation (dan probably sebuah redirect atau sebuah nyata plan).

Why not sebuah 200 atau sebuah 404

  • Don’t sajikan 200 “under maintenance” (terjemahan) “di bawah maintenance” halaman. Google akan treat itu halaman’s konten sebagai nyata halaman dan dapat indeks Anda “we’ll be back soon” (terjemahan) “kami’ll menjadi back soon” message. konten dari sebuah proper 503, oleh contrast, adalah ignored — which adalah what Anda ingin.
  • Don’t mengembalikan 404 (atau 403/410). Google’s guidance adalah explicit: don’t block situs oleh returning 403, 404, atau 410 selama downtime. sebuah 404 signals hilang, not temporarily down; Anda ingin halaman dipertahankan, dan sebuah 503 melakukan itu.

robots.txt trap — pertahankan ini dapat di-crawl

ini adalah single sebagian besar-missed detail, dan ini dapat pause crawling untuk Anda entire situs. selama sebuah 503 maintenance window, Anda robots.txt file harus pertahankan returning 200 dan stay dapat di-crawl. Google adalah blunt: “Don’t return a 503 HTTP response status code for the robots.txt file because this blocks all crawling.” (terjemahan) “Don’t mengembalikan 503 HTTP respons kode status untuk robots.txt file because ini blocks semua crawling.” Carve robots.txt out dari maintenance handler so ini selalu jawaban 200 — don’t rely pada what happens jika Anda tidak.

untuk context, Google’s robots.txt spec doc lays out what actually happens jika robots.txt itself starts erroring, dan ini adalah staged alih-alih sebuah instant, permanent lockout: untuk pertama 12 hours Google stops crawling situs while masih retrying robots.txt; untuk next 30 days ini falls back untuk last known baik versi dari robots.txt while masih trying untuk fetch sebuah fresh one; dan setelah 30 days, jika situs adalah otherwise reachable, Google drops cached versi dan behaves sebagai jika there’s no robots.txt file di semua (i.e., no crawl restrictions dari ini) alih-alih continuing untuk block. jika there’s no cached versi untuk fall back pada di pertama place, Google likewise assumes there’s no crawl restriction. None dari itu adalah sebuah alasan untuk risk ini pada purpose — sebuah multi-day crawl pause di start dari window adalah masih nyata damage — ini hanya berarti “robots.txt 503’d” (terjemahan) “robots.txt 503’d” isn’t sebuah permanent, unrecoverable state jika ini happens oleh accident dan gets fixed.

Validating fix di GSC

setelah server adalah healthy again:

  1. Open server error (5xx) issue di halaman pengindeksan report.
  2. Click Validate Fix. Google re-melakukan crawl affected URLs di batches.
  3. Watch validation state. sebagai URLs come back 200, mereka jelas; jika beberapa masih error, validation flags them dan Anda diagnose itu specifically.

Anda tidak memiliki untuk wait untuk validation untuk re-crawl naturally — tetapi Validate Fix prioritizes affected set dan gives Anda sebuah status untuk track. Remember crawl rate itself ramps back gradually setelah Anda’re returning 2xx, so don’t expect sebuah instant snap-back untuk Anda old crawl volume.

Where ini sits

sebuah 5xx adalah sebuah crawl-dan-sajikan masalah, so ini touches neighbors: persistent 5xx hammers Anda crawl rate ( lever Googlebot pulls when Anda server struggles), dan host-tingkat view dari ini lives di crawl Stats report dan -nya host status. ini adalah distinct dari sebuah 404 (tidak ditemukan), which signals hilang alih-alih broken dan adalah handled far more gently. untuk bigger picture dari how penemuan dan fetching berfungsi, see crawling hub; untuk rest dari halaman pengindeksan statuses, see GSC halaman pengindeksan hub.

Add an expert note

Pin an expert quote

New person? Create their unclaimed profile at /admin/experts/ → Pin a quote first.