Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions content/520.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Description

<aside class="warning"><strong>Unofficial:</strong> This HTTP status code is not specified by any RFC.</aside>

The HTTP response status code `520 Unknown Error` is an unofficial HTTP status code specific to [Cloudflare](https://cloudflare.com).

This error occurs when the origin server returns an empty, unknown, or unexpected response to Cloudflare.

### See Also

- [Cloudflare Docs: Error 520](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/)
1 change: 1 addition & 0 deletions lib/statuses.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ const statuses = {
509: { code: 509, message: 'Bandwidth Limit Exceeded' },
510: { code: 510, message: 'Not Extended' },
511: { code: 511, message: 'Network Authentication Required' },
520: { code: 520, message: 'Cloudflare: Unknown Error' },
521: { code: 521, message: 'Web Server Is Down' },
522: { code: 522, message: 'Connection Timed Out' },
523: { code: 523, message: 'Origin Is Unreachable' },
Expand Down
Binary file added public/images-original/520.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/520.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.