Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1096231 of 502 Bad Gateway

  • Revision slug: Web/HTTP/Status/502
  • Revision title: 502 Bad Gateway
  • Revision id: 1096231
  • Created:
  • Creator: fscholz
  • Is current revision? Yes
  • Comment

Revision Content

{{HTTPSidebar}}

The HTTP 502 Bad Gateway server error response code indicates that the server, while acting as a gateway or proxy, received an invalid response from the upstream server.

A {{interwiki("wikipedia", "Gateway_(telecommunications)", "Gateway")}} might refer to different things in networking and a 502 error is usually not something you can fix, but requires a fix by the web server or the proxies you are trying to get access through.

Status

502 Bad Gateway

Specifications

Specification Title
{{RFC("7231", "502 Bad Gateway" , "6.6.3")}} Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content

Browser compatibility

{{Compat}}

See also

  • {{HTTPStatus(504)}}

Revision Source

<div>{{HTTPSidebar}}</div>

<p>The HTTP <code><strong>502</strong></code><strong><code> Bad Gateway</code></strong> server error response code indicates that the server, while acting as a gateway or proxy, received an invalid response from the upstream server.</p>

<p>A {{interwiki("wikipedia", "Gateway_(telecommunications)", "Gateway")}} might refer to different things in networking and a 502 error is usually not something you can fix, but requires a fix by the web server or the proxies you are trying to get access through.</p>

<h2 id="Status">Status</h2>

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

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Title</th>
  </tr>
  <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="Browser_compatibility">Browser compatibility</h2>

<p class="hidden">The compatibility table in this page is generated from structured data. If you’d like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data/README.md">https://github.com/mdn/browser-compat-data/README.md</a> and send us a pull request.</p>

<p>{{Compat}}</p>

<h2>See also</h2>

<ul>
 <li>{{HTTPStatus(504)}}</li>
</ul>
Revert to this revision