Page 1 of 1

cannot connect

Posted: Mon Jan 15, 2024 1:13 pm
by nthth
I can access via a web browser but for some reason fah can't. Help?

Code: Select all

*********************** Log Started 2024-01-15T12:53:55Z ***********************
12:53:55:I1:*********************** Folding@home Client ***********************
12:53:55:I1: Version: 8.1.18
12:53:55:I1: Author: Joseph Coffland
12:53:55:I1: Org: foldingathome.org
12:53:55:I1: Copyright: 2023 foldingathome.org
12:53:55:I1: Homepage: https://foldingathome.org/
12:53:55:I1: License: https://www.gnu.org/licenses/gpl-3.0.txt
12:53:55:I1: Date: Apr 18 2023
12:53:55:I1: Time: 12:09:09
12:53:55:I1: Revision: 80a3d5eb8f60f7833de2954087682958b511895c
12:53:55:I1: Branch: master
12:53:55:I1: Compiler: GNU 10.2.1 20210110
12:53:55:I1: Options: -faligned-new -std=c++17 -fsigned-char -ffunction-sections
12:53:55:I1: -fdata-sections -O3 -funroll-loops -fno-pie
12:53:55:I1: Platform: linux 5.10.0-16-cloud-amd64
12:53:55:I1: Bits: 64
12:53:55:I1: Mode: Release
12:53:55:I1: Args: --log=/var/log/fah-client/log.txt
12:53:55:I1: --log-rotate-dir=/var/log/fah-client/
12:53:55:I1: Config: /var/lib/fah-client/config.xml
12:53:55:I1:****************************** CBang ******************************
12:53:55:I1: Version: 1.7.2
12:53:55:I1: Author: Joseph Coffland
12:53:55:I1: Org: Cauldron Development LLC
12:53:55:I1: Copyright: Cauldron Development LLC, 2003-2023
12:53:55:I1: Homepage: https://cauldrondevelopment.com/
12:53:55:I1: License: GPL 2+
12:53:55:I1: Date: Apr 14 2023
12:53:55:I1: Time: 16:26:30
12:53:55:I1: Revision: ac8bbdd5bb93c01679a881f5962fed800bf29e58
12:53:55:I1: Branch: master
12:53:55:I1: Compiler: GNU 10.2.1 20210110
12:53:55:I1: Options: -faligned-new -std=c++17 -fsigned-char -ffunction-sections
12:53:55:I1: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
12:53:55:I1: Platform: linux 5.10.0-16-cloud-amd64
12:53:55:I1: Bits: 64
12:53:55:I1: Mode: Release
12:53:55:I1:***************************** System ******************************
12:53:55:I1: CPU: AMD Ryzen 5 5600X 6-Core Processor
12:53:55:I1: CPU ID: AuthenticAMD Family 25 Model 33 Stepping 0
12:53:55:I1: CPUs: 12
12:53:55:I1: Memory: 15.54GiB
12:53:55:I1:Free Memory: 14.85GiB
12:53:55:I1: Threads: POSIX_THREADS
12:53:55:I1: OS Version: 5.15
12:53:55:I1:Has Battery: false
12:53:55:I1: On Battery: false
12:53:55:I1: UTC Offset: 0
12:53:55:I1: PID: 1097
12:53:55:I1: CWD: /var/lib/fah-client
12:53:55:I1: Exec: /usr/bin/fah-client
12:53:55:I1:*******************************************************************
12:53:55:I2:
12:53:55:I2:
12:53:55:I2:
12:53:55:I2:
12:53:55:I2:
12:53:55:I2:
12:53:55:I2:
12:53:55:I2:
12:53:55:I2:
12:53:55:I2:
12:53:55:I2:
12:53:55:I2:
12:53:55:I1:Opening Database
12:53:55:I1:Listening for HTTP on 127.0.0.1:7396
12:53:55:I3:id = ahqFsaaGvNg6yI7m0eOZepb08vRMHYzTKfiXMalSb6Q=
12:53:55:I3:Loaded 0 wus.
12:53:55:E :Exception: Not a Boolean
12:53:55:I1:OUT1:> GET https://api.foldingathome.org/gpus HTTP/1.1
12:53:55:E :Exception: Could not get IP address for api.foldingathome.org: Temporary failure in name resolution
12:54:43:E :Exception: Not a Boolean
12:57:00:E :Exception: Not a Boolean
12:57:40:E :Exception: Not a Boolean
13:03:01:E :Exception: Not a Boolean
13:03:03:E :Exception: Not a Boolean
13:03:04:E :Exception: Not a Boolean
13:03:20:E :Exception: Not a Boolean
13:03:43:I1:CON3:< 127.0.0.1:59312 PUT /api/session?_=0.4293905138103019 HTTP/1.1
13:03:43:W :REQ3:127.0.0.1:59312:Access denied by Origin
13:03:43:I1:REQ3:> HTTP/1.1 401 HTTP_UNAUTHORIZED
13:04:39:I1:CON4:< 127.0.0.1:40246 GET / HTTP/1.1
13:04:39:I1:REQ4:> HTTP/1.1 404 HTTP_NOT_FOUND
13:04:49:E :Exception: Not a Boolean

Re: cannot connect

Posted: Mon Jan 15, 2024 8:40 pm
by calxalot
Have you modified config.xml ?

The not a Boolean exceptions are unusual.

Access denied by origin could be a server CORS configuration issue.

Re: cannot connect

Posted: Mon Jan 15, 2024 8:43 pm
by calxalot
Oh, I see a temporary DNS failure with the client trying to resolve api.foldingathome.org

You could try restarting the client.

Re: cannot connect

Posted: Sun Jan 28, 2024 5:03 pm
by bourbonbelly
Did your issue ever resolve / did you find a solution? I'm getting the same connection issue except for without the "Exception: Not a Boolean" message, but with the "Not Found" message.

Re: cannot connect

Posted: Sun Jan 28, 2024 11:41 pm
by nthth
bourbonbelly wrote: Sun Jan 28, 2024 5:03 pm Did your issue ever resolve / did you find a solution? I'm getting the same connection issue except for without the "Exception: Not a Boolean" message, but with the "Not Found" message.
Assuming you're are on linux, it seemed to be fixed by stopping the service fah-client and manually running it in the terminal. Although it will need it on every restart so it's not ideal.