i think first of all…check your connection settings…
open avast…go to the menu…settings…update(basic)…details…proxy…
hope it helps