531 Upstream Connection Error

The HTTP 531 Upstream Connection Error status code is an unofficial server error specific to Edgio (formerly Layer0). The Edgio platform returns this code when an edge server or serverless compute worker is unable to establish a TCP connection to the origin server.

Usage

Edgio operates as a content delivery network with serverless compute capabilities. When a request arrives at an Edgio point of presence (POP), the edge server either serves the response from cache or forwards the request upstream to the origin. If the origin server refuses the connection, is unreachable, or does not respond to the TCP handshake, Edgio generates a 531 error instead of waiting indefinitely.

Common causes include:

  • The origin server is down or the web server process has stopped running.
  • A firewall or security group on the origin blocks inbound connections from Edgio IP addresses.
  • The origin hostname resolves to an incorrect or unreachable IP address.
  • Network-level issues between the Edgio POP and the origin prevent TCP connectivity.

Note

The 531 specifically indicates a connection failure. If the TCP connection succeeds but the origin does not respond in time, Edgio returns 536 instead.

SEO impact

Search engines treat Edgio 531 responses as server errors. Persistent upstream connection failures reduce crawl rate and prevent indexing of affected URLs. Restoring origin connectivity resolves crawling disruptions.

Example

A client requests a page through Edgio. The origin server is unreachable, so Edgio returns a 531 error.

Request

GET /products HTTP/1.1
Host: www.example.re
Accept: text/html

Response

HTTP/1.1 531 Upstream Connection Error
Date: Mon, 02 Mar 2026 14:10:00 GMT
Content-Type: text/html
Server: ECAcc (dce/26A1)

<html>
<head><title>531 Connection Error</title></head>
<body>
<h1>531 Upstream Connection Error</h1>
<p>Unable to connect to the origin server</p>
</body>
</html>

How to fix

Verify the origin server is running and accepting connections. SSH into the origin and confirm the web server process (Nginx, Apache, Node.js) is active. Check with systemctl status nginx or the equivalent for the server in use.

Review the origin server's firewall rules. Edgio routes requests through a set of IP addresses the origin must allow. Add all Edgio IP ranges to the firewall allowlist or security group.

Confirm the origin hostname in the Edgio project configuration resolves to a valid, reachable IP address. Run dig or nslookup against the configured origin to verify DNS resolution.

Check for network-level blocks between the Edgio POP and the origin. Some hosting providers block traffic from CDN networks or rate-limit connections from proxy IP ranges. Contact the hosting provider to confirm no blocks are in place.

Takeaway

The 531 Upstream Connection Error is an Edgio-specific status code indicating the platform failed to establish a TCP connection to the origin server, typically caused by an offline origin, firewall rules, or DNS misconfiguration.

See also

Last updated: March 6, 2026