This is due to the internet connection. If you activated using pirated key this may occur. To fix this activate avast using key and goto firewall and turn off auto update and block avast from internet.
Thanks & Regards
Try to remove that software are it will turn to harmful to your system. When this message comes you should not use that avast anymore. Your firewall even may block due to harmful files occur from your pirated software itself.