I have also changed the dns (to the open one, not google) and that has solved the problem but it was a scary thing to do. First, though, I uninstalled avast and probably won’t be coming back since I found another good free antivirus program.