HTTP Status Codes / 5xx HTTP Status Codes / HTTP 511

511 Network Authentication Required

This is an educational reference page about HTTP 511 Network Authentication Required. The page itself is served as 200 OK so it can be indexed as HTTP documentation.

The client needs to authenticate to gain network access. Intended for use by intercepting proxies used to control access to the network (e.g., "captive portals" used to require agreement to Terms of Service before granting full Internet access via a Wi-Fi hotspot).

Specification

Registered in the IANA HTTP Status Code Registry as Network Authentication Required. Defined in RFC 6585, Section 6.

Header and content rules

What RFC 6585 says about a 511 response, quoted from the RFC. The 5xx class rules also apply.

The same rules are in the response obligations table and its JSON.

5xx server error – the server failed to fulfill an apparently valid request


HTTP status code lookup
REST API status code chooser
cURL command generator
By Ping Now, a website/API/service uptime monitor
Data from Wikipedia