Mac OS fails to resolve api.foldingathome.org:443

Moderators: Site Moderators, FAHC Science Team

calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Mac OS fails to resolve api.foldingathome.org:443

Post 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.
enroscado
Posts: 38
Joined: Mon Aug 11, 2008 2:33 pm

Re: Mac OS fails to resolve api.foldingathome.org:443

Post 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.
Image
calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Mac OS fails to resolve api.foldingathome.org:443

Post by calxalot »

The first machine is direct connected, not necessarily linked to account.
"MacMini.local" needs to lose the ".local".
enroscado
Posts: 38
Joined: Mon Aug 11, 2008 2:33 pm

Re: Mac OS fails to resolve api.foldingathome.org:443

Post 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...
Image
calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Mac OS fails to resolve api.foldingathome.org:443

Post by calxalot »

I can tell you later how to link via python websockets module command line.
enroscado
Posts: 38
Joined: Mon Aug 11, 2008 2:33 pm

Re: Mac OS fails to resolve api.foldingathome.org:443

Post by enroscado »

Great, thank you.
Image
calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Mac OS fails to resolve api.foldingathome.org:443

Post 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.
enroscado
Posts: 38
Joined: Mon Aug 11, 2008 2:33 pm

Re: Mac OS fails to resolve api.foldingathome.org:443

Post by enroscado »

Excellent, working!

Thank you calxalot!
Image
calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Mac OS fails to resolve api.foldingathome.org:443

Post 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.
Post Reply