Do you use proxy server to access internet?
Under avast settings - update (connection) press Proxy button, enter proxy server’s address and port, and if proxy server requires authentication, fill also username and password.