Internet does not connect despite WiFi
This is sometime because your phone save the paswrd of your wifi and sometime it doesnt connect it just show this that it is connecting to but does not become successful in doing so . . . . so remove or forget your wifi connection 

restart you phone 

and try to connect again with that wifi 

may this can help you

worked fine with me many times