The most common cause of this is something blocking avast, firewall, etc.

What is your operating system and firewall ?
Does it allow avastSvc.exe internet access ?

  • If it does delete the entry for it and reconnect to the internet, this should force the firewall to ask permission again.