Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v8.4.4 does not show up as a machine in Windows 11 (Firefox) #287

Open
muziqaz opened this issue Sep 14, 2024 · 4 comments
Open

v8.4.4 does not show up as a machine in Windows 11 (Firefox) #287

muziqaz opened this issue Sep 14, 2024 · 4 comments

Comments

@muziqaz
Copy link
Contributor

muziqaz commented Sep 14, 2024

So I moved my farm to v8.4.4. Last to go was main PC with Win 11.
Firstly launching installer triggered Windows Defender SmartScreen, which I am not worried about and told it to install anyways. Installation went smooth. After installation web control launched, and I saw other 3 PCs, but not the local one. web control has already logged in, since this PC have seen v8 in previous itterations. Systray icon shows fahlient paused. I can see fahclient.exe in Task Manager. When I click Fold through systray icon, nothing happens.
Here is the log:

*********************** Log Started 2024-09-14T21:36:57Z ***********************
21:36:57:I1:*********************** Folding@home Client ***********************
21:36:57:I1:    Version: 8.4.4
21:36:57:I1:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
21:36:57:I1:        Org: foldingathome.org
21:36:57:I1:  Copyright: 2023-2024, foldingathome.org
21:36:57:I1:   Homepage: https://foldingathome.org/
21:36:57:I1:    License: GPL-3.0-or-later
21:36:57:I1:        URL: https://v8-4.foldingathome.org/
21:36:57:I1:       Date: Aug 27 2024
21:36:57:I1:       Time: 14:43:45
21:36:57:I1:   Revision: d071d0df1c1a752022e4d12dd4353eeb7eafcf83
21:36:57:I1:     Branch: master
21:36:57:I1:   Compiler: Visual C++
21:36:57:I1:    Options: $( /TP $) /std:c++14 /nologo /EHa /wd4297 /wd4103 /O2
21:36:57:I1:             /Zc:throwingNew /MT
21:36:57:I1:   Platform: win32 10
21:36:57:I1:       Bits: 64
21:36:57:I1:       Mode: Release
21:36:57:I1:       Args: --open-web-control
21:36:57:I1:****************************** CBang ******************************
21:36:57:I1:    Version: 1.7.2
21:36:57:I1:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
21:36:57:I1:        Org: Cauldron Development
21:36:57:I1:  Copyright: Cauldron Development, 2003-2024
21:36:57:I1:   Homepage: https://cauldrondevelopment.com/
21:36:57:I1:    License: LGPL-2.1-or-later
21:36:57:I1:       Date: Aug 27 2024
21:36:57:I1:       Time: 14:43:06
21:36:57:I1:   Revision: bbfff7de9fa54453f942b7f1489df6a36fee7a3b
21:36:57:I1:     Branch: master
21:36:57:I1:   Compiler: Visual C++
21:36:57:I1:    Options: $( /TP $) /std:c++14 /nologo /EHa /wd4297 /wd4103 /O2
21:36:57:I1:             /Zc:throwingNew /MT
21:36:57:I1:   Platform: win32 10
21:36:57:I1:       Bits: 64
21:36:57:I1:       Mode: Release
21:36:57:I1:***************************** System ******************************
21:36:57:I1:        CPU: AMD Ryzen 9 7950X3D 16-Core Processor
21:36:57:I1:     CPU ID: AuthenticAMD Family 25 Model 97 Stepping 2
21:36:57:I1:       CPUs: 32
21:36:57:I1:     Memory: 31.62GiB
21:36:57:I1:Free Memory: 20.96GiB
21:36:57:I1: OS Version: 6.2
21:36:57:I1:Has Battery: false
21:36:57:I1: On Battery: false
21:36:57:I1:   Hostname: muziqazPC
21:36:57:I1: UTC Offset: 1
21:36:57:I1:        PID: 33904
21:36:57:I1:        CWD: C:\ProgramData\FAHClient
21:36:57:I1:       Exec: C:\Program Files\FAHClient\FAHClient.exe
21:36:57:I1:*******************************************************************
21:36:57:I2:<config/>
21:36:57:I1:Opening Database
21:36:57:I1:F@H ID = I1HR9qrjkwkgle82-gtCry74Fc1GeZ-n5iDxMr4iyJs
21:36:57:I3:Loading default group
21:36:57:I3:Loading default resource group
21:36:57:I1:Listening for HTTP on 127.0.0.1:7396
21:36:57:I3:Loaded 0 wus.
21:36:57:E :Subprocess deallocated while process is still running
21:36:57:I1:Started Windows systray control
21:36:57:I3:gpus = {
21:36:57:I3:  "gpu:03:00:00": {
21:36:57:I3:    "vendor": 4098,
21:36:57:I3:    "type": "amd",
21:36:57:I3:    "description": "gfx1100",
21:36:57:I3:    "opencl": {"platform": 0, "device": 0, "compute": "2.0", "driver": "3628.0"},
21:36:57:I3:    "device": 29772,
21:36:57:I3:    "supported": true
21:36:57:I3:  }
21:36:57:I3:}

I reinstalled the client few times, reloaded browser page. Nothing.
Ok, now I clicked Fold through systray, and it downloaded fahcore_a8 WU. I still cannot see this client neither locally, nor through remote clients (other PCs).
This is on Firefox.
I just launched Edge, which I never use, and I can see local fahclient :/
Firefox private browsing still does not see it. In that mode, Firefox is not using any existing cache or cookies.
I logged in to my account through Edge, and pop up showed up saying that client has been linked to an account. And I see all 4 of my machines through edge, however, remote Linux Firefox threw an error: Loggin in failed. API: error: TypeError: NetworkError when attempting to fetch resource. After clicking ok, remote PC still cannot see Win11 machine.
Reloading remote Linux browser few times finally saw win 11 client.
Local Firefox can also finally see all machines including itself.

I'm not really sure how this can be reproduced and tested and fixed :D This is some weird stuff.

@jcoffland
Copy link
Member

Is it possible you didn't wait long enough? You must either pass the account token on the command line or login to your account with a local browser and wait for the browser to actually connect to the local client. Otherwise, the client will not be connected to your account. If you do a full reinstall of the client, i.e. wipe all it's data, then you must do this all over again for that machine.

Web Control now pops up a message when it auto links the machine to your account. If you don't see this popup in Web Control after a fresh install or after a reinstall that wipes the data, then the machine is not linked.

@muziqaz
Copy link
Contributor Author

muziqaz commented Sep 16, 2024

The pop up did not show up until fourth try and only when Edge was used.
In all these tries I did give some time for client to react.
My sequence was this:
Install the client on Win11, I got auto logged into my account, no pop up showed up, so then I turned to my other monitor which is displaying Linux machine, which is monitoring the whole farm. So that in itself is a while. I refreshed Linux browser few times.
Once I reinstalled win 11 client few times, on Linux machine I even launched Vivaldi browser to check. So all these actions should have given enough time for client and account to see each other and link.
For more context:
The first try was upgrade from v7, and I used v7 fahdata folder. So my initial thoughts was that this folder might be an issue. So I reinstalled the client, but this time I left all directories default. Still had same issue.
Also of note: fahclient installer does not seem to realise that there is already v8 fahclient installed on the system. I'm used to installers seeing software already installed and tell me - do I want to repair, or reinstall, or uninstall, or abort. It also kept suggesting default fahdata folder even though during previous install I chose my own fahdata directory. But that is not related to the issue, just an observation

@jcoffland
Copy link
Member

My sequence was this: Install the client on Win11, I got auto logged into my account, no pop up showed up

This is where you need to wait. If the browser is already open when you do the client install, it can take some time for it to connect to the local client. I've tried to speed this up but the browser's connection retry logic makes this difficult.

so then I turned to my other monitor which is displaying Linux machine, which is monitoring the whole farm. So that in itself is a while. I refreshed Linux browser few times.

This will not help. As long as the client is not linked to your account you will not be able to see it from any remote machine.

Once I reinstalled win 11 client few times, on Linux machine I even launched Vivaldi browser to check. So all these actions should have given enough time for client and account to see each other and link.

Every time you reinstall you're starting over and only increasing the delay.

I think the whole problem here is that the browser takes longer than expected to connect to the local client. The only thing you can do is wait. Reloading the browser or reinstalling will just increase the delays. The only thing that might help is to completely exit the browser and restart it after the client has been installed. Otherwise, the browser's retry logic gets in the way.

@muziqaz
Copy link
Contributor Author

muziqaz commented Sep 16, 2024

Hopefully this was just my machine which have seen many previous iterations of V8, and maybe Firefox caching, or something. So hopefully it won't happen to new users and those who are upgrading from v7 for the first time, because both of those groups of users won't have account yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants