Sometimes your device can’t connect to Wi-Fi even when every looks like its working. Often this is because some small detail has been changed on your Wi-Fi by an administrator but your device cant automatically adapt. In this case you need to forget the Wi-Fi and reconnect.