Cannot connect Ubuntu to starbucks wifi network
Solution 1:
The issue is it recognises that the WiFi connection is trying to “hijack” the secure connection. It prevents this.
To avoid this, navigate to http://neverssl.com. This webpage will never use HTTPS and family, so it will always be “hijackable” by the WiFi.
Solution 2:
Problem
YouTube prevents other sites, even your hotspot's login page, from doing anything using its domain name:
- You're trying to go to YouTube
- The hotspot is trying to redirect everything you do, including YouTube pages, to its login page until you login
- YouTube is set up to force your browser to use HTTPS (that's what HSTS in that error message means)
- HTTPS allows only the genuine YouTube site to work on its domain name
- The hotspot won't work through YouTube's domain name, getting blocked by the browser just like you see
Solution
To log into hotspots, use neverssl.com:
- Open a new tab or window in your web browser.
- Go to http://neverssl.com — which prevents the use of HTTPS and allows hotspot to redirect to login page. (You can add this to your browser bookmarks so you don't forget it).
- If the hotspot login page doesn't appear, press the reload button
- Log in to the hotspot
- Close the tab after successfully logging in