I can not connect to a single public Wi-Fi hotspot that does not require a password but instead shows a pop-up window pointed to captive.apple.com
The pop-up opens blank with the error "The web page couldn't be loaded"
Any idea on how to fix this?
Found a solution! If you get a similar problem like this one:
The solution is to visit the following URL directly from Safari: http://captive.apple.com/hotspot-detect.html
You should be able to connect immediately.
For some reason, Mojave is not redirecting or opening that page properly, hence the error.
Good news, upgraded to 10.14.4 from 10.14.3 and now it works. I also have Sophos installed not sure if that was at play or not.
See also Mac won’t display WiFi login box after upgrade to El Capitan some of the answers there still work with Mojave, incredibly (like "create a non admin login, then wifi starts working").