πΊοΈ
523
Origin Is Unreachable
Example HTTP Response
HTTP Response
HTTP/1.1 523 Origin Is Unreachable
Server: cloudflare
Content-Type: text/html
<html><body>Origin is unreachable</body></html>Common Causes
- Origin server IP address is unreachable
- Network routing problems
- Origin's hosting provider having network outage
- DNS resolution failing for origin
- Origin IP address changed but DNS not updated
- ISP or network connectivity issues
- Origin server's network interface down
Technical Details
What does this mean?
Your server fell off the internet! Cloudflare can't even find your origin server on the network. It's like having a delivery address that doesn't exist - the package can't even start the journey.
Technical Definition
Cloudflare could not reach the origin server. The origin's IP address is unreachable at the network level.
Code Snippets
Ready-to-use code for returning this HTTP status in your application:
Node.js
// Express.js
app.get('/example', (req, res) => {
res.status(523).json({
error: 'Origin Is Unreachable',
message: 'Your error message here'
});
});
// Native HTTP
const http = require('http');
http.createServer((req, res) => {
res.writeHead(523, { 'Content-Type': 'application/json' });
res.end(JSON.stringify({
error: 'Origin Is Unreachable',
message: 'Your error message here'
}));
}).listen(3000);Related Status Codes