You just have to check if internet explorer is on offline mode!
Just check this setting and if the problem persists
Just click on Tools > Internet Options > Click the connections tab
Click on LAN settings, and tick on automatically detect proxy settings
And restart your computer!