Author Topic: Auto Updates Fail, Manual Updates work fine [SOLVED]  (Read 20486 times)

0 Members and 1 Guest are viewing this topic.

zonkman

  • Guest
Auto Updates Fail, Manual Updates work fine [SOLVED]
« on: January 27, 2007, 09:42:42 PM »
Hi there,

I seem to be having issues with getting automatic updates to occur over the past couple of weeks.  However, when I run a manual update, it works like a champ.  I have read through various solutions and fixes posted here and none of them seem to be working for me.  These have included, uninstalling and reinstalling avast, removing avast.setup from my firewall config and readding it when prompted, removing the servers.def file and redownloading from http://files.avast.com/iavs4x/servers.def and setting the AlwaysConnectedWaitSeconds= in avast4.ini file to up to several minutes.  Here are the details:

Avast 4.7.942 (registered and good through 1 Oct 2007)
Windows XP

Here are some of the various error messages in the logs:

$AVAST_HOME\DATA\log\Warning.log
Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002. 
Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004. 
An error has occured while attempting to update. Please check the logs.

$AVAST_HOME\DATA\log\Setup.log
13:01:04 min/pkg  ERROR:HttpGetWinsock, WinsockTcpConnect() returned 0x00002AF9
13:01:04 nrm/gen  InvalidateCurrent: invalidated server 'Download53 AVAST server' from 'main'
13:01:04 nrm/gen  SelectCurrent: selected server 'Download38 AVAST server' from 'main'
13:01:04 min/pkg  GetPackages - set proxy for inet
13:01:04 nrm/int  SYNCER: Type: no proxy
13:01:04 nrm/int  SYNCER: Auth: no authentication
13:01:04 dbg/int  while trying to get file 'servers.def.vpu', error 0x20000004 has occured, try 99
13:01:06 min/pkg  ERROR:HttpGetWinsock, WinsockTcpConnect() returned 0x00002AF9
13:01:06 nrm/gen  InvalidateCurrent: invalidated server 'Download38 AVAST server' from 'main'
13:01:06 min/gen  SelectCurrent: unable to find any suitable server in 'main'
13:01:06 dbg/int  while trying to get file 'servers.def.vpu', error 0x20000004 has occured, try 100
13:01:06 min/int  tried 100 servers to get file 'servers.def.vpu', but failed (0x20000004)
13:01:06 min/fil  GetNewerStampedFile:GetFileWithRetry failed: C:\WINDOWS\TEMP\_av_proI.tm~a03148\onefile, servers.def.vpu, error: 0x20000004
13:01:06 min/pkg  Download servers.def, servers.def.vpu failed with error 0x20000004.
13:01:06 min/pkg  ERROR:HttpGetWinsock, WinsockTcpConnect() returned 0x00002AF9
13:01:06 min/pkg  ERROR:HttpGetWinsock, WinsockTcpConnect() returned 0x00002AF9
13:01:06 nrm/gen  InvalidateCurrent: invalidated server 'Download38 AVAST server' from 'main'
13:01:06 min/gen  SelectCurrent: unable to find any suitable server in 'main'
13:01:06 dbg/int  while trying to get file 'servers.def', error 0x20000004 has occured, try 1
13:01:06 min/int  tried 1 servers to get file 'servers.def', but failed (0x20000004)
13:01:06 min/fil  GetNewerStampedFile:GetFileWithRetry failed: C:\WINDOWS\TEMP\_av_proI.tm~a03148\onefile, servers.def, error: 0x20000004
13:01:06 min/pkg  Tried to download servers.def but failed with error 0x20000004.
13:01:07 min/gen  Err:Cannot connect to download38.avast.com (unknown:80).
13:01:07 nrm/pkg  Transferred files: 0
13:01:07 nrm/pkg  Transferred bytes: 0
13:01:07 nrm/pkg  Transfer time: 0 ms
13:01:07 vrb/fil  NeedReboot=false
13:01:07 min/gen  Return code: 0x20000004 [Cannot connect to download38.avast.com (unknown:80).]
13:01:07 min/gen  Stopped: 27.01.2007, 13:01:07

$AVAST_HOME\Setup\Setup.log
13:01:04 min/pkg  ERROR:HttpGetWinsock, WinsockTcpConnect() returned 0x00002AF9
13:01:04 nrm/gen  InvalidateCurrent: invalidated server 'Download53 AVAST server' from 'main'
13:01:04 nrm/gen  SelectCurrent: selected server 'Download38 AVAST server' from 'main'
13:01:04 min/pkg  GetPackages - set proxy for inet
13:01:04 nrm/int  SYNCER: Type: no proxy
13:01:04 nrm/int  SYNCER: Auth: no authentication
13:01:04 dbg/int  while trying to get file 'servers.def.vpu', error 0x20000004 has occured, try 99
13:01:06 min/pkg  ERROR:HttpGetWinsock, WinsockTcpConnect() returned 0x00002AF9
13:01:06 nrm/gen  InvalidateCurrent: invalidated server 'Download38 AVAST server' from 'main'
13:01:06 min/gen  SelectCurrent: unable to find any suitable server in 'main'
13:01:06 dbg/int  while trying to get file 'servers.def.vpu', error 0x20000004 has occured, try 100
13:01:06 min/int  tried 100 servers to get file 'servers.def.vpu', but failed (0x20000004)
13:01:06 min/fil  GetNewerStampedFile:GetFileWithRetry failed: C:\WINDOWS\TEMP\_av_proI.tm~a03148\onefile, servers.def.vpu, error: 0x20000004
13:01:06 min/pkg  Download servers.def, servers.def.vpu failed with error 0x20000004.
13:01:06 min/pkg  ERROR:HttpGetWinsock, WinsockTcpConnect() returned 0x00002AF9
13:01:06 min/pkg  ERROR:HttpGetWinsock, WinsockTcpConnect() returned 0x00002AF9
13:01:06 nrm/gen  InvalidateCurrent: invalidated server 'Download38 AVAST server' from 'main'
13:01:06 min/gen  SelectCurrent: unable to find any suitable server in 'main'
13:01:06 dbg/int  while trying to get file 'servers.def', error 0x20000004 has occured, try 1
13:01:06 min/int  tried 1 servers to get file 'servers.def', but failed (0x20000004)
13:01:06 min/fil  GetNewerStampedFile:GetFileWithRetry failed: C:\WINDOWS\TEMP\_av_proI.tm~a03148\onefile, servers.def, error: 0x20000004
13:01:06 min/pkg  Tried to download servers.def but failed with error 0x20000004.
13:01:07 min/gen  Err:Cannot connect to download38.avast.com (unknown:80).
13:01:07 nrm/pkg  Transferred files: 0
13:01:07 nrm/pkg  Transferred bytes: 0
13:01:07 nrm/pkg  Transfer time: 0 ms
13:01:07 vrb/fil  NeedReboot=false
13:01:07 min/gen  Return code: 0x20000004 [Cannot connect to download38.avast.com (unknown:80).]
13:01:07 min/gen  Stopped: 27.01.2007, 13:01:07

Any thoughts?  Am I missing something obvious or am I just hosed?

Cheers!
« Last Edit: February 01, 2007, 07:19:18 PM by zonkman »

WuLFe

  • Guest
Re: Auto Updates Fail, Manual Update work fine
« Reply #1 on: January 27, 2007, 10:23:24 PM »
hmmm... what firewall are you using?

zonkman

  • Guest
Re: Auto Updates Fail, Manual Update work fine
« Reply #2 on: January 27, 2007, 10:33:31 PM »
Comodo Firewall Pro 2.4.16.174

I have had this working with both Zone Labs and Comodo.

Cheers!

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67195
Re: Auto Updates Fail, Manual Update work fine
« Reply #3 on: January 27, 2007, 11:23:54 PM »
Please, search the board for 20000004 error and try to find any solution for it.
I'm using Comodo and avast. No troubles with autoupdates.
Basically, check:

Did you check if your subscription allows the update right now (i.e., if it is not expired).
Did you check your proxy settings into avast? Left click the avast icon > Settings > Update (Basic) > Details > Proxy. Also, 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 from "Auto-detect" to "No proxy" (I'm assuming you're not connecting to the Internet via proxy).

Also you can try changing update service's login account, follow this:
Open services control panel (e.g. Start->Run, and type: services.msc
Double-click on avast! iAVS4 Control Service to show properties. Switch to LogOn page.
Enter administrator account name and password.
Do the same for avast! Antivirus service.
Then start update again.
The best things in life are free.

zonkman

  • Guest
Re: Auto Updates Fail, Manual Update work fine
« Reply #4 on: January 27, 2007, 11:59:28 PM »
I have searched the forums for that error code and gotten a lot of hits, but no real new thoughts or suggestions from the ones I have already tried.

I believe that my subscription allows updates "right now", when I look in About Avast!... under my reg key and it says "Updates expiration: Monday, October 01 2007 1:00:00AM".  But I would assume that is implied since I can do manual updates from either the prefs menu and from the right-click menu of the Avast icon on the task bar.

I forgot to mention in my original post that I have tried both the "Auto-detect Proxy" settings and the "No Proxy" settings each with the same result.

My browser is to Work Online.

I am now attempting to run both of those services as Administrator rather than as the Local Service account.

I'll know in 30 minutes when the next scheduled auto update runs whether or not this was successful or not.

Cheers!

zonkman

  • Guest
Re: Auto Updates Fail, Manual Update work fine
« Reply #5 on: January 28, 2007, 12:27:36 AM »
And the result is negative.  Still no go on the auto-updates.  Any other thoughts?

Cheers!

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67195
Re: Auto Updates Fail, Manual Update work fine
« Reply #6 on: January 28, 2007, 02:11:34 PM »
I'll know in 30 minutes when the next scheduled auto update runs whether or not this was successful or not.
Are you using the Pro version?
How did you configure the scheduled autoupdate?
The minimum time for update in Home version is 240 minutes (http://forum.avast.com/index.php?topic=1647.msg10264#msg10264).
The best things in life are free.

zonkman

  • Guest
Re: Auto Updates Fail, Manual Update work fine
« Reply #7 on: January 28, 2007, 03:49:29 PM »
It is the Home Edition.  I configured the scheduled update via the Program Settings menu -> Update (Basic) -> Details.  Auto-update interval, Auto-update every ___ minutes.  I *says* 30, but if you insist the minimum I can set it to is 240 minutes, then I'll defer to you.  The other way I've gotten it to attempt to auto-update is rebooting the computer.

Incidentally, I appreciate you taking the time to help me troubleshoot this.

Cheers!

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67195
Re: Auto Updates Fail, Manual Update work fine
« Reply #8 on: January 28, 2007, 03:52:50 PM »
But if you insist the minimum I can set it to is 240 minutes, then I'll defer to you.
I'm an user like you... they (Alwil programmers) set this minimum to 240 minutes to avoid servers fload.
Waiting for the feed back about the new update period...
The best things in life are free.

zonkman

  • Guest
Re: Auto Updates Fail, Manual Update work fine
« Reply #9 on: January 28, 2007, 04:04:55 PM »
No worries mate... I'm deferring to you as you are much more knowledgeable about this program than I am.  :)

Regardless of the update interval, I appear to still be having the issue as this morning upon turning on my computer... still no joy.

Cheers!

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re: Auto Updates Fail, Manual Update work fine
« Reply #10 on: January 28, 2007, 06:22:37 PM »
It would be useful to find out if the issue is related to your firewall. Did you try completely disabling it (maybe even uninstalling)? Does that make any difference?
If at first you don't succeed, then skydiving's not for you.

zonkman

  • Guest
Re: Auto Updates Fail, Manual Update work fine
« Reply #11 on: January 28, 2007, 08:47:44 PM »
Yes, I have tried that as well with no success.  However, just to reconfirm that, I will shut down my firewall and give it a try again.  Though shutting the firewall down on a windows machine is just asking for it.   ;)

Cheers!

Online DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 88895
  • No support PMs thanks
Re: Auto Updates Fail, Manual Update work fine
« Reply #12 on: January 28, 2007, 09:12:16 PM »
I don't thing Vlk means to permanently disable/uninstall the firewall just a short test to see if you can update automatically.

If you can do it before you shut the system down for the night, when you boot the next day avast should automatically check for updates once you have established a connection. You should see avast.setup in the Task Manager monitor its cpu activity does it peak and stay high, etc.

The auto update should cycle through the servers in the servers.def file trying to establish a connection, this should take at most 3-4 minutes so don't stay on-line with your trousers down any longer than that.

Check if the update succeeded and or check the logs.

Enable or reinstall the firewall
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.2.6105 (build 24.2.8918.824) UI 1.0.799/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

zonkman

  • Guest
Re: Auto Updates Fail, Manual Update work fine
« Reply #13 on: January 28, 2007, 09:47:45 PM »
Oh I know...  windows machines without firewalls are hacker zombies.  ;D

And yes... with the firewall disabled, Avast still cannot seem to contact the mothership automagically.

Any other thoughts?

Cheers!

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67195
Re: Auto Updates Fail, Manual Update work fine
« Reply #14 on: January 28, 2007, 11:13:11 PM »
And yes... with the firewall disabled, Avast still cannot seem to contact the mothership automagically.
Are you checking your avast logs and there is stamped that you could not get the update automatically?
The best things in life are free.