Error when trying to download updates

I can’t update Avast Home Edition. Message: “Error: Cannot connect to server”.

My Internet connection is right, my browser works, and I can even access the IP address and port that appeared on an error message: 67.19.85.138:80. The update settings are the default.

These are the error lines in the log:
24/09/2006 2:04:49 SYSTEM 1616 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004. 24/09/2006 2:04:50 SYSTEM 1616 An error has occured while attempting to update. Please check the logs. 24/09/2006 2:18:59 Administracion 2740 Function setifaceUpdatePackages() has failed. Return code is 0x20000008, dwRes is 20000008. 24/09/2006 9:37:44 SYSTEM 1604 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004. 24/09/2006 9:37:45 SYSTEM 1604 An error has occured while attempting to update. Please check the logs. 24/09/2006 12:19:55 SYSTEM 1592 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004. 24/09/2006 12:19:55 SYSTEM 1592 An error has occured while attempting to update. Please check the logs. 24/09/2006 12:21:56 Administracion 3276 Function setifaceUpdatePackages() has failed. Return code is 0x2000000A, dwRes is 2000000A. 24/09/2006 12:30:29 Administracion 3276 Function setifaceUpdatePackages() has failed. Return code is 0x000004C7, dwRes is 000004C7. 24/09/2006 12:33:44 Administracion 3276 Function setifaceUpdatePackages() has failed. Return code is 0x000004C7, dwRes is 000004C7. 24/09/2006 12:36:22 Administracion 3276 Function setifaceUpdatePackages() has failed. Return code is 0x000004C7, dwRes is 000004C7. 24/09/2006 12:39:21 Administracion 3276 Function setifaceUpdatePackages() has failed. Return code is 0x000004C7, dwRes is 000004C7.

Can you help me please?

Hello and Welcome :slight_smile:

Do you have any firewall installed, which can block avast! ? If so do the following:
In your firewall settings allow the following components to connect (to internet):
avast.setup
avastXX.setup (where"XX" are some numbers)
aswUpdSv.exe

Or do you use a proxy server to connect to internet?

If you search the board for 20000004 keyword, you’ll find a lot of threads about updates.
Generally, you need to check:

  1. If the servers.def file is corrupt or 0KB (C:\Program Files\Alwil Software\Avast4\Setup\servers.def).
    You can try and download the servers.def file, http://files.avast.com/iavs4x/servers.def and replace the one in the avast setup folder.

  2. If your subscription allows the update right now (i.e., if it is not expired).

  3. If your firewall settings and allow avast.setup to connect.
    If you’re not sure, just turn off your firewall (to be sure the update failure is not due to it).
    Maybe you should ‘remove’ avast.setup entry, try to update, receiving a new alert from the firewall, allowing it and checking it to remember.

  4. Check your proxy settings into avast!:
    Left click the avast icon > Settings
    Update (Basic) > Details > Proxy
    Make sure your browser is not set to “Work Offline” (this option is generally in the File menu).
    If it doesn’t help, try switching the proxy settings from “Auto-detect” to “No proxy” (I’m assuming you’re not connecting to the Internet via proxy).