511 Network Authentication Required

Sign in to the wifi first.

What it properly means

The client needs to authenticate to gain network access. Used by captive portals, like wifi that makes you accept terms first.

Class
5xx Server error: we fucked up
Defined in
RFC 6585

Get one yourself

This endpoint really answers with 511. Point your client at it and see what it does.

curl -i https://httpcodes.dev/api/511