Make sure you have no proxy set in the update settings in Avast.

Also check Avast’s log file and let us know if it has an error in there. If there is a error tell us (ofcourse).