V2EX  ›  英汉词典
Enqueued related words: Bad Gateway, Server Error

502

定义 Definition

502 通常指 HTTP 状态码 502(Bad Gateway,网关错误):表示服务器作为网关或代理时,从上游服务器收到了无效响应,因此无法完成请求。(在不同语境中也可能只是数字“502”。)

发音 Pronunciation (IPA)

/faɪv oʊ tuː/

例句 Examples

I got a 502 error when I opened the website.
我打开网站时出现了 502 错误。

When the load balancer can’t get a valid response from the upstream service, users may see a 502 Bad Gateway even though the application itself is running.
当负载均衡器无法从上游服务获得有效响应时,即使应用本身在运行,用户也可能看到 502 Bad Gateway。

词源 Etymology

“502” 来自 HTTP(超文本传输协议) 的状态码体系。状态码用三位数字表示请求结果,其中 5xx 表示“服务器端错误”,502 专指网关/代理从上游收到无效响应的情况。

相关词 Related Words

文学与著作中的用例 Literary Works

  • HTTP: The Definitive Guide(David Gourley, Brian Totty 等)中讨论 HTTP 状态码体系与网关/代理相关错误(包括 502)。
  • Site Reliability Engineering: How Google Runs Production Systems(Betsy Beyer 等)涉及线上服务故障现象与常见 HTTP 错误码(在网关/依赖服务异常场景下可能出现 502)。
  • Designing Web APIs(Brenda Jin, Saurabh Sahni, Amir Shevat)在 API 设计与错误处理语境中提及服务端错误码类别(可包含 502 这类网关错误)。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1646 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 00:48 · PVG 08:48 · LAX 16:48 · JFK 19:48
♥ Do have faith in what you're doing.