Author Topic: Avast 5 - Cannot connect to Server - When Updating  (Read 23203 times)

0 Members and 1 Guest are viewing this topic.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67269
Re: Avast 5 - Cannot connect to Server - When Updating
« Reply #30 on: May 21, 2010, 03:10:12 AM »
The message exceeds the maximum allowed length (10000 characters).
Would if I could...
You can post in more than one post.
You can upload the .log file (attach).
The best things in life are free.

Offline Marco Fumetti

  • Newbie
  • *
  • Posts: 17
Re: Avast 5 - Cannot connect to Server - When Updating
« Reply #31 on: May 21, 2010, 10:03:20 AM »
[...]
08:01:23 nrm/int  HttpGetWinsock(http://174.120.185.18/iavs5x/servers.def)
08:01:23 nrm/int  ERROR:HttpGetWinsock, WinsockTcpConnect() returned 0x0000277B
08:01:23 nrm/gen  InvalidateCurrent: invalidated server 'Download825 AVAST5 Server' from 'main'
08:01:23 nrm/gen  SelectCurrent: selected server 'Download804 AVAST5 Server' from 'main'
08:01:23 nrm/int  SYNCER: Type: no proxy
08:01:23 nrm/int  SYNCER: Auth: no authentication
08:01:23 dbg/int  while trying to get file 'servers.def', error 0x20000004 has occured, try 9

08:01:25 nrm/int  HttpGetWinsock(http://download804.avast.com/iavs5x/servers.def)
08:01:25 nrm/int  ERROR:HttpGetWinsock, WinsockTcpConnect() returned 0x0000277B
08:01:25 nrm/gen  InvalidateCurrent: invalidated server 'Download804 AVAST5 Server' from 'main'
08:01:25 nrm/gen  SelectCurrent: selected server 'Download778 AVAST5 Server' from 'main'
08:01:25 nrm/int  SYNCER: Type: no proxy
08:01:25 nrm/int  SYNCER: Auth: no authentication
08:01:25 dbg/int  while trying to get file 'servers.def', error 0x20000004 has occured, try 10

08:01:27 min/int  tried 10 servers to get file 'servers.def', but failed (0x20000004)
08:01:27 min/fil  servers.def not changed, 1274193476/0
08:01:27 min/pkg  Tried to download servers.def but failed with error 0x20000004.
08:01:27 min/pkg  LoadAllDefs failed 0x20000004
08:01:27 min/gen  Err:Cannot connect to download804.avast.com (174.123.166.26:80).
08:01:27 nrm/pkg  Transferred: files 20, bytes 0, time 1020 ms
08:01:27 nrm/pkg  Retries: total 20, files 2, servers 21
08:01:27 min/gen  szKey: ********
08:01:28 vrb/int  Sending stats 'http://download778.avast.com/cgi-bin/iavs4stats.cgi': 20000004 0
08:01:28 vrb/fil  NeedReboot=false
08:01:28 min/gen  Return code: 0x20000004 [Cannot connect to download778.avast.com (208.43.71.157:80).]
08:01:28 min/gen  Stopped: 21.05.2010, 08:01:28



Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67269
Re: Avast 5 - Cannot connect to Server - When Updating
« Reply #32 on: May 21, 2010, 02:10:17 PM »
0x20000004 error is a "proxy down" error, i.e., server unreachable (or, in other words, "cannot connect to the updating server"). Is there any other Firewall installed on the machine besides Windows own firewall? Have you had any previous anti-virus program installed on this computer before installing avast? The last way is check your hosts file to see if there are any entries that could be blocking avast's update servers. A blank "default" configuration of the windows hosts file should basically have only one entry (127.0.0.1 localhost).
The best things in life are free.

Offline Marco Fumetti

  • Newbie
  • *
  • Posts: 17
Re: Avast 5 - Cannot connect to Server - When Updating
« Reply #33 on: May 21, 2010, 02:28:33 PM »
C:\>ping download804.avast.com

Pinging download804.avast.com [174.123.166.26] with 32 bytes of data:

Reply from 174.123.166.26: bytes=32 time=235ms TTL=49
Reply from 174.123.166.26: bytes=32 time=221ms TTL=49
Reply from 174.123.166.26: bytes=32 time=196ms TTL=49
Reply from 174.123.166.26: bytes=32 time=187ms TTL=49

Ping statistics for 174.123.166.26:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 187ms, Maximum =  235ms, Average =  209ms

C:\>wget http://download804.avast.com/iavs5x/servers.def
--14:27:00--  http://download804.avast.com/iavs5x/servers.def
           => `servers.def'
Resolving download804.avast.com... 174.123.166.26
Connecting to download804.avast.com[174.123.166.26]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 109,664 [text/plain]

100%[====================================>] 109,664       27.85K/s    ETA 00:00

14:27:10 (27.85 KB/s) - `servers.def' saved [109664/109664]

Offline Kevahl

  • Newbie
  • *
  • Posts: 3
Re: Avast 5 - Cannot connect to Server - When Updating
« Reply #34 on: May 22, 2010, 07:42:46 PM »
If you can update via the add/remove control applet but not from inside the program try this...

Open the avast ui and click settings and then select the updates settings page.
Check the box for "My computer is permanently connected to the internet". Then below select proxy settings and selected "Direct connection (no proxy)".

This resolved my issues.

Kev

Offline Marco Fumetti

  • Newbie
  • *
  • Posts: 17
Re: Avast 5 - Cannot connect to Server - When Updating
« Reply #35 on: May 24, 2010, 09:33:53 AM »
See the backlog! Did you really think I didn't try this option yet?!!!...

Offline TomCom

  • Newbie
  • *
  • Posts: 3
Re: Avast 5 - Cannot connect to Server - When Updating
« Reply #36 on: May 27, 2010, 05:10:56 AM »
If you can update via the add/remove control applet but not from inside the program try this...

Open the avast ui and click settings and then select the updates settings page.
Check the box for "My computer is permanently connected to the internet". Then below select proxy settings and selected "Direct connection (no proxy)".

This resolved my issues.

Kev


I actually did this from the Add/Remove window. I could've sworn I already had that parameter set from the UI. I just happened to click on the Proxy setting, after I updated the definitions, and saw it. I also ran the repair utility again, while I was in there. Seems to be working fine, now. What a relief!
« Last Edit: May 30, 2010, 06:42:17 PM by TomCom »

Offline GMan77

  • Newbie
  • *
  • Posts: 1
Re: Avast 5 - Cannot connect to Server - When Updating
« Reply #37 on: June 04, 2010, 04:49:05 AM »
Had same problem... Windows Firewall only, Win7 64bit, could not connect to server.
Changed Settings > Updates > Proxy Settings from "auto detect (use IE settings)" to "direct connection (no proxy)" and now works.

Thx

Offline thebof

  • Newbie
  • *
  • Posts: 1
Re: Avast 5 - Cannot connect to Server - When Updating
« Reply #38 on: August 18, 2010, 06:19:48 PM »
Hello,

I had the same problem as others on this thread: Avast4.8 worked fine, no problem with the automatic update of the virus database. Then I am told I need to upgrade to Version 5 and then the problems started. I too have Ashampoo Firewall and I tried every suggestion I read on this thread, well at least the ones' I understood, with no luck at all.

To cut a long and boring story short, I uninstalled the Ashampoo Firewall in Safe Mode and loaded the Comodo Firewall, also free.

Avast 5 works a treat now and I have ended up with a better and more detailed firewall.

Cheers,
The Bof