FoldingAtHome / fah-client-bastet

Folding@home client, code named Bastet
GNU General Public License v3.0
74 stars 12 forks source link

"No appropriate assignment" error #259

Closed DevSecNinja closed 4 months ago

DevSecNinja commented 4 months ago

Hello,

I've recently migrated to v8 and I'm running version 8.3.18 (via the Linux Server docker image https://hub.docker.com/r/linuxserver/foldingathome). Since the beginning I keep getting the error HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"} which has been for several hours now. My log file doesn't tell me anything on why it can't pick up new orders.

Any idea what this could be?

Thanks.

Compose file

Can be found here: https://github.com/DevSecNinja/home/blob/main/docker/ansible/templates/compose-modules/folding-at-home.yml

Log file

13:00:07:I1: Version: 8.3.18
13:00:07:I1: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
13:00:07:I1: Org: foldingathome.org
13:00:07:I1: Copyright: 2023-2024, foldingathome.org
13:00:07:I1: Homepage: https://foldingathome.org/
13:00:07:I1: License: GPL-3.0-or-later
13:00:07:I1: URL: https://v8-3.foldingathome.org/
13:00:07:I1: Date: Jul 12 2024
13:00:07:I1: Time: 13:26:31
13:00:07:I1: Revision: 99ae953ee7b1c0b3070161cfcf9150184f76bd96
13:00:07:I1: Branch: master
13:00:07:I1: Compiler: GNU 8.3.0
13:00:07:I1: Options: -Wsuggest-override -faligned-new -std=c++17 -fsigned-char
13:00:07:I1: -ffunction-sections -fdata-sections -O3 -funroll-loops -fno-pie
13:00:07:I1: Platform: linux 4.19.0-26-cloud-amd64
13:00:07:I1: Bits: 64
13:00:07:I1: Mode: Release
13:00:07:I1: Args: --http-addresses 0.0.0.0:7396 --allow 0/0 --account-token
13:00:07:I1: <<my-token>> --machine-name
13:00:07:I1: ext.mydomain.com
13:00:07:I1:****************************** CBang ******************************
13:00:07:I1: Version: 1.7.2
13:00:07:I1: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
13:00:07:I1: Org: Cauldron Development
13:00:07:I1: Copyright: Cauldron Development, 2003-2024
13:00:07:I1: Homepage: https://cauldrondevelopment.com/
13:00:07:I1: License: LGPL-2.1-or-later
13:00:07:I1: Date: Jun 24 2024
13:00:07:I1: Time: 13:29:44
13:00:07:I1: Revision: 1b05ea96f0ed3043c32b78a66dbf50a9b2002289
13:00:07:I1: Branch: master
13:00:07:I1: Compiler: GNU 8.3.0
13:00:07:I1: Options: -Wsuggest-override -faligned-new -std=c++17 -fsigned-char
13:00:07:I1: -ffunction-sections -fdata-sections -O3 -funroll-loops -fno-pie
13:00:07:I1: -fPIC
13:00:07:I1: Platform: linux 4.19.0-26-cloud-amd64
13:00:07:I1: Bits: 64
13:00:07:I1: Mode: Release
13:00:07:I1:***************************** System ******************************
13:00:07:I1: CPU: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
13:00:07:I1: CPU ID: GenuineIntel Family 6 Model 106 Stepping 6
13:00:07:I1: CPUs: 2
13:00:07:I1: Memory: 3.79GiB
13:00:07:I1:Free Memory: 182.07MiB
13:00:07:I1: OS Version: 6.1
13:00:07:I1:Has Battery: false
13:00:07:I1: On Battery: false
13:00:07:I1: Hostname: <<myhostname>>
13:00:07:I1: UTC Offset: 2
13:00:07:I1: PID: 151
13:00:07:I1: CWD: /config
13:00:07:I1: Exec: /app/fah-client
13:00:07:I1:*******************************************************************
13:00:07:I2:<config/>
13:00:07:I1:Opening Database
13:00:07:I1:F@H ID = <<myId>>
13:00:07:I3:Loading default group
13:00:07:I3:Loading default resource group
13:00:07:I1:Listening for HTTP on 0.0.0.0:7396
13:00:07:I3:Loaded 0 wus.
13:00:07:W :OpenCL not supported: clGetPlatformIDs() returned -1001
13:00:07:W :CUDA not supported: Failed to open dynamic library 'libcuda.so': libcuda.so: cannot open shared object file: No such file or directory
13:00:07:I1:OUT1:> GET https://api.foldingathome.org/machine/<<myId>> HTTP/1.1
13:00:08:I1:OUT1:< HTTP/1.1 200 HTTP_OK
13:00:08:I1:OUT3:> GET wss://node1.foldingathome.org/ws/client HTTP/1.1
13:00:08:I1:OUT3:< HTTP/1.1 101 HTTP_SWITCHING_PROTOCOLS
13:00:08:I1:Logging into node account
13:00:28:I1:Default:Added new work unit: cpus:1 gpus:
13:00:28:I1:WU6:Requesting WU assignment for user Jean-paul team 999
13:00:28:I1:OUT4:> POST https://assign1.foldingathome.org/api/assign HTTP/1.1
13:00:28:I1:OUT4:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
13:00:28:E :OUT4:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
13:00:28:I1:WU6:Retry #1 in 2 secs
13:00:30:I1:WU6:Requesting WU assignment for user Jean-paul team 999
13:00:31:I1:OUT5:> POST https://assign2.foldingathome.org/api/assign HTTP/1.1
13:00:31:I1:OUT5:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
13:00:31:E :OUT5:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
13:00:31:I1:WU6:Retry #2 in 4 secs
13:00:35:I1:WU6:Requesting WU assignment for user Jean-paul team 999
13:00:35:I1:OUT6:> POST https://assign3.foldingathome.org/api/assign HTTP/1.1
13:00:36:I1:OUT6:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
13:00:36:E :OUT6:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
13:00:36:I1:WU6:Retry #3 in 8 secs
13:00:44:I1:WU6:Requesting WU assignment for user Jean-paul team 999
13:00:44:I1:OUT7:> POST https://assign4.foldingathome.org/api/assign HTTP/1.1
13:00:45:I1:OUT7:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
13:00:45:E :OUT7:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
13:00:45:I1:WU6:Retry #4 in 16 secs
13:01:01:I1:WU6:Requesting WU assignment for user Jean-paul team 999
13:01:01:I1:OUT8:> POST https://assign5.foldingathome.org/api/assign HTTP/1.1
13:01:01:I1:OUT8:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
13:01:01:E :OUT8:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
13:01:01:I1:WU6:Retry #5 in 32 secs
13:01:33:I1:WU6:Requesting WU assignment for user Jean-paul team 999
13:01:33:I1:OUT9:> POST https://assign6.foldingathome.org/api/assign HTTP/1.1
13:01:34:I1:OUT9:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
13:01:34:E :OUT9:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
13:01:34:I1:WU6:Retry #6 in 1 min 4 secs
13:02:38:I1:WU6:Requesting WU assignment for user Jean-paul team 999
13:02:38:I1:OUT10:> POST https://assign1.foldingathome.org/api/assign HTTP/1.1
13:02:39:I1:OUT10:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
13:02:39:E :OUT10:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
13:02:39:I1:WU6:Retry #7 in 2 mins 8 secs
13:04:47:I1:WU6:Requesting WU assignment for user Jean-paul team 999
13:04:47:I1:OUT11:> POST https://assign2.foldingathome.org/api/assign HTTP/1.1
13:04:47:I1:OUT11:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
13:04:47:E :OUT11:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
13:04:47:I1:WU6:Retry #8 in 4 mins 16 secs
13:09:03:I1:WU6:Requesting WU assignment for user Jean-paul team 999
13:09:04:I1:OUT12:> POST https://assign3.foldingathome.org/api/assign HTTP/1.1
13:09:04:I1:OUT12:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
13:09:04:E :OUT12:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
13:09:04:I1:WU6:Retry #9 in 8 mins 32 secs
13:17:36:I1:WU6:Requesting WU assignment for user Jean-paul team 999
13:17:36:I1:OUT13:> POST https://assign4.foldingathome.org/api/assign HTTP/1.1
13:17:37:I1:OUT13:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
13:17:37:E :OUT13:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
13:17:37:I1:WU6:Retry #10 in 8 mins 32 secs
13:26:09:I1:WU6:Requesting WU assignment for user Jean-paul team 999
13:26:09:I1:OUT14:> POST https://assign5.foldingathome.org/api/assign HTTP/1.1
13:26:10:I1:OUT14:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
13:26:10:E :OUT14:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
13:26:10:I1:WU6:Retry #11 in 8 mins 32 secs
13:34:42:I1:WU6:Requesting WU assignment for user Jean-paul team 999
13:34:42:I1:OUT15:> POST https://assign6.foldingathome.org/api/assign HTTP/1.1
13:34:42:I1:OUT15:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
13:34:42:E :OUT15:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
13:34:42:I1:WU6:Retry #12 in 8 mins 32 secs
13:43:14:I1:WU6:Requesting WU assignment for user Jean-paul team 999
13:43:14:I1:OUT16:> POST https://assign1.foldingathome.org/api/assign HTTP/1.1
13:43:15:I1:OUT16:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
13:43:15:E :OUT16:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
13:43:15:I1:WU6:Retry #13 in 8 mins 32 secs
13:51:47:I1:WU6:Requesting WU assignment for user Jean-paul team 999
13:51:47:I1:OUT17:> POST https://assign2.foldingathome.org/api/assign HTTP/1.1
13:51:48:I1:OUT17:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
13:51:48:E :OUT17:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
13:51:48:I1:WU6:Retry #14 in 8 mins 32 secs
14:00:20:I1:WU6:Requesting WU assignment for user Jean-paul team 999
14:00:20:I1:OUT18:> POST https://assign3.foldingathome.org/api/assign HTTP/1.1
14:00:20:I1:OUT18:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
14:00:20:E :OUT18:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
14:00:20:I1:WU6:Retry #15 in 8 mins 32 secs
14:08:52:I1:WU6:Requesting WU assignment for user Jean-paul team 999
14:08:52:I1:OUT19:> POST https://assign4.foldingathome.org/api/assign HTTP/1.1
14:08:53:I1:OUT19:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
14:08:53:E :OUT19:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
14:08:53:I1:WU6:Retry #16 in 8 mins 32 secs
14:17:25:I1:WU6:Requesting WU assignment for user Jean-paul team 999
14:17:25:I1:OUT20:> POST https://assign5.foldingathome.org/api/assign HTTP/1.1
14:17:26:I1:OUT20:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
14:17:26:E :OUT20:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
14:17:26:I1:WU6:Retry #17 in 8 mins 32 secs
14:25:58:I1:WU6:Requesting WU assignment for user Jean-paul team 999
14:25:58:I1:OUT21:> POST https://assign6.foldingathome.org/api/assign HTTP/1.1
14:25:58:I1:OUT21:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
14:25:58:E :OUT21:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
14:25:58:I1:WU6:Retry #18 in 8 mins 32 secs
14:34:30:I1:WU6:Requesting WU assignment for user Jean-paul team 999
14:34:31:I1:OUT22:> POST https://assign1.foldingathome.org/api/assign HTTP/1.1
14:34:31:I1:OUT22:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
14:34:31:E :OUT22:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
14:34:31:I1:WU6:Retry #19 in 8 mins 32 secs
14:43:03:I1:WU6:Requesting WU assignment for user Jean-paul team 999
14:43:03:I1:OUT23:> POST https://assign2.foldingathome.org/api/assign HTTP/1.1
14:43:04:I1:OUT23:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
14:43:04:E :OUT23:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
14:43:04:I1:WU6:Retry #20 in 8 mins 32 secs
14:51:36:I1:WU6:Requesting WU assignment for user Jean-paul team 999
14:51:36:I1:OUT24:> POST https://assign3.foldingathome.org/api/assign HTTP/1.1
14:51:37:I1:OUT24:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
14:51:37:E :OUT24:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
14:51:37:I1:WU6:Retry #21 in 8 mins 32 secs
15:00:09:I1:WU6:Requesting WU assignment for user Jean-paul team 999
15:00:09:I1:OUT25:> POST https://assign4.foldingathome.org/api/assign HTTP/1.1
15:00:09:I1:OUT25:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
15:00:09:E :OUT25:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
15:00:09:I1:WU6:Retry #22 in 8 mins 32 secs
15:08:41:I1:WU6:Requesting WU assignment for user Jean-paul team 999
15:08:41:I1:OUT26:> POST https://assign5.foldingathome.org/api/assign HTTP/1.1
15:08:42:I1:OUT26:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
15:08:42:E :OUT26:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
15:08:42:I1:WU6:Retry #23 in 8 mins 32 secs
15:17:14:I1:WU6:Requesting WU assignment for user Jean-paul team 999
15:17:14:I1:OUT27:> POST https://assign6.foldingathome.org/api/assign HTTP/1.1
15:17:15:I1:OUT27:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
15:17:15:E :OUT27:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
15:17:15:I1:WU6:Retry #24 in 8 mins 32 secs
15:25:47:I1:WU6:Requesting WU assignment for user Jean-paul team 999
15:25:47:I1:OUT28:> POST https://assign1.foldingathome.org/api/assign HTTP/1.1
15:25:47:I1:OUT28:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
15:25:47:E :OUT28:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
15:25:47:I1:WU6:Retry #25 in 8 mins 32 secs
15:34:19:I1:WU6:Requesting WU assignment for user Jean-paul team 999
15:34:19:I1:OUT29:> POST https://assign2.foldingathome.org/api/assign HTTP/1.1
15:34:20:I1:OUT29:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
15:34:20:E :OUT29:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
15:34:20:I1:WU6:Retry #26 in 8 mins 32 secs
15:42:52:I1:WU6:Requesting WU assignment for user Jean-paul team 999
15:42:52:I1:OUT30:> POST https://assign3.foldingathome.org/api/assign HTTP/1.1
15:42:53:I1:OUT30:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
15:42:53:E :OUT30:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
15:42:53:I1:WU6:Retry #27 in 8 mins 32 secs
15:51:25:I1:WU6:Requesting WU assignment for user Jean-paul team 999
15:51:25:I1:OUT31:> POST https://assign4.foldingathome.org/api/assign HTTP/1.1
15:51:25:I1:OUT31:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
15:51:25:E :OUT31:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
15:51:25:I1:WU6:Retry #28 in 8 mins 32 secs
15:59:57:I1:WU6:Requesting WU assignment for user Jean-paul team 999
15:59:58:I1:OUT32:> POST https://assign5.foldingathome.org/api/assign HTTP/1.1
15:59:58:I1:OUT32:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
15:59:58:E :OUT32:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
15:59:58:I1:WU6:Retry #29 in 8 mins 32 secs
16:08:30:I1:WU6:Requesting WU assignment for user Jean-paul team 999
16:08:30:I1:OUT33:> POST https://assign6.foldingathome.org/api/assign HTTP/1.1
16:08:31:I1:OUT33:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
16:08:31:E :OUT33:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
16:08:31:I1:WU6:Retry #30 in 8 mins 32 secs
jcoffland commented 4 months ago

Your client is configured for 1 CPU with no GPUs. There are not a lot of WUs available for single CPUs. Have you tried adjusting the machine settings?

Your CPU (Xeon(R) Platinum 8370C CPU) is supposed to have 32 cores and 64-threads but only 2 CPUs are detected. Are you running in a VM?

DevSecNinja commented 4 months ago

I'm running in a (cloud) VM indeed. I have assigned two cores now but unfortunately still get the same error.

kbernhagen commented 4 months ago

There is a shortage of work for less than 4 cores.

See https://foldingforum.org/viewtopic.php?t=41716

jcoffland commented 4 months ago

Should be resolved now.

DevSecNinja commented 4 months ago

Ah that makes sense. Would it be possible to make the error message a bit more descriptive for future users who run into this? Something that refers to the suggestion to increase the cores and maybe a page were users can check if there is remaining work? Thanks.

jcoffland commented 4 months ago

There are many other reasons why the client might not get an assignment.