aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/http/status/502/index.html
blob: d7f8a816f223a44b3c345ff90a5ffc549729e044 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
title: 502 Bad Gateway
slug: Web/HTTP/Status/502
tags:
  - Bad Gateway
  - HTTP
  - Status code
translation_of: Web/HTTP/Status/502
---
<div>{{HTTPSidebar}}</div>

<p><code>502 Bad Gateway</code> 錯誤表明伺服器以閘道器或代理訪問時,收到了來自上游服務器的無效回應。</p>

<div class="note">
<p><strong>注意:</strong>{{interwiki("wikipedia", "閘道器" )}}可能位於網路上的不同地方。502 錯誤通常也不是開發者可以修復的,他通常需要在要訪問的的伺服器或代理修復之。</p>
</div>

<h2 id="狀態">狀態</h2>

<pre class="syntaxbox notranslate">502 Bad Gateway
</pre>

<h2 id="規範">規範</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">規範</th>
   <th scope="col">標題</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{RFC("7231", "502 Bad Gateway" , "6.6.3")}}</td>
   <td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td>
  </tr>
 </tbody>
</table>

<h2 id="瀏覽器相容性">瀏覽器相容性</h2>

<p>The information shown below has been pulled from MDN's GitHub (<a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a>).</p>



<p>{{Compat("http.status.502")}}</p>

<h2 id="See_also">See also</h2>

<ul>
 <li><a href="https://techmoon.xyz/502-bad-gateway-error-fix-wordpress/">WordPress 出現 502 Bad Gateway Error 解決方法</a></li>
 <li>{{HTTPStatus(504)}}</li>
 <li><a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html" rel="noopener">HTTP/1.1: Status Code Definition</a></li>
 <li><a href="https://www.exai.com/blog/502-bad-gateway">502 bad gateway fix</a></li>
 <li><a href="https://kinsta.com/blog/502-bad-gateway/">502 Bad Gateway error on WordPress</a></li>
 <li><a href="https://support.cloudflare.com/hc/en-us/articles/115003011431#502504error">502 error with Cloudflare</a></li>
</ul>