HTTP 508 Loop Detected — Infinite Redirect or Binding Loop
Error5xx server error
Overview
HTTP 508 Loop Detected means the server detected an infinite loop while processing a request with Depth: infinity, commonly in WebDAV operations.
Key Details
- Defined in RFC 5842 for WebDAV Binding Extensions
- Server detected an infinite loop during a Depth: infinity operation
- Can occur with circular symbolic links or resource bindings
- The server terminates the operation to prevent infinite resource consumption
- Similar concept to infinite redirect loops but at the resource binding level
Common Causes
- Circular symbolic links in WebDAV-mounted directories
- Circular resource bindings in WebDAV collections
- Recursive directory structures creating infinite depth
- Misconfigured redirect rules creating loops (though typically 301/302 loops)
Steps
- 1Check for circular symbolic links: find /path -type l -ls
- 2Remove or fix circular bindings in WebDAV resource configuration
- 3Limit recursion depth in your WebDAV client requests
- 4Check server redirect rules for circular patterns
- 5Use Depth: 1 instead of Depth: infinity for WebDAV operations
Tags
http508loop-detectedwebdavinfinite-loop
More in 5xx Server Error
http-500-internal-server-errorHTTP 500 Internal Server Error — What It Means & How to Fix It
Criticalhttp-501-not-implementedHTTP 501 Not Implemented — What It Means & How to Fix It
Criticalhttp-502-bad-gatewayHTTP 502 Bad Gateway — What It Means & How to Fix It
Criticalhttp-503-service-unavailableHTTP 503 Service Unavailable — What It Means & How to Fix It
Criticalhttp-504-gateway-timeoutHTTP 504 Gateway Timeout — What It Means & How to Fix It
Criticalhttp-505-http-version-not-supportedHTTP 505 HTTP Version Not Supported — What It Means & How to Fix It
CriticalFrequently Asked Questions
Not exactly. 508 is for WebDAV binding/resource loops. Redirect loops typically show as ERR_TOO_MANY_REDIRECTS in browsers.