Every time I try to join an unencrypted wifi network that is protected by a web login (e.g. in a hotel), I get a popup message saying "Android System: Sign in to a Wi-Fi network ", I click on this message, and the result is:

CaptivePortalLogin has stopped
Open app again

I have tried also using Firefox or Chrome to find the portal by accessing a random HTTP page or the exact URL that my laptop is directed to to log in. Firefox returns "Server not found"; Chrome says "You are offline", DNS_PROBE_FINISHED_NO_INTERNET. My phone is set to not use mobile networks for data.

Is there any way to fix this or is there a workaround?

System information:

  • Android 8.1.0 (security patch level 1 June 2018)
  • Nokia 6.1, model TA-1050
  • Kernel 4.4.78-perf+ (1/6/2018)

EDIT: I've tried a few apps as a workaround, such as Wifi Web Auth in case CaptivePortalLogin is the problem. This app errors with "Web page not available", ERR_INTERNET_DISCONNECTED, which seems like an odd complaint for an app designed to establish a connection. Wifi Quick Login fails as well.

  • I'm not sure how to solve the issue but it sounds like CaptivePortalLogin may be corrupt. – Zackary supports Monica Aug 13 '18 at 3:49

Enter Chrome and write or The authentication page should appear.

  • 1
    How does that keep the CaptivePortalLogin from crashing? – Izzy Jul 10 '19 at 6:19

above/below answer is not always correct,

but this should always work:

turn off mobile data connect to WiFi go to this page: google.com/generate_204

  • That is the page CaptivePortalLogin calls upon, and it will show nothing (as the URL suggests, it just returns a 204 HTTP response). So why is it important to call specifically that page – what makes it better than the one Dennis suggested? To get to the captive portal, any URL will do. Further, how does this keep CaptivePortalLogin from crashing? Always having to turn off (and later on) mobile data manually is a work-around at best. – Izzy Jul 10 '19 at 6:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.