All HTTP status codes

HTTP 511 Network Authentication Required

Server Error

The network (not the website) requires authentication first — the response captive portals send before you log in to hotel/airport Wi-Fi.

Defined in RFC 6585

Common causes

  • Captive portal intercepting traffic until network login

How to fix it

  1. Open the portal page and authenticate to the network

  2. In apps, detect 511 and prompt the user to complete the portal login

Want to explore status codes interactively? Try the free HTTP Status Code Reference — search, categories and example responses, right in your browser.