Posts by MingoDynasty

InfoMessage
1) Message boards : BOINC Manager : Boinc stuck connecting to localhost
Message 111470
Posted 1 Apr 2023 by MingoDynasty
Open cc_config.xml
Change <dont_use_wsl>0</dont_use_wsl> to <dont_use_wsl>1</dont_use_wsl>
If there is no <dont_use_wsl> entry you need to change logging options from boincmgr and cc_config.xml will be populated with default options.
I only heard about one wsl test on gpugrid. Nothing came out of it.

Where is cc_config.xml? Everytime Boinc starts, in the log it says it cannot find it.
2) Message boards : BOINC Manager : Boinc stuck connecting to localhost
Message 111405
Posted 24 Mar 2023 by MingoDynasty
Yes we can turn on better logging, but for that we need to increase your output file via cc_config.xml because with the logging function on the default 2MB is filled almost instantly. I'm sure if need be we can do that. But I don't think it's needed. Your startup log shows enough: your BOINC client is stuck in a boot loop, apparently crashing before getting through the whole loop, and restarting. This is why BOINC Manager cannot connect to the BOINC client, because, well, there is no BOINC client to connect to because it has crashed. I think due to the stuck WSL process taking up all CPU cores.

Seeing as how you fixed the problematic WSL startup process, we could think that fixed it.
My advice is to retry to reproduce it now, with the fixed WSL startup process, and see if you can do it again.

If not, it's down to that and doesn't really need an additional fix at this time.
If you can reproduce it now, we can think of adding a delayed startup of the BOINC Client & Manager.

Why does Boinc need WSL?
Also, does Boinc log anything before/during/after using WSL?
3) Message boards : BOINC Manager : Boinc stuck connecting to localhost
Message 111398
Posted 24 Mar 2023 by MingoDynasty
Not sure if directly caused by, but strongly correlated for now:

I noticed my Docker Desktop for Windows was outdated. So I went to update it, and then it got stuck on "Docker desktop stopping". I also tried running some wsl commands, but they all hung.

I came across this Github thread: https://github.com/microsoft/WSL/issues/4144
as well as this Stackoverflow post: https://stackoverflow.com/questions/70567543/cant-restart-wsl2-lxssmanager-hangs-in-stopping-state-how-to-restart

I ran command `tasklist /svc /fi "imagename eq svchost.exe" | findstr LxssManager`, noted the PID, then went to Task Manager and killed the Service Host task with that PID.
Then Docker Desktop stopped correctly, and updated. Then I started up Boinc Manager and suddenly it worked just fine, projects/tasks loaded, etc.

Here's the stdoutdae.txt again:

-------------------------------------------------------
23-Mar-2023 15:20:53 [---] cc_config.xml not found - using defaults
23-Mar-2023 15:20:53 [---] Starting BOINC client version 7.20.2 for windows_x86_64
23-Mar-2023 15:20:53 [---] log flags: file_xfer, sched_ops, task
23-Mar-2023 15:20:53 [---] Libraries: libcurl/7.84.0-DEV Schannel zlib/1.2.12
23-Mar-2023 15:20:53 [---] Data directory: C:\ProgramData\BOINC
23-Mar-2023 15:20:53 [---] Running under account User
23-Mar-2023 15:20:53 [---] OpenCL: AMD/ATI GPU 0: AMD Radeon RX 6900 XT (driver version 3380.6 (PAL,LC), device version OpenCL 2.0 AMD-APP (3380.6), 16368MB, 16368MB available, 20634 GFLOPS peak)
23-Mar-2023 15:20:53 [---] OpenCL: Intel GPU 0: Intel(R) UHD Graphics 770 (driver version 31.0.101.4091, device version OpenCL 3.0 NEO, 12972MB, 12972MB available, 410 GFLOPS peak)
23-Mar-2023 16:41:18 [---] cc_config.xml not found - using defaults
23-Mar-2023 16:41:18 [---] Starting BOINC client version 7.20.2 for windows_x86_64
23-Mar-2023 16:41:18 [---] log flags: file_xfer, sched_ops, task
23-Mar-2023 16:41:18 [---] Libraries: libcurl/7.84.0-DEV Schannel zlib/1.2.12
23-Mar-2023 16:41:18 [---] Data directory: C:\ProgramData\BOINC
23-Mar-2023 16:41:18 [---] Running under account User
23-Mar-2023 16:41:18 [---] OpenCL: AMD/ATI GPU 0: AMD Radeon RX 6900 XT (driver version 3380.6 (PAL,LC), device version OpenCL 2.0 AMD-APP (3380.6), 16368MB, 16368MB available, 20634 GFLOPS peak)
23-Mar-2023 16:41:18 [---] OpenCL: Intel GPU 0: Intel(R) UHD Graphics 770 (driver version 31.0.101.4091, device version OpenCL 3.0 NEO, 12972MB, 12972MB available, 410 GFLOPS peak)
23-Mar-2023 16:53:24 [---] cc_config.xml not found - using defaults
23-Mar-2023 16:53:24 [---] Starting BOINC client version 7.20.2 for windows_x86_64
23-Mar-2023 16:53:24 [---] log flags: file_xfer, sched_ops, task
23-Mar-2023 16:53:24 [---] Libraries: libcurl/7.84.0-DEV Schannel zlib/1.2.12
23-Mar-2023 16:53:24 [---] Data directory: C:\ProgramData\BOINC
23-Mar-2023 16:53:24 [---] Running under account User
23-Mar-2023 16:53:24 [---] OpenCL: AMD/ATI GPU 0: AMD Radeon RX 6900 XT (driver version 3380.6 (PAL,LC), device version OpenCL 2.0 AMD-APP (3380.6), 16368MB, 16368MB available, 20634 GFLOPS peak)
23-Mar-2023 16:53:24 [---] OpenCL: Intel GPU 0: Intel(R) UHD Graphics 770 (driver version 31.0.101.4091, device version OpenCL 3.0 NEO, 12972MB, 12972MB available, 410 GFLOPS peak)
23-Mar-2023 17:08:24 [---] cc_config.xml not found - using defaults
23-Mar-2023 17:08:24 [---] Starting BOINC client version 7.20.2 for windows_x86_64
23-Mar-2023 17:08:24 [---] log flags: file_xfer, sched_ops, task
23-Mar-2023 17:08:24 [---] Libraries: libcurl/7.84.0-DEV Schannel zlib/1.2.12
23-Mar-2023 17:08:24 [---] Data directory: C:\ProgramData\BOINC
23-Mar-2023 17:08:24 [---] Running under account User
23-Mar-2023 17:08:24 [---] OpenCL: AMD/ATI GPU 0: AMD Radeon RX 6900 XT (driver version 3380.6 (PAL,LC), device version OpenCL 2.0 AMD-APP (3380.6), 16368MB, 16368MB available, 20634 GFLOPS peak)
23-Mar-2023 17:08:24 [---] OpenCL: Intel GPU 0: Intel(R) UHD Graphics 770 (driver version 31.0.101.4091, device version OpenCL 3.0 NEO, 12972MB, 12972MB available, 410 GFLOPS peak)
23-Mar-2023 17:08:27 [---] Windows processor group 0: 24 processors
23-Mar-2023 17:08:27 [---] Host name: DESKTOP-MFSEP24
23-Mar-2023 17:08:27 [---] Processor: 24 GenuineIntel 13th Gen Intel(R) Core(TM) i7-13700K [Family 6 Model 183 Stepping 1]
23-Mar-2023 17:08:27 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush acpi mmx fxsr sse sse2 ss htt tm pni ssse3 fma cx16 sse4_1 sse4_2 movebe popcnt aes f16c rdrandsyscall nx lm avx avx2 tm2 pbe fsgsbase bmi1 smep bmi2
23-Mar-2023 17:08:27 [---] OS: Microsoft Windows 11: Professional x64 Edition, (10.00.22621.00)
23-Mar-2023 17:08:27 [---] Memory: 31.67 GB physical, 40.67 GB virtual
23-Mar-2023 17:08:27 [---] Disk: 464.49 GB total, 78.68 GB free
23-Mar-2023 17:08:27 [---] Local time is UTC -7 hours
23-Mar-2023 17:08:27 [---] WSL detected:
23-Mar-2023 17:08:27 [---] [docker-desktop-data] (default): <3>WSL (29) ERROR: CreateProcessEntryCommon:368: getpwuid(0) failed 2
<3>WSL (29) ERROR: CreateProcessEntryCommon:372: getpwuid(0) failed 2
<3>WSL (29) ERROR: CreateProcessEntryCommon:574: execvpe /bin/sh failed 2
<3>WSL (29) ERROR: CreateProcessEntryCommon:583: Create process not expected to return (<3>WSL (23) ERROR: CreateProcessEntryCommon:368: getpwuid(0) failed 2 [<3>WSL (32) ERROR: CreateProcessEntryCommon:368: getpwuid(0) failed 2
<3>WSL (32) ERROR: CreateProcessEntryCommon:372: getpwuid(0) failed 2
<3>WSL (32) ERROR: CreateProcessEntryCommon:574: execvpe /bin/sh failed 2
<3>WSL (32) ERROR: CreateProcessEntryCommon:583: Create process not expected to return])
23-Mar-2023 17:08:27 [---] [docker-desktop]: Linux (Docker Desktop [5.15.90.1-microsoft-standard-WSL2])
23-Mar-2023 17:08:27 [---] VirtualBox version: 7.0.6
23-Mar-2023 17:08:27 [SiDock@home] General prefs: from SiDock@home (last modified 10-Mar-2023 08:25:55)
23-Mar-2023 17:08:27 [SiDock@home] Host location: none
23-Mar-2023 17:08:27 [SiDock@home] General prefs: using your defaults
23-Mar-2023 17:08:27 [---] Reading preferences override file
23-Mar-2023 17:08:27 [---] Preferences:
23-Mar-2023 17:08:27 [---] max memory usage when active: 16215.46 MB
23-Mar-2023 17:08:27 [---] max memory usage when idle: 29187.84 MB
23-Mar-2023 17:08:27 [---] max disk usage: 79.82 GB
23-Mar-2023 17:08:27 [---] max CPUs used: 15
23-Mar-2023 17:08:27 [---] suspend work if non-BOINC CPU load exceeds 25%
23-Mar-2023 17:08:27 [---] (to change preferences, visit a project web site or select Preferences in the Manager)
23-Mar-2023 17:08:27 [---] Setting up project and slot directories
23-Mar-2023 17:08:27 [---] Checking active tasks
23-Mar-2023 17:08:27 [Einstein@Home] URL https://einstein.phys.uwm.edu/; Computer ID 13127743; resource share 100
23-Mar-2023 17:08:27 [Einstein@Home] Not using CPU: project preferences
23-Mar-2023 17:08:27 [Einstein@Home] Not using Intel GPU: project preferences
23-Mar-2023 17:08:27 [SiDock@home] URL https://www.sidock.si/sidock/; Computer ID 46785; resource share 1
23-Mar-2023 17:08:27 [World Community Grid] URL http://www.worldcommunitygrid.org/; Computer ID 8696965; resource share 100
23-Mar-2023 17:08:27 [World Community Grid] Not using AMD/ATI GPU: project preferences
23-Mar-2023 17:08:27 [World Community Grid] Not using Intel GPU: project preferences
23-Mar-2023 17:08:27 [---] Setting up GUI RPC socket
23-Mar-2023 17:08:27 [---] Checking presence of 522 project files
23-Mar-2023 17:08:27 Initialization completed
23-Mar-2023 17:08:27 [---] Suspending computation - user request
23-Mar-2023 17:08:27 [World Community Grid] Started upload of MCM1_0197252_8279_1_r131177174_0
23-Mar-2023 17:08:27 [World Community Grid] Started upload of MCM1_0197252_8183_0_r1633197180_0
23-Mar-2023 17:08:27 [World Community Grid] Sending scheduler request: Requested by project.
23-Mar-2023 17:08:27 [World Community Grid] Reporting 6 completed tasks
23-Mar-2023 17:08:27 [World Community Grid] Not requesting tasks: too many uploads in progress
23-Mar-2023 17:08:28 [World Community Grid] Error reported by file upload server: Server is out of disk space
23-Mar-2023 17:08:28 [World Community Grid] Error reported by file upload server: Server is out of disk space
23-Mar-2023 17:08:28 [World Community Grid] Temporarily failed upload of MCM1_0197252_8279_1_r131177174_0: transient upload error
23-Mar-2023 17:08:28 [World Community Grid] Backing off 05:29:33 on upload of MCM1_0197252_8279_1_r131177174_0
23-Mar-2023 17:08:28 [World Community Grid] Temporarily failed upload of MCM1_0197252_8183_0_r1633197180_0: transient upload error
23-Mar-2023 17:08:28 [World Community Grid] Backing off 05:12:00 on upload of MCM1_0197252_8183_0_r1633197180_0
23-Mar-2023 17:08:28 [World Community Grid] Started upload of MCM1_0197239_2098_1_r254159007_0
23-Mar-2023 17:08:28 [World Community Grid] Started upload of MCM1_0197239_1947_0_r625512618_0
23-Mar-2023 17:08:28 [World Community Grid] Scheduler request completed
23-Mar-2023 17:08:28 [World Community Grid] Server error: feeder not running
23-Mar-2023 17:08:29 [World Community Grid] Error reported by file upload server: Server is out of disk space
23-Mar-2023 17:08:29 [World Community Grid] Error reported by file upload server: can't open file
23-Mar-2023 17:08:29 [World Community Grid] Temporarily failed upload of MCM1_0197239_2098_1_r254159007_0: transient upload error
23-Mar-2023 17:08:29 [World Community Grid] Backing off 04:04:32 on upload of MCM1_0197239_2098_1_r254159007_0
23-Mar-2023 17:08:29 [World Community Grid] Temporarily failed upload of MCM1_0197239_1947_0_r625512618_0: transient upload error
23-Mar-2023 17:08:29 [World Community Grid] Backing off 03:19:19 on upload of MCM1_0197239_1947_0_r625512618_0
23-Mar-2023 17:08:30 [---] Suspending GPU computation - user request
23-Mar-2023 17:08:31 [---] Resuming GPU computation
23-Mar-2023 17:08:34 [Einstein@Home] Sending scheduler request: To report completed tasks.
23-Mar-2023 17:08:34 [Einstein@Home] Reporting 3 completed tasks
23-Mar-2023 17:08:34 [Einstein@Home] Not requesting tasks: don't need (CPU: ; AMD/ATI GPU: job cache full; Intel GPU: )
23-Mar-2023 17:08:36 [Einstein@Home] Scheduler request completed
23-Mar-2023 17:08:36 [Einstein@Home] Project requested delay of 60 seconds
23-Mar-2023 17:12:10 [Einstein@Home] Computation for task h1_0090.80_O3aC01Cl1In0__O3MDFC1_CasA_91.00Hz_31_0 finished
23-Mar-2023 17:12:10 [Einstein@Home] Starting task h1_0090.80_O3aC01Cl1In0__O3MDFC1_CasA_91.00Hz_39_0
23-Mar-2023 17:12:12 [Einstein@Home] Started upload of h1_0090.80_O3aC01Cl1In0__O3MDFC1_CasA_91.00Hz_31_0_0
23-Mar-2023 17:12:12 [Einstein@Home] Started upload of h1_0090.80_O3aC01Cl1In0__O3MDFC1_CasA_91.00Hz_31_0_1
23-Mar-2023 17:12:14 [Einstein@Home] Finished upload of h1_0090.80_O3aC01Cl1In0__O3MDFC1_CasA_91.00Hz_31_0_1
23-Mar-2023 17:12:17 [Einstein@Home] Finished upload of h1_0090.80_O3aC01Cl1In0__O3MDFC1_CasA_91.00Hz_31_0_0
-------------------------------------------------------

Note the logs about WSL. Perhaps Boinc should have some sort of timeout if WSL command fails to respond? Or at least better logging...
4) Message boards : BOINC Manager : Boinc stuck connecting to localhost
Message 111397
Posted 23 Mar 2023 by MingoDynasty

As you can see there's a pile of information about what has started, how things are configured. The easiest way to get this is very soon after a re-boot of the computer, say five minutes, or (as in my case) have a very large event log.

The problem is that if I reboot my PC, then the issue goes away (as I've previously stated).
5) Message boards : BOINC Manager : Boinc stuck connecting to localhost
Message 111396
Posted 23 Mar 2023 by MingoDynasty
I managed to reproduce the issue again. It's still not consistent, but here's what I did:

1. Have Boinc Manager running for a long time, doing tasks, etc.
2. Activity -> Suspend
3. File -> Exit Boinc Manager
4. Go play PC games for ~1 hour.
5. Stop playing PC games.
6. Start up Boinc Manager.
7. Boinc Manager get stuck on "Connecting to localhost".

I also noticed that while in this state, the Tools -> Event Log option is greyed out.

Depending on the number of projects and total number of file in the projects data folders, it can show for several minutes the "waiting message", before it disappears and you have control of BOINC.

You need to get the first 30 or so lines from the stdoutdae.txt FILE located in the BOINCDATA folder a few minutes after BOINC is restarted, not from the ,BOINC Manager console. The file is by default located in C:\ProgramDats\BOINC\ which might be a hidden folder.

Use a text editor to open the file such as notepad.exe

Highlight the first 30 lines, copy and paste into a new message in this topic and post your reply.

Here is the entire file:

23-Mar-2023 15:20:53 [---] cc_config.xml not found - using defaults
23-Mar-2023 15:20:53 [---] Starting BOINC client version 7.20.2 for windows_x86_64
23-Mar-2023 15:20:53 [---] log flags: file_xfer, sched_ops, task
23-Mar-2023 15:20:53 [---] Libraries: libcurl/7.84.0-DEV Schannel zlib/1.2.12
23-Mar-2023 15:20:53 [---] Data directory: C:\ProgramData\BOINC
23-Mar-2023 15:20:53 [---] Running under account User
23-Mar-2023 15:20:53 [---] OpenCL: AMD/ATI GPU 0: AMD Radeon RX 6900 XT (driver version 3380.6 (PAL,LC), device version OpenCL 2.0 AMD-APP (3380.6), 16368MB, 16368MB available, 20634 GFLOPS peak)
23-Mar-2023 15:20:53 [---] OpenCL: Intel GPU 0: Intel(R) UHD Graphics 770 (driver version 31.0.101.4091, device version OpenCL 3.0 NEO, 12972MB, 12972MB available, 410 GFLOPS peak)
23-Mar-2023 16:41:18 [---] cc_config.xml not found - using defaults
23-Mar-2023 16:41:18 [---] Starting BOINC client version 7.20.2 for windows_x86_64
23-Mar-2023 16:41:18 [---] log flags: file_xfer, sched_ops, task
23-Mar-2023 16:41:18 [---] Libraries: libcurl/7.84.0-DEV Schannel zlib/1.2.12
23-Mar-2023 16:41:18 [---] Data directory: C:\ProgramData\BOINC
23-Mar-2023 16:41:18 [---] Running under account User
23-Mar-2023 16:41:18 [---] OpenCL: AMD/ATI GPU 0: AMD Radeon RX 6900 XT (driver version 3380.6 (PAL,LC), device version OpenCL 2.0 AMD-APP (3380.6), 16368MB, 16368MB available, 20634 GFLOPS peak)
23-Mar-2023 16:41:18 [---] OpenCL: Intel GPU 0: Intel(R) UHD Graphics 770 (driver version 31.0.101.4091, device version OpenCL 3.0 NEO, 12972MB, 12972MB available, 410 GFLOPS peak)
6) Message boards : BOINC Manager : Boinc stuck connecting to localhost
Message 111373
Posted 22 Mar 2023 by MingoDynasty
Here's the first 30 lines of the BOINC Event Log:

3/21/2023 12:10:09 AM | Einstein@Home | Finished upload of LATeah4021L05_868.0_0_0.0_27721029_0_0
3/21/2023 12:10:09 AM | Einstein@Home | Finished upload of LATeah4021L05_868.0_0_0.0_27721029_0_1
3/21/2023 12:16:15 AM | Einstein@Home | Computation for task Ter5_4_cfbf00057_segment_15_dms_400_13200_156_850000_0 finished
3/21/2023 12:16:15 AM | Einstein@Home | Starting task Ter5_4_cfbf00057_segment_15_dms_400_13200_286_500000_1
3/21/2023 12:16:17 AM | Einstein@Home | Started upload of Ter5_4_cfbf00057_segment_15_dms_400_13200_156_850000_0_0
3/21/2023 12:16:19 AM | Einstein@Home | Finished upload of Ter5_4_cfbf00057_segment_15_dms_400_13200_156_850000_0_0
3/21/2023 12:22:28 AM | Einstein@Home | Computation for task Ter5_4_cfbf00057_segment_15_dms_400_13200_286_500000_1 finished
3/21/2023 12:22:28 AM | Einstein@Home | Starting task Ter5_4_cfbf00057_segment_15_dms_400_13200_275_400000_1
3/21/2023 12:22:30 AM | Einstein@Home | Started upload of Ter5_4_cfbf00057_segment_15_dms_400_13200_286_500000_1_0
3/21/2023 12:22:32 AM | Einstein@Home | Finished upload of Ter5_4_cfbf00057_segment_15_dms_400_13200_286_500000_1_0
3/21/2023 12:26:38 AM | Einstein@Home | Sending scheduler request: To report completed tasks.
3/21/2023 12:26:38 AM | Einstein@Home | Reporting 11 completed tasks
3/21/2023 12:26:38 AM | Einstein@Home | Requesting new tasks for AMD/ATI GPU
3/21/2023 12:26:41 AM | Einstein@Home | Scheduler request completed: got 10 new tasks
3/21/2023 12:26:41 AM | Einstein@Home | Project requested delay of 60 seconds
3/21/2023 12:26:43 AM | Einstein@Home | Started download of templates_LATeah4021L05_0876_23532222.dat
3/21/2023 12:26:43 AM | Einstein@Home | Started download of Ter5_4_cfbf00057_segment_16_dms_400_263.binary
3/21/2023 12:26:45 AM | Einstein@Home | Finished download of templates_LATeah4021L05_0876_23532222.dat
3/21/2023 12:26:45 AM | Einstein@Home | Started download of templates_LATeah4021L05_0876_16861677.dat
3/21/2023 12:26:46 AM | Einstein@Home | Finished download of templates_LATeah4021L05_0876_16861677.dat
3/21/2023 12:26:46 AM | Einstein@Home | Started download of Ter5_4_cfbf00057_segment_16_dms_400_202.binary
3/21/2023 12:26:47 AM | Einstein@Home | Finished download of Ter5_4_cfbf00057_segment_16_dms_400_263.binary
3/21/2023 12:26:47 AM | Einstein@Home | Started download of Ter5_4_cfbf00057_segment_16_dms_400_268.binary
3/21/2023 12:26:48 AM | Einstein@Home | Finished download of Ter5_4_cfbf00057_segment_16_dms_400_202.binary
3/21/2023 12:26:48 AM | Einstein@Home | Finished download of Ter5_4_cfbf00057_segment_16_dms_400_268.binary
3/21/2023 12:26:48 AM | Einstein@Home | Started download of templates_LATeah4021L05_0876_16825935.dat
3/21/2023 12:26:48 AM | Einstein@Home | Started download of templates_LATeah4021L05_0876_16862454.dat
3/21/2023 12:26:49 AM | Einstein@Home | Finished download of templates_LATeah4021L05_0876_16825935.dat
3/21/2023 12:26:49 AM | Einstein@Home | Finished download of templates_LATeah4021L05_0876_16862454.dat
3/21/2023 12:28:41 AM | Einstein@Home | Computation for task Ter5_4_cfbf00057_segment_15_dms_400_13200_275_400000_1 finished

Granted I haven't re-experienced the issue yet. It seems to happen sporadically, particularly when I have exited Boinc for awhile and then start it up again.
7) Message boards : BOINC Manager : Boinc stuck connecting to localhost
Message 111372
Posted 22 Mar 2023 by MingoDynasty
Okay, before we give you the runaround on paths and such, let's just first focus on the message. "Connecting to localhost" means that BOINC Manager (the GUI) has started, but the BOINC client may not have, or it is too busy starting up tasks, loading them in memory, to immediately connect with BOINC Manager to show what it's doing.

Keith told you to open Task Manager and kill the BOINC Manager process, instead I want you to open Task Manager and see if both boinc.exe and boincmgr.exe are running in the Processes tab. If only BOINC Manager is running, that means the client hasn't started. In that case restart the computer and see if that fixes the problem for now, then open BOINC Manager -> Options -> Other options... -> General, make sure "Run Manager at login?" and "Run the client?" are checked, then press Save and maybe that just already fixed it.

If both were already checked, then can you please tell us which projects you have added and which ones have work, and what kind of work?
Can you also give some details about your computer, or better yet, post the first 30 or so lines of the BOINC Event Log (CTRL+SHIFT+E)?

Let's just start there. Adding start delay and other fancy options to cc_config.xml is always an option, but it shouldn't be necessary for geenral users.

I agree. I highly doubt that the issue is simply "you need to run Boinc". My installation directory is "C:\Program Files\BOINC" and I've tried most of the .exe files in there, including:
boinc.exe
boinccmd.exe
boincmgr.exe
boincscr.exe
boinctray.exe

About the Task Manager part, I did try manually killing all boinc*.exe processes, and then starting either boinc.exe or boincmgr.exe. Still did not solve the issue.

About "Other Options", I've mentioned that I already have all 4 options checked. Here's an example screenshot of my settings:


About projects, I have Einstein@Home, SiDock@Home, and World Community Grid. WCG has had their servers down for like a month now. I am running tasks from the other two.
Einstein@Home: I'm currently running CurieMarieDock 0.2.0 long tasks 2.02
SiDock@Home: I'm currently running Binary Radio Pulsar Search (MeerKAT) 0.12 (BRP7-opencl-ati)
I don't recall what specific types of tasks I signed up (probably mostly the defaults), so it's likely possible that these aren't the only types of tasks my PC runs.[/img]
8) Message boards : BOINC Manager : Boinc stuck connecting to localhost
Message 111304
Posted 16 Mar 2023 by MingoDynasty
Where do I type in "run boinc.exe" ?

click on start, then type in
boinc.exe

Is this what's expected? https://i.imgur.com/GV5lldZ.png

I don't have `boinc.exe`.
9) Message boards : BOINC Manager : Boinc stuck connecting to localhost
Message 111302
Posted 16 Mar 2023 by MingoDynasty
Next time it happens, the first thing to check is "Which BOINC components are actually running?".

Open the Windows Task Manager. You should see three BOINC programs running:

  • boinc.exe
  • boincmgr.exe
  • boinctray.exe

boincmgr.exe is the thing you're looking at; boinc.exe is the thing it's trying to connect to; and boinctray.exe you can ignore (it's a small, invisible, helper application).

It sounds like boinc.exe isn't running. There are controls in the BOINC manager ('Options' menu, 'other options...'): make sure they're set the way you want them: otherwise, something external like an anti-virus program may be blocking it.


All 4 options are already checked. I've also tried disabling my firewall (ESET), but even if it was my firewall, it doesn't make sense that my firewall would choose to block it later rather than at startup.
10) Message boards : BOINC Manager : Boinc stuck connecting to localhost
Message 111301
Posted 16 Mar 2023 by MingoDynasty
You could open Task Manager and kill the Boinc Manager process. Then restart the Manager. Normally reconnects on the second try.

You could try setting a delay in the startup so that system processes have settled before starting the client and Manager. Try 30 seconds. Parameter is in the cc_config.xml file.

<start_delay>0.000000</start_delay>

Where is this `cc_config.xml` file?
11) Message boards : BOINC Manager : Boinc stuck connecting to localhost
Message 111300
Posted 16 Mar 2023 by MingoDynasty
The only workaround I've found so far is to restart my PC, but that is annoying to do everytime I just want to run Boinc. Any ideas how to fix this?

run boinc.exe
should start the client without your having to reboot.

But, worth following the other two replies which potentially lead to resolving the problem rather than just finding a work around.

Where do I type in "run boinc.exe" ?
12) Message boards : BOINC Manager : Boinc stuck connecting to localhost
Message 111263
Posted 11 Mar 2023 by MingoDynasty
Sometimes when I start up Boinc, it simply says `Connecting to localhost` in the bottom right, and none of my projects/tasks load.

The only workaround I've found so far is to restart my PC, but that is annoying to do everytime I just want to run Boinc. Any ideas how to fix this?

I am using Boinc 7.20.2 x64 on Windows.


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.