Page 1 of 2
Mac OS fails to resolve api.foldingathome.org:443
Posted: Sun Feb 25, 2024 6:32 pm
by speed2048
I have updated to 8.3.5 and on a MAC M2 Sonoma 14.3.1 I am getting the following error in the log file:
8:13:22:W :CON3:DNS lookup failed for api.foldingathome.org:443
18:13:22:E :OUT3:Failed response: CONNECT
I can ping to api.foldingathome.org without issues.
If I goto into account settings there is a red border around my hostname. I gather this is the reason my other machines cannot see this machine.
Let me know if there is anything I can help to debug this.
Thanks.
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Sun Feb 25, 2024 6:45 pm
by calxalot
This is a known bug with DNS failure which is being worked on.
DNS lookup always fails if network was not up when client launched #223
You need to restart the client from the terminal.
Try
Code: Select all
notifyutil -p org.foldingathome.fahclient.nobody.stop
notifyutil -p org.foldingathome.fahclient.nobody.start
If that fails to restart the client, try
Code: Select all
sudo launchctl unload -w /Library/LaunchDaemons/org.foldingathome.fahclient.plist
sudo launchctl load -w /Library/LaunchDaemons/org.foldingathome.fahclient.plist
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Mon Feb 26, 2024 5:23 am
by speed2048
it now resolves however now getting the following error:
05:20:11:I3:Connecting to api.foldingathome.org:443
05:20:11:I1:OUT7:> PUT
https://api.foldingathome.org/machine/( ... argestring HTTP/1.1
05:20:11:I1:OUT7:< HTTP/1.1 400 HTTP_BAD_REQUEST
05:20:11:E :OUT7:HTTP_BAD_REQUEST:
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Thu Feb 29, 2024 2:51 am
by enroscado
Same here, but running Ubuntu.
Any help how to stop and re-start the 8.3.5 client?
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Thu Feb 29, 2024 3:35 am
by calxalot
When you install on linux, you should see the linux commands.
Code: Select all
systemctl status --no-pager -l fah-client
sudo systemctl start fah-client
sudo systemctl stop fah-client
sudo systemctl restart fah-client
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Thu Feb 29, 2024 3:41 am
by enroscado
Thank you @calxalot - that did it.
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Thu Feb 29, 2024 4:24 am
by calxalot
To delay client launch on linux, I think you can modify fah-client.service to begin
Code: Select all
[Unit]
Description=Folding@home Client
After=network.target network-online.target
Wants=network-online.target
Completely untested by me.
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Thu Feb 29, 2024 11:49 am
by Marcos FRM
network-online.target is a big hammer, delays boot considerably. It would be nice avoid it.
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Fri Mar 01, 2024 8:31 pm
by speed2048
Reposting new issue in a new topic.
05:20:11:I1:OUT7:< HTTP/1.1 400 HTTP_BAD_REQUEST
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Wed Mar 06, 2024 8:32 am
by enroscado
I keep having the same issue in MacOS.
Logs...
Code: Select all
*********************** Log Started 2024-03-06T08:28:39Z ***********************
08:28:39:I1:*********************** Folding@home Client ***********************
08:28:39:I1: Version: 8.3.5
08:28:39:I1: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
08:28:39:I1: Org: foldingathome.org
08:28:39:I1: Copyright: 2023-2024, foldingathome.org
08:28:39:I1: Homepage: https://foldingathome.org/
08:28:39:I1: License: GPL-3.0-or-later
08:28:39:I1: URL: https://beta.foldingathome.org/
08:28:39:I1: Date: Feb 14 2024
08:28:39:I1: Time: 06:08:47
08:28:39:I1: Revision: 652c05f093c7d9542ec3d2effdfa693c80a77e8d
08:28:39:I1: Branch: master
08:28:39:I1: Compiler: GNU Apple LLVM 14.0.0 (clang-1400.0.29.202)
08:28:39:I1: Options: -std=c++17 -fsigned-char -stdlib=libc++ -O3 -funroll-loops -fno-pie
08:28:39:I1: -arch x86_64 -arch arm64 -mmacosx-version-min=10.13
08:28:39:I1: Platform: darwin 21.6.0
08:28:39:I1: Bits: 64
08:28:39:I1: Mode: Release
08:28:39:I1:****************************** CBang ******************************
08:28:39:I1: Version: 1.7.2
08:28:39:I1: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
08:28:39:I1: Org: Cauldron Development LLC
08:28:39:I1: Copyright: Cauldron Development LLC, 2003-2024
08:28:39:I1: Homepage: https://cauldrondevelopment.com/
08:28:39:I1: License: LGPL-2.1-or-later
08:28:39:I1: Date: Feb 14 2024
08:28:39:I1: Time: 05:51:04
08:28:39:I1: Revision: 8f6145ef68f2c46b23df4487130e8f7e4fc8c757
08:28:39:I1: Branch: master
08:28:39:I1: Compiler: GNU Apple LLVM 14.0.0 (clang-1400.0.29.202)
08:28:39:I1: Options: -std=c++17 -fsigned-char -stdlib=libc++ -O3 -funroll-loops -fno-pie
08:28:39:I1: -arch x86_64 -arch arm64 -mmacosx-version-min=10.13 -fPIC
08:28:39:I1: Platform: darwin 21.6.0
08:28:39:I1: Bits: 64
08:28:39:I1: Mode: Release
08:28:39:I1:***************************** System ******************************
08:28:39:I1: CPU: Apple M2 Pro
08:28:39:I1: CPU ID: Apple Family 8 Model 0 Stepping 0
08:28:39:I1: CPUs: 12
08:28:39:I1: Memory: 16.00GiB
08:28:39:I1:Free Memory: 575.00MiB
08:28:39:I1: OS Version: 14.2.1
08:28:39:I1:Has Battery: false
08:28:39:I1: On Battery: false
08:28:39:I1: Hostname: MacMini.local
08:28:39:I1: UTC Offset: 7
08:28:39:I1: PID: 42352
08:28:39:I1: CWD: /Library/Application Support/FAHClient
08:28:39:I1: Exec: /usr/local/bin/fah-client
08:28:39:I1:*******************************************************************
08:28:39:I2:<config/>
08:28:39:I1:Opening Database
08:28:39:I1:F@H ID = eNyJfHHlbrVky22_1f1ReX5wCyihUwT20rh22xBnfqQ
08:28:39:I3:Loading default group
08:28:39:I3:Loading default resource group
08:28:39:I1:Listening for HTTP on 127.0.0.1:7396
08:28:39:I3:Loaded 0 wus.
08:28:39:I3:Connecting to api.foldingathome.org:443
08:28:39:I1:OUT1:> GET https://api.foldingathome.org/gpus HTTP/1.1
08:28:39:I3:Connecting to api.foldingathome.org:443
08:28:40:I1:OUT3:> PUT https://api.foldingathome.org/machine/eNyJfHHlbrVky22_1f1ReX5wCyihUwT20rh22xBnfqQ HTTP/1.1
08:28:40:I1:OUT3:< HTTP/1.1 400 HTTP_BAD_REQUEST
08:28:40:E :OUT3:HTTP_BAD_REQUEST:
08:28:41:I1:OUT1:< HTTP/1.1 200 HTTP_OK
08:28:55:I3:Connecting to api.foldingathome.org:443
08:28:56:I1:OUT4:> PUT https://api.foldingathome.org/machine/eNyJfHHlbrVky22_1f1ReX5wCyihUwT20rh22xBnfqQ HTTP/1.1
08:28:56:I1:OUT4:< HTTP/1.1 400 HTTP_BAD_REQUEST
08:28:56:E :OUT4:HTTP_BAD_REQUEST:
08:29:19:I3:Connecting to api.foldingathome.org:443
08:29:19:I1:OUT6:> PUT https://api.foldingathome.org/machine/eNyJfHHlbrVky22_1f1ReX5wCyihUwT20rh22xBnfqQ HTTP/1.1
08:29:20:I1:OUT6:< HTTP/1.1 400 HTTP_BAD_REQUEST
08:29:20:E :OUT6:HTTP_BAD_REQUEST:
08:29:53:I3:Connecting to api.foldingathome.org:443
08:29:53:I1:OUT7:> PUT https://api.foldingathome.org/machine/eNyJfHHlbrVky22_1f1ReX5wCyihUwT20rh22xBnfqQ HTTP/1.1
08:29:54:I1:OUT7:< HTTP/1.1 400 HTTP_BAD_REQUEST
08:29:54:E :OUT7:HTTP_BAD_REQUEST:
08:30:44:I3:Connecting to api.foldingathome.org:443
08:30:44:I1:OUT8:> PUT https://api.foldingathome.org/machine/eNyJfHHlbrVky22_1f1ReX5wCyihUwT20rh22xBnfqQ HTTP/1.1
08:30:45:I1:OUT8:< HTTP/1.1 400 HTTP_BAD_REQUEST
08:30:45:E :OUT8:HTTP_BAD_REQUEST:
08:32:00:I3:Connecting to api.foldingathome.org:443
08:32:00:I1:OUT9:> PUT https://api.foldingathome.org/machine/eNyJfHHlbrVky22_1f1ReX5wCyihUwT20rh22xBnfqQ HTTP/1.1
08:32:01:I1:OUT9:< HTTP/1.1 400 HTTP_BAD_REQUEST
08:32:01:E :OUT9:HTTP_BAD_REQUEST:
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Wed Mar 06, 2024 8:37 am
by enroscado
Quick update: SOLVED
This machine is setup on an M2 Pro MacMini (8P cores / 12E cores) and was setup to use 8 cores.
The moment I changed cores to 6, it grabbed a WU and started folding in seconds!
Logs (which also include logs from my previous post):
Code: Select all
*********************** Log Started 2024-03-06T08:28:39Z ***********************
08:28:39:I1:*********************** Folding@home Client ***********************
08:28:39:I1: Version: 8.3.5
08:28:39:I1: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
08:28:39:I1: Org: foldingathome.org
08:28:39:I1: Copyright: 2023-2024, foldingathome.org
08:28:39:I1: Homepage: https://foldingathome.org/
08:28:39:I1: License: GPL-3.0-or-later
08:28:39:I1: URL: https://beta.foldingathome.org/
08:28:39:I1: Date: Feb 14 2024
08:28:39:I1: Time: 06:08:47
08:28:39:I1: Revision: 652c05f093c7d9542ec3d2effdfa693c80a77e8d
08:28:39:I1: Branch: master
08:28:39:I1: Compiler: GNU Apple LLVM 14.0.0 (clang-1400.0.29.202)
08:28:39:I1: Options: -std=c++17 -fsigned-char -stdlib=libc++ -O3 -funroll-loops -fno-pie
08:28:39:I1: -arch x86_64 -arch arm64 -mmacosx-version-min=10.13
08:28:39:I1: Platform: darwin 21.6.0
08:28:39:I1: Bits: 64
08:28:39:I1: Mode: Release
08:28:39:I1:****************************** CBang ******************************
08:28:39:I1: Version: 1.7.2
08:28:39:I1: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
08:28:39:I1: Org: Cauldron Development LLC
08:28:39:I1: Copyright: Cauldron Development LLC, 2003-2024
08:28:39:I1: Homepage: https://cauldrondevelopment.com/
08:28:39:I1: License: LGPL-2.1-or-later
08:28:39:I1: Date: Feb 14 2024
08:28:39:I1: Time: 05:51:04
08:28:39:I1: Revision: 8f6145ef68f2c46b23df4487130e8f7e4fc8c757
08:28:39:I1: Branch: master
08:28:39:I1: Compiler: GNU Apple LLVM 14.0.0 (clang-1400.0.29.202)
08:28:39:I1: Options: -std=c++17 -fsigned-char -stdlib=libc++ -O3 -funroll-loops -fno-pie
08:28:39:I1: -arch x86_64 -arch arm64 -mmacosx-version-min=10.13 -fPIC
08:28:39:I1: Platform: darwin 21.6.0
08:28:39:I1: Bits: 64
08:28:39:I1: Mode: Release
08:28:39:I1:***************************** System ******************************
08:28:39:I1: CPU: Apple M2 Pro
08:28:39:I1: CPU ID: Apple Family 8 Model 0 Stepping 0
08:28:39:I1: CPUs: 12
08:28:39:I1: Memory: 16.00GiB
08:28:39:I1:Free Memory: 575.00MiB
08:28:39:I1: OS Version: 14.2.1
08:28:39:I1:Has Battery: false
08:28:39:I1: On Battery: false
08:28:39:I1: Hostname: MacMini.local
08:28:39:I1: UTC Offset: 7
08:28:39:I1: PID: 42352
08:28:39:I1: CWD: /Library/Application Support/FAHClient
08:28:39:I1: Exec: /usr/local/bin/fah-client
08:28:39:I1:*******************************************************************
08:28:39:I2:<config/>
08:28:39:I1:Opening Database
08:28:39:I1:F@H ID = eNyJfHHlbrVky22_1f1ReX5wCyihUwT20rh22xBnfqQ
08:28:39:I3:Loading default group
08:28:39:I3:Loading default resource group
08:28:39:I1:Listening for HTTP on 127.0.0.1:7396
08:28:39:I3:Loaded 0 wus.
08:28:39:I3:Connecting to api.foldingathome.org:443
08:28:39:I1:OUT1:> GET https://api.foldingathome.org/gpus HTTP/1.1
08:28:39:I3:Connecting to api.foldingathome.org:443
08:28:40:I1:OUT3:> PUT https://api.foldingathome.org/machine/eNyJfHHlbrVky22_1f1ReX5wCyihUwT20rh22xBnfqQ HTTP/1.1
08:28:40:I1:OUT3:< HTTP/1.1 400 HTTP_BAD_REQUEST
08:28:40:E :OUT3:HTTP_BAD_REQUEST:
08:28:41:I1:OUT1:< HTTP/1.1 200 HTTP_OK
08:28:55:I3:Connecting to api.foldingathome.org:443
08:28:56:I1:OUT4:> PUT https://api.foldingathome.org/machine/eNyJfHHlbrVky22_1f1ReX5wCyihUwT20rh22xBnfqQ HTTP/1.1
08:28:56:I1:OUT4:< HTTP/1.1 400 HTTP_BAD_REQUEST
08:28:56:E :OUT4:HTTP_BAD_REQUEST:
08:29:19:I3:Connecting to api.foldingathome.org:443
08:29:19:I1:OUT6:> PUT https://api.foldingathome.org/machine/eNyJfHHlbrVky22_1f1ReX5wCyihUwT20rh22xBnfqQ HTTP/1.1
08:29:20:I1:OUT6:< HTTP/1.1 400 HTTP_BAD_REQUEST
08:29:20:E :OUT6:HTTP_BAD_REQUEST:
08:29:53:I3:Connecting to api.foldingathome.org:443
08:29:53:I1:OUT7:> PUT https://api.foldingathome.org/machine/eNyJfHHlbrVky22_1f1ReX5wCyihUwT20rh22xBnfqQ HTTP/1.1
08:29:54:I1:OUT7:< HTTP/1.1 400 HTTP_BAD_REQUEST
08:29:54:E :OUT7:HTTP_BAD_REQUEST:
08:30:44:I3:Connecting to api.foldingathome.org:443
08:30:44:I1:OUT8:> PUT https://api.foldingathome.org/machine/eNyJfHHlbrVky22_1f1ReX5wCyihUwT20rh22xBnfqQ HTTP/1.1
08:30:45:I1:OUT8:< HTTP/1.1 400 HTTP_BAD_REQUEST
08:30:45:E :OUT8:HTTP_BAD_REQUEST:
08:32:00:I3:Connecting to api.foldingathome.org:443
08:32:00:I1:OUT9:> PUT https://api.foldingathome.org/machine/eNyJfHHlbrVky22_1f1ReX5wCyihUwT20rh22xBnfqQ HTTP/1.1
08:32:01:I1:OUT9:< HTTP/1.1 400 HTTP_BAD_REQUEST
08:32:01:E :OUT9:HTTP_BAD_REQUEST:
08:33:23:I1:Default:Added new work unit: cpus:6 gpus:
08:33:23:I1:WU15:Requesting WU assignment for user Anonymous team 0
08:33:23:I3:Connecting to assign1.foldingathome.org:443
08:33:24:I1:OUT10:> POST https://assign1.foldingathome.org/api/assign HTTP/1.1
08:33:25:I1:OUT10:< HTTP/1.1 200 HTTP_OK
08:33:25:I1:WU15:Received WU assignment beYSAS2EW6jpEczVT4pGB4ET3vtE15Gb_vvucNPuuOE
08:33:25:I1:WU15:Downloading WU
08:33:26:I3:Connecting to vav23.fah.temple.edu:443
08:33:27:I1:OUT11:> POST https://vav23.fah.temple.edu/api/assign HTTP/1.1
08:33:29:I1:OUT11:< HTTP/1.1 200 HTTP_OK
08:33:29:I1:WU15:Received WU
08:33:29:I1:Loaded cores/fahcore-a8-osx-64bit-aarch64-0.0.12/FahCore_a8
08:33:29:I3:WU15:Running FahCore: "/Library/Application Support/FAHClient/cores/fahcore-a8-osx-64bit-aarch64-0.0.12/FahCore_a8" -dir beYSAS2EW6jpEczVT4pGB4ET3vtE15Gb_vvucNPuuOE -suffix 01 -version 8.3.5 -lifeline 42352 -np 6
08:33:29:I3:WU15:Started FahCore on PID 42425
08:33:29:I1:WU15:*********************** Log Started 2024-03-06T08:33:29Z ***********************
08:33:29:I1:WU15:************************** Gromacs Folding@home Core ***************************
08:33:29:I1:WU15: Core: Gromacs
08:33:29:I1:WU15: Type: 0xa8
08:33:29:I1:WU15: Version: 0.0.12
08:33:29:I1:WU15: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
08:33:29:I1:WU15: Copyright: 2020 foldingathome.org
08:33:29:I1:WU15: Homepage: https://foldingathome.org/
08:33:29:I1:WU15: Date: Jan 16 2021
08:33:29:I1:WU15: Time: 21:35:50
08:33:29:I1:WU15: Revision: c5816759c404e4b65f9f364c3d1ef554a67c4225
08:33:29:I1:WU15: Branch: master
08:33:29:I1:WU15: Compiler: GNU Apple LLVM 12.0.0 (clang-1200.0.32.28)
08:33:29:I1:WU15: Options: -faligned-new -std=c++14 -fsigned-char -stdlib=libc++ -O3
08:33:29:I1:WU15: -funroll-loops -fno-pie -mmacosx-version-min=11.0
08:33:29:I1:WU15: Platform: darwin 20.2.0
08:33:29:I1:WU15: Bits: 64
08:33:29:I1:WU15: Mode: Release
08:33:29:I1:WU15: SIMD: arm_neon_asimd
08:33:29:I1:WU15: OpenMP: ON
08:33:29:I1:WU15: CUDA: OFF
08:33:29:I1:WU15: Args: -dir beYSAS2EW6jpEczVT4pGB4ET3vtE15Gb_vvucNPuuOE -suffix 01
08:33:29:I1:WU15: -version 8.3.5 -lifeline 42352 -np 6
08:33:29:I1:WU15:************************************ libFAH ************************************
08:33:29:I1:WU15: Date: Jan 16 2021
08:33:29:I1:WU15: Time: 21:35:27
08:33:29:I1:WU15: Revision: c5816759c404e4b65f9f364c3d1ef554a67c4225
08:33:29:I1:WU15: Branch: master
08:33:29:I1:WU15: Compiler: GNU Apple LLVM 12.0.0 (clang-1200.0.32.28)
08:33:29:I1:WU15: Options: -faligned-new -std=c++14 -fsigned-char -stdlib=libc++ -O3
08:33:29:I1:WU15: -funroll-loops -fno-pie -mmacosx-version-min=11.0
08:33:29:I1:WU15: Platform: darwin 20.2.0
08:33:29:I1:WU15: Bits: 64
08:33:29:I1:WU15: Mode: Release
08:33:29:I1:WU15:************************************ CBang *************************************
08:33:29:I1:WU15: Date: Jan 16 2021
08:33:29:I1:WU15: Time: 21:35:02
08:33:29:I1:WU15: Revision: c5816759c404e4b65f9f364c3d1ef554a67c4225
08:33:29:I1:WU15: Branch: master
08:33:29:I1:WU15: Compiler: GNU Apple LLVM 12.0.0 (clang-1200.0.32.28)
08:33:29:I1:WU15: Options: -faligned-new -std=c++14 -fsigned-char -stdlib=libc++ -O3
08:33:29:I1:WU15: -funroll-loops -fno-pie -mmacosx-version-min=11.0 -fPIC
08:33:29:I1:WU15: Platform: darwin 20.2.0
08:33:29:I1:WU15: Bits: 64
08:33:29:I1:WU15: Mode: Release
08:33:29:I1:WU15:************************************ System ************************************
08:33:29:I1:WU15: CPU: Apple
08:33:29:I1:WU15: CPU ID: Apple Family 8 Model 0 Stepping 0
08:33:29:I1:WU15: CPUs: 12
08:33:29:I1:WU15: Memory: 16.00GiB
08:33:29:I1:WU15:Free Memory: 1.03GiB
08:33:29:I1:WU15: Threads: POSIX_THREADS
08:33:29:I1:WU15: OS Version: 14.2
08:33:29:I1:WU15:Has Battery: false
08:33:29:I1:WU15: On Battery: false
08:33:29:I1:WU15: UTC Offset: 7
08:33:29:I1:WU15: PID: 42425
08:33:29:I1:WU15: CWD: /Library/Application Support/FAHClient/work
08:33:29:I1:WU15:********************************************************************************
08:33:29:I1:WU15:Project: 18457 (Run 3, Clone 23, Gen 42)
08:33:29:I1:WU15:Unit: 0x00000000000000000000000000000000
08:33:29:I1:WU15:Reading tar file core.xml
08:33:29:I1:WU15:Reading tar file frame42.tpr
08:33:29:I1:WU15:Digital signatures verified
08:33:29:I1:WU15:Calling: mdrun -c frame42.gro -s frame42.tpr -x frame42.xtc -cpt 5 -nt 6 -ntmpi 1
08:33:29:I1:WU15:Steps: first=21000000 total=26000000
08:33:29:I1:WU15:Completed 1 out of 5000000 steps (0%)
08:33:54:I3:Connecting to api.foldingathome.org:443
08:33:54:I1:OUT12:> PUT https://api.foldingathome.org/machine/eNyJfHHlbrVky22_1f1ReX5wCyihUwT20rh22xBnfqQ HTTP/1.1
08:33:55:I1:OUT12:< HTTP/1.1 400 HTTP_BAD_REQUEST
08:33:55:E :OUT12:HTTP_BAD_REQUEST:
08:34:41:I1:WU15:Completed 50000 out of 5000000 steps (1%)
08:35:51:I1:WU15:Completed 100000 out of 5000000 steps (2%)
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Wed Mar 06, 2024 10:11 am
by calxalot
Well, it looks like the PUT to api.foldingathome.org/machine is still failing.
There is another topic for this.
viewtopic.php?t=41221
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Wed Mar 06, 2024 10:20 am
by calxalot
8 cores should have been fine on your M2 Pro.
Did you previously have user and team set?
I believe the client is supposed to stay paused until configured.
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Wed Mar 06, 2024 10:23 am
by calxalot
I see
Requesting WU assignment for user Anonymous team 0
There used to be a toggle for "Fold Anonymously", but it was removed.
I should probably look at the latest code.
Re: Mac OS fails to resolve api.foldingathome.org:443
Posted: Thu Mar 07, 2024 1:21 am
by enroscado
I see...
I hadn't realized about the "Anonymous" part... Strange, since the client is logged in on all my machines. See screenshots below.