Unable to connect to local host on startup

Message boards : BOINC Manager : Unable to connect to local host on startup
Message board moderation

To post messages, you must log in.

AuthorMessage
MikeA

Send message
Joined: 2 Sep 07
Posts: 2
Message 12272 - Posted: 2 Sep 2007, 16:53:18 UTC

Every so often I reboot my system and have several programs set to start such as BOINC, Anti Virus, Spybot, etc..
I have a Cable connection and am always online, but when BOINC starts it always gives me an: unable to connect to localhost, message in the bottom corner. So I have to close BOINC and restart it. Then I often have to go to Projects or Transfers and have it Update or Retry.

I assume its just attempting to connect before my computer is finished doing whatever it does before connecting.

So is there anyway to slow down BOINCS connection?
ID: 12272 · Report as offensive
William Roeder
Avatar

Send message
Joined: 31 May 07
Posts: 42
Message 12273 - Posted: 2 Sep 2007, 17:52:03 UTC - in response to Message 12272.  

Every so often I reboot my system and have several programs set to start such as BOINC, Anti Virus, Spybot, etc..
I have a Cable connection and am always online, but when BOINC starts it always gives me an: unable to connect to localhost, message in the bottom corner. So I have to close BOINC and restart it. Then I often have to go to Projects or Transfers and have it Update or Retry.

I assume its just attempting to connect before my computer is finished doing whatever it does before connecting.

So is there anyway to slow down BOINCS connection?

localhost is THAT machine. By the time applications (BOINC) starts networking is already available. This has nothing to do with cable.
It's possible that other startup programs are using so much cpu that BOINC is timeing out with itself.
Are you running with 5.10.x? Are you running as a service or on login?
ID: 12273 · Report as offensive
MikeA

Send message
Joined: 2 Sep 07
Posts: 2
Message 12275 - Posted: 3 Sep 2007, 0:00:27 UTC - in response to Message 12273.  


localhost is THAT machine. By the time applications (BOINC) starts networking is already available. This has nothing to do with cable.
It's possible that other startup programs are using so much cpu that BOINC is timeing out with itself.
Are you running with 5.10.x? Are you running as a service or on login?


Running BOINC Manager version 5.2.8, just running a service, SETI to be exact.

Heres the message log from this morning.

9/2/2007 10:55:56 AM||Memory: 511.48 MB physical, 1.97 GB virtual
9/2/2007 10:55:56 AM||Disk: 24.40 GB total, 5.77 GB free
9/2/2007 10:55:56 AM|SETI@home|Computer ID: XXXXXXX; location: home; project prefs: default
9/2/2007 10:55:56 AM||General prefs: from SETI@home (last modified 2007-08-17 23:04:49)
9/2/2007 10:55:56 AM||General prefs: no separate prefs for home; using your defaults
9/2/2007 10:55:56 AM||Remote control not allowed; using loopback address
9/2/2007 10:59:22 AM|SETI@home|Started download of 11mr07ae.20964.184988.6.5.33
9/2/2007 10:59:44 AM||Couldn't connect to hostname [boinc2.ssl.berkeley.edu]
9/2/2007 10:59:44 AM|SETI@home|Temporarily failed download of 11mr07ae.20964.184988.6.5.33: system I/O
9/2/2007 10:59:44 AM|SETI@home|Backing off 2 hours, 59 minutes, and 16 seconds on download of file 11mr07ae.20964.184988.6.5.33


Maybe this a seperate thing, and I was just assuming theey were related to the : unable to connect to localhost, on the lower right corner of my BOINC manager.

Basically Im wondering if there is a way to have either BOINC start a few minutes or so after everything else boots so they arent competing for resources, or have it wait a few minutes before attempting to connect to boinc2 or seti, or just not 'Backing off 2 hours, 59 minutes, and 16 seconds'?

Thanks

Mike
ID: 12275 · Report as offensive
BobCat13

Send message
Joined: 6 Dec 06
Posts: 118
United States
Message 12276 - Posted: 3 Sep 2007, 4:11:56 UTC

I also had one host that was starting the boinc service too fast and did the following to slow it down.

If you don't mind editing the registry, you can try this:

under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BOINC find DependOnService in the right pane. Right click and choose Modify. Leave the RpcSs entry on the first line, and add Netman on the second line and click OK.

Netman starts later among the services and making boinc depend on it will start the boinc service later than it was before.
ID: 12276 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 12278 - Posted: 3 Sep 2007, 9:16:41 UTC - in response to Message 12275.  
Last modified: 3 Sep 2007, 9:17:33 UTC

[Running BOINC Manager version 5.2.8, just running a service, SETI to be exact.

BOINC 5.2 still uses TCP port 1043 for its connection between the daemon (BOINC client) and the GUI (BOINC Manager). Other programs in Windows use this same port. To mind comes the email program delivered with Windows, Outlook Express. If that starts up first, the daemon won't be able to connect to the GUI (and v.v.) when you start BOINC Manager.

That is when you get the message that BOINC Manager cannot connect to localhost. Localhost lives on IP address 127.0.0.1, which is YOUR computer. The message has nothing to do with whether or not BOINC can connect to the internet.

Now, please upgrade to BOINC 5.10.13, which uses TCP port 31416 for its internal communications. That way you can get rid of the localhost not connecting error that is plaguing you.

The other message you see in your Messages log:
9/2/2007 10:59:44 AM|SETI@home|Temporarily failed download of 11mr07ae.20964.184988.6.5.33: system I/O
9/2/2007 10:59:44 AM|SETI@home|Backing off 2 hours, 59 minutes, and 16 seconds on download of file 11mr07ae.20964.184988.6.5.33

This means that BOINC can't connect to Seti, most probably because Seti is down or has other problems. Best check that on the Seti forums. http://setiathome.berkeley.edu will get you there. Read the news, read the forums.

BOINC as a service starts at the same time as all the other services, before Windows login.
ID: 12278 · Report as offensive

Message boards : BOINC Manager : Unable to connect to local host on startup

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.