if you have the latest avast 24.4 update then check that your brouser has not been added to the block list by mistake.
firefox and edge had for some reason been added since the latest update.
check if your browser isn't blocked in Avast menu "Blocked & Allowed apps"?
To access this menu, open Avast and go to - Menu - Settings - General - Blocked & Allowed apps.