Captive portal detection may not be working
See original GitHub issueEdward reported having problems logging into an airplane’s captive portal on Slack: https://bravesoftware.slack.com/archives/C2FQMN4AD/p1582408566001200
Chrome and Firefox both have code to detect these portals and are using these test endpoints:
http://clients3.google.com/generate_204
http://detectportal.firefox.com/canonical.html
Testing is going to be challenging, but I found a potentially-useful node app on the Firefox meta-bug and there is a BadSSL test page for Chrome which triggers the UI in Brave too.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Internet Blocked by Captive Portal? See How to Fix the Issue
When the captive portal sign in page doesn't display, you are not able to access the Internet. See how to fix the blocked...
Read more >Troubleshooting Captive Portal | pfSense Documentation
Apple devices are unable to load the portal page or login In some cases, Apple devices will not automatically prompt for a Captive...
Read more >Resolve captive portal issue on ChromeOS - Google Support
To resolve the captive portal issue with ChromeOS 62, try allowlisting "alt*.gstatic.com". If your firewall doesn't support wildcards, allowlist ...
Read more >Captive portal doesn't pop up - Hotspot System Help Center
There can be cases when your hotspot is working (users are getting the right IP address), but for some users the splash page...
Read more >Troubleshooting Captive Portal Redirect Page Issues
Verify Captive Portal is enabled. Go to Device > User Identification > Captive Portal Settings. ... Verify that User ID is enabled on...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If anyone urgently needs to connect to the internet in the meantime, and is willing to make the tradeoff of using Google’s
generate_204
endpoint, this should suffice as a workaround:~/.config/BraveSoftware/Brave-Browser/
on LinuxPreferences
file within the profile directory, e.g../Default/Preferences
alternate_error_pages.enabled
key is present and set totrue
, e.g.:I’m using a network now where Firefox and Chromium on Linux have no issue detecting the captive portal and show me an option to go through it, but Brave doesn’t appear to be aware of it at all and attempts to visit any website simply fail.
For people who travel a lot, that seems like a must-have feature.
cc @rebron