Page 2 of 2
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Thu Mar 07, 2024 4:35 am
by calxalot
Because the PUT is failing, your local client is probably not registered with the account.
If you can see and edit the machine name in the accounts page, you can fix it and link.
The machine name cannot have any spaces or periods.
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Thu Mar 07, 2024 4:38 am
by enroscado
Thank you once again calxalot, but I am unable to fix the name and link the machine to the account, as we were discussing in a separate topic:
viewtopic.php?t=41221
Any ideas welcome.
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Thu Mar 07, 2024 4:39 am
by calxalot
The first machine is direct connected, not necessarily linked to account.
"MacMini.local" needs to lose the ".local".
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Thu Mar 07, 2024 4:41 am
by enroscado
Indeed.
However, as explained on the other topic: when I edit the name (deleting.local) and click link, it does not save, and the "Save" button remains greyed out...
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Thu Mar 07, 2024 4:41 am
by calxalot
I can tell you later how to link via python websockets module command line.
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Thu Mar 07, 2024 4:44 am
by enroscado
Great, thank you.
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Thu Mar 07, 2024 7:46 am
by calxalot
Please try (macOS only):
Edit config.xml to have your desired machine display name.
Code: Select all
sudo /usr/bin/nano /Library/Application\ Support/FAHClient/config.xml
The name can only have letters, numbers, underscore, dash.
Example config.xml:
Code: Select all
<config>
<machine-name v="MyMacMini"/>
<account-token v=""/>
</config>
Log out from account in web control.
Install lufah
Code: Select all
VENV="$HOME/.venv/lufah"
python3 -m venv "$VENV"
source "$VENV/bin/activate"
pip3 install --upgrade lufah
Unlink the client and restart it.
Wait a few seconds for the client to exit before starting it.
Code: Select all
lufah . unlink-account
lufah . stop
lufah . start
Login to web control.
Link machine in accounts page.
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Thu Mar 07, 2024 8:09 am
by enroscado
Excellent, working!
Thank you calxalot!
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Thu Mar 07, 2024 10:26 am
by calxalot
Update:
Joseph said the dots in name is supported on
https://alpha.foldingathome.org/
So others shouldn't need the linking workaround above.