HTTP Status Codes

HTTP 502 Bad Gateway

By Error Admin in 5xx Server Error Code, HTTP Status Codes

HTTP 502 Error Code: The HTTP 502 Bad Gateway means that the server while being a gateway or proxy to fulfill the request by the client to access the requested URL received an invalid response from the upstream server it accessed in an attempt to fulfill the request. This has nothing to do with the upstream server; it doesn’t mean the upstream server is down. It is because there are protocol issues between the upstream server and the proxy in exchanging data. In spite of the internet protocols being clear and if the problem still persists, then the issues lie with one or both of the machines having programmed incorrectly. See HTTP Error Codes.

HTTP 502 Bad Gateway

HTTP 502 Bad Gateway

Fix 502 Bad Gateway

Try the steps below to get rid of HTTP 502 Bad Gateway.

  1. The HTTP 502 Error arises due to the weak IP connection between the servers at both the end. Try clearing your browser cache before figuring out the problem.
  2. If you’re surfing the net and find this issue with all the pages you visit then the issue lies within your ISP as it may be overloaded.
  3. At times your firewall can also block your from visiting a particular site, make sure your Antivirus is not causing this.
  4. If you face this problem with the selected sites you sites then with no doubt eh problem resides with their machine being failed or overloaded. Try contacting the site admin.

Know more about HTTP 502 Bad Gateway from HTTP Status Codes.

Other HTTP Status Codes

HTTP Verbs

HTTP Methods

1xx Informational

100 Continue

101 Switching Protocol

102 Processing

2xx Success

200 OK

201 Created

202 Accepted

203 Non-Authoritative Information

204 No Content

205 Reset Content

206 Partial Content

207 Multi-Status (WebDAV; RFC 4918)

208 Already Reported (WebDAV; RFC 5842)

226 IM Used (RFC 3229)

3xx Redirection

300 Multiple Choice

301 Moved Permanently

302 Found

303 See Other

304 Not Modified

305 Use Proxy

306 Unused

307 Temporary Redirect

308 Temporary Redirect

4xx Client Error

400 Bad Request

401 Unauthorized

402 Payment Required

403 Forbidden

404 Not Found

405 Method Not Allowed

406 Not Acceptable

407 Proxy Authentication Required

408 Request Timeout

409 Conflict

410 Gone

411 Length Required

412 Precondition Failed

413 Payload Too Large

414 URI Too Long

415 Unsupported Media Type

416 Requested Range Not Satisfiable

417 Expectation Failed

418 I’m a teapot (RFC 2324)

421 Misdirected Request

422 Unprocessable Entity (WebDAV; RFC 4918)

423 Locked (WebDAV; RFC 4918)

424 Failed Dependency (WebDAV; RFC 4918)

426 Upgrade Required

428 Precondition Required

429 Too Many Requests

431 Request Header Fields Too Large

451 Unavailable For Legal Reasons

5xx Server Error

500 Internal Server Error

502 Bad Gateway

503 Service Unavailable

504 Gateway Timeout

505 HTTP Version Not Supported

506 Variant Also Negotiates

507 Variant Also Negotiates

508 Loop Detected (WebDAV; RFC 5842)

510 Not Extended (RFC 2774)

511 Network Authentication Required

Unofficial Error Code List

103 Checkpoint

420 Method Failure (Spring Framework)

420 Enhance Your Calm (Twitter)

450 Blocked by Windows Parental Controls (Microsoft)

498 Invalid Token (Esri)

499 Token Required (Esri)

499 Request forbidden by antivirus

509 Bandwidth Limit Exceeded (Apache Web Server/cPanel)

530 Site is frozen

Internet Information Services Error Code List

449 Retry With

451 Redirect

444 No Response

Nginx Error Code List

495 SSL Certificate Error

496 SSL Certificate Required

497 HTTP Request Sent to HTTPS Port

499 Client Closed Request

CloudFlare Error Code List

520 Unknown Error

521 Web Server Is Down

522 Connection Timed Out

523 Origin Is Unreachable

524 A Timeout Occurred

525 SSL Handshake Failed

526 Invalid SSL Certificate

Post a Reply

Your email address will not be published. Required fields are marked *