Skip to the content

511 Network Authentication Required

You have to sign in to the network before it lets you onto the internet. Sent by the Wi-Fi of hotels, airports and trains, not by the site.

Class
5xx Server error. The request may have been fine, but the server failed to fulfil it.
Defined in
RFC 6585

Share this tool:TwitterFacebookLinkedInWhatsAppEmail

What causes it

A captive portal intercepts your first request and answers in the place of the site, with a page on which to log in or accept the terms. The standard gave such networks 511, so that programs can tell the page of the portal from the real site. Many portals answer with a redirect all the same.

What to do about it

Open a browser and go to an address that starts with http:// and not https://. The portal can only step in on requests that are not encrypted, and its login page then appears. Phones and laptops usually notice a portal by themselves and show that page.

Programs that fetch data should read a 511 as "no connection yet", and must not store the response as if it came from the site.

Not to be confused with

407 Proxy Authentication RequiredA proxy wants credentials, sent in a header and not on a web page.
401 UnauthorizedThe site itself wants you to log in.

All codes are on the list of HTTP status codes, which can be searched by number and by word.

See all 12