Unable to connect to core client.

Questions and Answers : Windows : Unable to connect to core client.
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Lucas_W

Send message
Joined: 27 Dec 06
Posts: 5
Credit: 2,919,638
RAC: 20,200
Canada
Message 1998710 - Posted: 18 Jun 2019, 21:17:29 UTC

Hi, I'm trying to install one more instance of Boinc on a family member's computer. In this case it's an older model Surface Pro. It was my intention to not allow Boinc to run at login. My big mistake was to also uncheck "run the client" in the options. After doing that, Boinc Manager is unable to connect to core client, and I cannot switch the option to run the client back on because Boinc Manager is offline (unable to connect). I've tried uninstalling and reinstalling. Then I tried uninstalling, locating Boinc's AppData folder and deleting it, and then reinstalling. Somehow Boinc insists on retaining this setting I've mistakenly used. Obviously I will re-check "run the client", and just for good measure, I'm going to allow Boinc to run at login so I don't run into any further hassle. But how do I get there from here?
ID: 1998710 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 13182
Credit: 154,200,153
RAC: 199,275
United Kingdom
Message 1998712 - Posted: 18 Jun 2019, 21:40:24 UTC - in response to Message 1998710.  
Last modified: 18 Jun 2019, 21:58:04 UTC

I can give you one of those now:

'Run BOINC [Manager] at login' is a registry key.

All of those setup choices are in

[HKEY_CURRENT_USER\Software\Space Sciences Laboratory, U.C. Berkeley\BOINC Manager]
The specific value for 'run at login' is

DisableAutoStart, value dword:00000000

(note reverse sense - zero to run Manager, one to disable run)

The other one - run client - is

[HKEY_CURRENT_USER\Software\Space Sciences Laboratory, U.C. Berkeley\BOINC Manager]
The key is

RunDaemon, value dword:00000001

(note both of these are at the 'current' - i.e. logged-in - user level, not the machine level)

Edited because I got it wrong the first couple of times - I think you can rely on these now.
ID: 1998712 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 14879
Credit: 4,113,681
RAC: 1,095
Netherlands
Message 1998715 - Posted: 18 Jun 2019, 21:59:30 UTC - in response to Message 1998710.  
Last modified: 18 Jun 2019, 22:00:13 UTC

And never mind...
ID: 1998715 · Report as offensive
Profile Lucas_W

Send message
Joined: 27 Dec 06
Posts: 5
Credit: 2,919,638
RAC: 20,200
Canada
Message 1998717 - Posted: 18 Jun 2019, 22:02:29 UTC - in response to Message 1998712.  

3 cheers for Richard! You got me all sorted out in under an hour - even accounting for the time I spent googling how to safely make changes in regedit, lol. Very kind of you to help me sort this out.
ID: 1998717 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 14879
Credit: 4,113,681
RAC: 1,095
Netherlands
Message 1998718 - Posted: 18 Jun 2019, 22:04:18 UTC - in response to Message 1998712.  

The other one - run client - is

[HKEY_CURRENT_USER\Software\Space Sciences Laboratory, U.C. Berkeley\BOINC Manager]
The key is

RunDaemon, value dword:00000001
Which is a bad design flaw, because of just such a situation as this user is in: he now has to hand-edit the registry to get things working again. Either BOINC should start removing/resetting registry settings upon uninstall/reinstall, or this needs to be moved to a more editable file, such as client_state.xml (also bad because of potential to lose all work when edited wrong) or a configuration file.
ID: 1998718 · Report as offensive
Profile Lucas_W

Send message
Joined: 27 Dec 06
Posts: 5
Credit: 2,919,638
RAC: 20,200
Canada
Message 1998721 - Posted: 18 Jun 2019, 22:16:10 UTC - in response to Message 1998718.  

Yes, fortunately I'm just tech savvy enough to have been able to fix this with the right guidance. It might even be a good idea to hide the "run the client" option as an advanced option, or even remove the option. Alternately, if they could manage to find a way to give users the ability to switch those options within Boinc Manager while the manager is offline. Must have been an oversight.
ID: 1998721 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 14879
Credit: 4,113,681
RAC: 1,095
Netherlands
Message 1998723 - Posted: 18 Jun 2019, 22:29:06 UTC - in response to Message 1998721.  

Well, I do wonder what happens if one just manually starts the client (boinc.exe) but I'll test that tomorrow.
ID: 1998723 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 13182
Credit: 154,200,153
RAC: 199,275
United Kingdom
Message 1998772 - Posted: 19 Jun 2019, 6:10:54 UTC - in response to Message 1998718.  

The other one - run client - is

[HKEY_CURRENT_USER\Software\Space Sciences Laboratory, U.C. Berkeley\BOINC Manager]
The key is

RunDaemon, value dword:00000001
Which is a bad design flaw...
Agreed. FWIW, this is a fairly recent addition to BOINC, to fix a feature request from way back in the mists of time - see #79.

The plan is to have the ability to run the Manager (only) on a lightweight machine like a tablet, and to use it to monitor and control a remote machine powerful enough to run the client. The Windows installer always installs both Manager and Client, so your lightweight monitor has the client as well, and will keep nagging you to attach to a project. At the moment, we probably don't have the development resources to create an installer or installers to separate manager from client (the expert in this field, Rom Walton, has moved on to pastures new), so "don't run client" is probably the best solution available.

But we need to have an escape route. There has been additional programming work in this area since BOINC version 7.14.2 was released, so we need to test with a Manager built from the latest pre-release code: I can do that. Normally, the way to start the client from a disconnected manager under Windows is to choose "Select computer..." from the File menu, and leave both boxes (name and password) blank. I'll test whether that still works with "Run the client?" disabled. If so, we might be able to get away with a wording or documentation change.
ID: 1998772 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 13182
Credit: 154,200,153
RAC: 199,275
United Kingdom
Message 1998784 - Posted: 19 Jun 2019, 8:29:10 UTC - in response to Message 1998710.  

Boinc Manager is unable to connect to core client, and I cannot switch the option to run the client back on.
Hmmm. Odd. I had no trouble switching the option back, even in the current v7.14.2 and disconnected from the client (client not running).

Lightbulb moment! You must be in Simple view - yes, that option dialog doesn't seem to be working when disconnected. Most of us on this message board always work in Advanced view, and you would have had a working escape route there. It's simple view that needs fixing.
ID: 1998784 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 13182
Credit: 154,200,153
RAC: 199,275
United Kingdom
Message 1998786 - Posted: 19 Jun 2019, 9:13:07 UTC

Reported upstream as #3187. The developer says he'll work on it when he gets back from vacation, so it won't make it into v7.16, but if you (or anyone else) get caught out again in the meantime, use the 'View' menu to switch to Advanced view and sort it out there.
ID: 1998786 · Report as offensive
Profile Lucas_W

Send message
Joined: 27 Dec 06
Posts: 5
Credit: 2,919,638
RAC: 20,200
Canada
Message 1998842 - Posted: 19 Jun 2019, 20:58:02 UTC - in response to Message 1998723.  

Well, I do wonder what happens if one just manually starts the client (boinc.exe) but I'll test that tomorrow.

Yes, that is one of the things I tried. I saw that there were some old threads that suggested this and it seemed to work in that instance, but for me launching the executable manually still resulted in Boinc Manager being unable to connect. In fact, I tried launching all the components I could find (the command line executable, the screen saver and boinc.exe) before launching the manager. Curiously, the manager still couldn't connect. At least in this particular case.
ID: 1998842 · Report as offensive
Profile Lucas_W

Send message
Joined: 27 Dec 06
Posts: 5
Credit: 2,919,638
RAC: 20,200
Canada
Message 1998843 - Posted: 19 Jun 2019, 21:00:11 UTC - in response to Message 1998784.  

Boinc Manager is unable to connect to core client, and I cannot switch the option to run the client back on.
Hmmm. Odd. I had no trouble switching the option back, even in the current v7.14.2 and disconnected from the client (client not running).

Lightbulb moment! You must be in Simple view - yes, that option dialog doesn't seem to be working when disconnected. Most of us on this message board always work in Advanced view, and you would have had a working escape route there. It's simple view that needs fixing.


Oh I see! I'll consider swapping to advanced view if it becomes necessary. I don't anticipate it will be immediately necessary, but that's great to know. Thanks Richard!
ID: 1998843 · Report as offensive

Questions and Answers : Windows : Unable to connect to core client.


 
©2019 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.