BOINC Manager is not able to connect to a BOINC client.


log in

Advanced search

Questions and Answers : Getting started : BOINC Manager is not able to connect to a BOINC client.

1 · 2 · Next
Author Message
Profile Air_Cooled_Nut
Send message
Joined: 13 Jun 11
Posts: 18
Credit: 2,351,524
RAC: 1,747
United States
Message 1168266 - Posted: 5 Nov 2011, 17:17:16 UTC

I keep getting this connection failed message.

A little background:
I was successfully running BOINC for SETI@home and MilkyWay@home since June. Yesterday I got a virus and after 1/2 a day of working and trouble-shooting I got my system virus-free and working (McAfee is my anti-virus tool). My BOINC Manager kept giving me this error so I uninstalled all my BOINC stuff and reinstalled...still no joy :-(

Firewall is set up to allow all BOINC traffic. There are no entries in the Event log.

CPU:
GenuineIntel
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz [Family 6 Model 42 Stepping 7]
(8 processors)

OS:
Microsoft Windows 7
Professional x64 Edition, Service Pack 1, (06.01.7601.00)

GPU:
AMD ATI Radeon HD 5x00 series (Redwood) (1024MB) driver: 1.4.1417


Help! Thank you,
Toby

John McLeod VII
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 15 Jul 99
Posts: 24239
Credit: 519,558
RAC: 57
United States
Message 1168456 - Posted: 6 Nov 2011, 0:40:12 UTC

This typically has one of two causes.

1) BOINC.exe is not running. (Check Task Manager to see. Make certain to show processes from all users. If this is the case, we will have to do some diagnostics.

2) BOINC_mgr.exe cannot communicate with BOINC.exe. This is caused by the inability of BOINC.exe to act as a server on port 31416 or BOINC_mgr.exe to call out on port 31416. NOTE that this only has to happen for the local host for local control, or the LAN for control from another computer on the LAN. Typical causes are a firewall setting that blocks BOINC.exe from acting as a server on port 31416 or some other application (typically malware) already using port 31416.
____________


BOINC WIKI

Profile Air_Cooled_Nut
Send message
Joined: 13 Jun 11
Posts: 18
Credit: 2,351,524
RAC: 1,747
United States
Message 1168474 - Posted: 6 Nov 2011, 1:33:34 UTC

BOINC.exe is does not appear in my Task Manager. I currently have boincmgr.exe and boinctray.exe running.

I ran BOINC.exe from C:\Program Files\BOINC\ and got the following command window output:

05-Nov-2011 18:28:50 [---] Starting BOINC client version 6.12.34 for windows_x86_64
05-Nov-2011 18:28:50 [---] log flags: file_xfer, sched_ops, task
05-Nov-2011 18:28:50 [---] Libraries: libcurl/7.21.6 OpenSSL/1.0.0d zlib/1.2.5
05-Nov-2011 18:28:50 [---] Data directory: C:\ProgramData\BOINC
05-Nov-2011 18:28:50 [---] Running under account Family_System
05-Nov-2011 18:28:50 [---] Processor: 8 GenuineIntel Intel(R) Core(TM) i7-2600 CPU
@ 3.40GHz [Family 6 Model 42 Stepping 7]
05-Nov-2011 18:28:50 [---] Processor: 256.00 KB cache
05-Nov-2011 18:28:50 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep
mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss htt tm pni ssse3 cx16 s
se4_1 sse4_2 syscall nx lm vmx smx tm2 popcnt aes pbe
05-Nov-2011 18:28:50 [---] OS: Microsoft Windows 7: Professional x64 Edition, Service Pack
1, (06.01.7601.00)
05-Nov-2011 18:28:50 [---] Memory: 11.98 GB physical, 23.96 GB virtual
05-Nov-2011 18:28:50 [---] Disk: 1.81 TB total, 1.74 TB free
05-Nov-2011 18:28:50 [---] Local time is UTC -7 hours
05-Nov-2011 18:28:50 [---] ATI GPU 0: ATI Radeon HD 5x00 series (Redwood) (CAL version 1.4
.1546, 1024MB, 620 GFLOPS peak)
05-Nov-2011 18:28:50 [Milkyway@home] URL http://milkyway.cs.rpi.edu/milkyway/; Computer ID
293840; resource share 100
05-Nov-2011 18:28:50 [SETI@home] URL http://setiathome.berkeley.edu/; Computer ID 6027021;
resource share 100
05-Nov-2011 18:28:50 [SETI@home] General prefs: from SETI@home (last modified 12-Jun-2011
21:40:54)
05-Nov-2011 18:28:50 [SETI@home] Host location: none
05-Nov-2011 18:28:50 [SETI@home] General prefs: using your defaults
05-Nov-2011 18:28:50 [---] Reading preferences override file
05-Nov-2011 18:28:50 [---] Preferences:
05-Nov-2011 18:28:50 [---] max memory usage when active: 6135.22MB
05-Nov-2011 18:28:50 [---] max memory usage when idle: 11656.92MB
05-Nov-2011 18:28:50 [---] max disk usage: 400.00GB
05-Nov-2011 18:28:50 [---] don't compute while active
05-Nov-2011 18:28:50 [---] don't use GPU while active
05-Nov-2011 18:28:50 [---] suspend work if non-BOINC CPU load exceeds 25 %
05-Nov-2011 18:28:50 [---] (to change preferences, visit the web site of an attached pr
oject, or select Preferences in the Manager)
05-Nov-2011 18:28:50 [---] Not using a proxy
Initialization completed
05-Nov-2011 18:28:50 [---] Suspending computation - computer is in use
05-Nov-2011 18:28:50 [---] Suspending network activity - computer is in use



I hope this helps. What should I do next?
____________

OzzFan
Volunteer tester
Avatar
Send message
Joined: 9 Apr 02
Posts: 13565
Credit: 29,779,688
RAC: 16,655
United States
Message 1168639 - Posted: 6 Nov 2011, 14:28:18 UTC - in response to Message 1168474.

BOINC.EXE is the core client, so if that is not running, that would explain why BOINCMGR.EXE (the graphical BOINC Manager) is unable to connect to a BOINC client.

Now that BOINC.EXE is running, can BOINC Manager connect to a BOINC client? If not, make sure you're in the Advanced View (as opposed to the Simple View), and go to Advanced -> Select Computer. In the Host Name box type "localhost" (without the quotes) and the password field should auto-populate. Click OK. Can it connect to a BOINC Client now?

Profile Air_Cooled_Nut
Send message
Joined: 13 Jun 11
Posts: 18
Credit: 2,351,524
RAC: 1,747
United States
Message 1168664 - Posted: 6 Nov 2011, 17:02:20 UTC

BOINC.exe is NOT RUNNING.

I cannot connect to localhost as I get the same error.

Profile Gundolf Jahn
Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 357,745
RAC: 38
Germany
Message 1168668 - Posted: 6 Nov 2011, 17:10:46 UTC - in response to Message 1168664.

BOINC.exe is NOT RUNNING.

But you had it running in the command window!

Gruß,
Gundolf

John McLeod VII
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 15 Jul 99
Posts: 24239
Credit: 519,558
RAC: 57
United States
Message 1168673 - Posted: 6 Nov 2011, 17:21:30 UTC

The only way of telling if BOINC.exe is running or not is to look at task manager (if windows - something similar if not windows).
____________


BOINC WIKI

Profile Air_Cooled_Nut
Send message
Joined: 13 Jun 11
Posts: 18
Credit: 2,351,524
RAC: 1,747
United States
Message 1168757 - Posted: 6 Nov 2011, 21:29:40 UTC

I did look at the task manager and it's not running. I just looked again...not running.

The above post with the output was when I executed BOINC.exe directly from the Windows File Manager (not Task Manager).
____________

John McLeod VII
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 15 Jul 99
Posts: 24239
Credit: 519,558
RAC: 57
United States
Message 1168762 - Posted: 6 Nov 2011, 21:44:07 UTC

OK. Now it is time to go looking for the debug output files.

Open the directory " C:\ProgramData\BOINC" and look for stddaeerr.txt.

There will be one or more sections that start with a row of stars and the version number of BOINC. Find the last one of these in the file. Post the last one of these. We are going to have to have a developer look at it unless you have the skills to install the development environment.
____________


BOINC WIKI

Profile Gundolf Jahn
Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 357,745
RAC: 38
Germany
Message 1168773 - Posted: 6 Nov 2011, 22:24:26 UTC - in response to Message 1168757.

The above post with the output was when I executed BOINC.exe directly from the Windows File Manager (not Task Manager).

Yes, and while it's running, can BOINC manager connect to it?

And the file JM7 mentioned is called stderrdae.txt ;-)

Gruß,
Gundolf

Profile Air_Cooled_Nut
Send message
Joined: 13 Jun 11
Posts: 18
Credit: 2,351,524
RAC: 1,747
United States
Message 1168806 - Posted: 7 Nov 2011, 0:21:50 UTC - in response to Message 1168773.
Last modified: 7 Nov 2011, 0:31:52 UTC

Posting the text was rather long...kinda rude...so here's the full file you can pull from my box:
http://www.aircoolednut.com/erkson/temp/stderrdae.txt

Profile Air_Cooled_Nut
Send message
Joined: 13 Jun 11
Posts: 18
Credit: 2,351,524
RAC: 1,747
United States
Message 1168808 - Posted: 7 Nov 2011, 0:32:55 UTC - in response to Message 1168773.

The above post with the output was when I executed BOINC.exe directly from the Windows File Manager (not Task Manager).

Yes, and while it's running, can BOINC manager connect to it?

It does not appear to. The BOINC.exe executes then stops.

Profile Air_Cooled_Nut
Send message
Joined: 13 Jun 11
Posts: 18
Credit: 2,351,524
RAC: 1,747
United States
Message 1168810 - Posted: 7 Nov 2011, 0:41:44 UTC - in response to Message 1168762.

...We are going to have to have a developer look at it unless you have the skills to install the development environment.


I guess we can try if all else fails but I'd prefer a pro look at it (URL I just posted above). By trade I'm a business intelligence developer/programmer/analyst and though I can build a wicked application in Microsoft Excel using VBA, and stumble through a PHP forum install through LINUX, I don't know if I'm geeky enough for that. But I've donated my body to science, I could do as well with my computer...

Profile BilBg
Volunteer tester
Avatar
Send message
Joined: 27 May 07
Posts: 2617
Credit: 5,956,852
RAC: 3,608
Bulgaria
Message 1169078 - Posted: 8 Nov 2011, 5:16:38 UTC - in response to Message 1168810.


If you want to analyze the crash dump by yourself:
http://boinc.berkeley.edu/trac/wiki/AppDebugWin


You can try if BOINC 6.10.60 (Older version) will work OK
http://boinc.berkeley.edu/download_all.php

(! Don't try 6.13.x)

You can just install over the current.


____________



- ALF - "Find out what you don't do well ..... then don't do it!" :)

Profile Air_Cooled_Nut
Send message
Joined: 13 Jun 11
Posts: 18
Credit: 2,351,524
RAC: 1,747
United States
Message 1169283 - Posted: 9 Nov 2011, 0:54:29 UTC - in response to Message 1169078.

BilBg, 6.10.60 install is giving me the same issue. I did perform a full uninstall and did reboot my computer after I installed 6.10.60.

I'm gonna put 6.12 back onto my machine.

OzzFan
Volunteer tester
Avatar
Send message
Joined: 9 Apr 02
Posts: 13565
Credit: 29,779,688
RAC: 16,655
United States
Message 1169285 - Posted: 9 Nov 2011, 1:05:02 UTC - in response to Message 1169283.

When you said your firewall is set to allow all BOINC traffic, what parts of BOINC and what ports did you allow?

Profile Air_Cooled_Nut
Send message
Joined: 13 Jun 11
Posts: 18
Credit: 2,351,524
RAC: 1,747
United States
Message 1169303 - Posted: 9 Nov 2011, 2:34:58 UTC

I was just gonna ask, which port(s) should allow traffic (and direction if applicable)?

Profile Air_Cooled_Nut
Send message
Joined: 13 Jun 11
Posts: 18
Credit: 2,351,524
RAC: 1,747
United States
Message 1169305 - Posted: 9 Nov 2011, 2:38:48 UTC

The following 'Internet Connections for Programs' are allowed full access:
C:\windows\boinc.scr
C:\program files\boinc\boincscr.exe
C:\program files\boinc\boincmgr.exe
C:\program files\boinc\boinc.exe

OzzFan
Volunteer tester
Avatar
Send message
Joined: 9 Apr 02
Posts: 13565
Credit: 29,779,688
RAC: 16,655
United States
Message 1169307 - Posted: 9 Nov 2011, 2:48:21 UTC - in response to Message 1169303.

BOINCMGR.EXE needs to talk to BOINC.EXE via local (non-internet bound) TCP/IP port 31416.


Also, you said that when you launch BOINC.EXE it doesn't stay running, is it possible that your AV has marked it as a worm or other "potentially unwanted program"?

Profile Air_Cooled_Nut
Send message
Joined: 13 Jun 11
Posts: 18
Credit: 2,351,524
RAC: 1,747
United States
Message 1169345 - Posted: 9 Nov 2011, 5:54:25 UTC - in response to Message 1169307.
Last modified: 9 Nov 2011, 5:57:08 UTC

I turned off the anti-virus AND firewall settings on my system, leaving it wide open, then tried running BOINC manager. Still having the same issue. I even went through the BOINC folder and ran every executable...still nuthin'.

I also added the port to one of the allowed entries. Nothing changed. No warnings are coming up as a virus or other bad thing. Seems as far as my anti-virus app. is concerned there is no issue. And even before this issue both apps. lived happily with each other so I have no reason right now to believe that the anti-virus app. is at issue. Famous last words, eh?

When it connects to localhost what should I see? What will happen?

1 · 2 · Next

Questions and Answers : Getting started : BOINC Manager is not able to connect to a BOINC client.

Copyright © 2014 University of California