Skip to content

5xx Server error

511 Network Authentication Required

You need to log in to the network (e.g. Wi-Fi captive portal) first.

What 511 means

Sent by captive portals at hotels, airports and cafés before you've accepted their terms.

Common causes

  • Public Wi-Fi that needs you to sign in through a browser.

How to fix it

If you're calling an API

  • Open a browser, complete the portal login, then retry.

If you run the server

  • Captive portals only.

Should you retry?

After signing in to the network.

Example response

HTTP
HTTP/1.1 511 Network Authentication Required
Content-Type: application/problem+json

{
  "type": "about:blank",
  "title": "Network Authentication Required",
  "status": 511,
  "detail": "You need to log in to the network (e.g. Wi-Fi captive portal) first."
}

Defined in: RFC 6585. 511 is a server error: the problem is on the server's side.

Debugging an API call? Convert your request with the cURL converter, check the response with the JSON formatter, or see whether the API is down on its status page.

HTTP 511 FAQ

What does HTTP 511 mean?

511 Network Authentication Required: You need to log in to the network (e.g. Wi-Fi captive portal) first. Sent by captive portals at hotels, airports and cafés before you've accepted their terms.

Is 511 a client or server error?

It's a server error (5xx): the server failed to handle a valid request, so the fix is usually on the server's side.

How do I fix a 511 error?

Open a browser, complete the portal login, then retry.

Should I retry after a 511?

After signing in to the network.

Other 5xx status codes

All HTTP status codes