Internet connection checking blocked by AFWall+? I have recently installed Android 6 on my Nexus.

I also have AFWall+ for [un]blocking selected application from accessing internet.

However, every time I connect to a wifi an exclamation mark will appear and Android will soon disconnect from it. Also a popup message asks me to disconnect because it cannot connect to internet.

However I can access internet indeed via wifi.

What process should I add to whitelist in order for Android not to disconnectme after a few minutes?
I had the same problem.  To find which app you need to allow you can turn on firewall logs in AFWall+.  The log gives a log when traffic is blocked and shows which app was blocked.


Enable AFWall+ (if you had it disabled temporarily)
Settings->Preferences->Log->Enable logs
Menu->Firewall logs->Menu->Clear log
Disable and then enable WiFi to trigger the log
Menu->Firewall logs


The apps involved might vary from one device to another so you should check your own log rather than assuming it's the same as mine.  I saw log entries for "root" and "com.quicince.cne.CNEService" (Qualcomm specific, and counts as part of "Android system" in AFWall+).

I have solved the problem by allowing traffic over WiFi for both the above entries.  In fact I think I probably mostly don't need root, but without root the solution was not quite as reliable to remove the error.