511 Network Authentication Required means you must log in to the network itself before reaching the internet. Captive portals in hotels, airports and cafés send it.
HTTP/1.1 511 Network Authentication RequiredCommon causes
- Public Wi-Fi intercepting requests until you accept the terms or sign in.
How to fix it
- Open any http page in a browser to reach the portal and sign in.
- The response comes from the network, not the site you asked for, so do not trust its content.