HTTP_SERVICE_UNAVAILABLE
Moderators: Site Moderators, FAHC Science Team
-
- Posts: 5
- Joined: Wed Feb 12, 2025 2:20 am
- Hardware configuration: Raspberry Pi 5, 8GB, aluminum case, small external fan, all four cores.
- Location: Cadillac MI USA
- Contact:
HTTP_SERVICE_UNAVAILABLE
01:04:58:I1:WU352:Requesting WU assignment for user Anonymous team 0
01:04:58:I1:OUT22:> POST https://assign2.foldingathome.org/api/assign HTTP/1.1
01:04:58:I1:OUT22:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
01:04:58:E :OUT22:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
01:04:58:I1:WU352:Retry #20 in 8 mins 32 secs
This error msg repeats every 8 mins 32 secs.
I have no running WUs.
Can someone fix the server, pls?
The assign2 link above says: error "Key 'data' not found"
01:04:58:I1:OUT22:> POST https://assign2.foldingathome.org/api/assign HTTP/1.1
01:04:58:I1:OUT22:< HTTP/1.1 503 HTTP_SERVICE_UNAVAILABLE
01:04:58:E :OUT22:HTTP_SERVICE_UNAVAILABLE: {"error":"No appropriate assignment"}
01:04:58:I1:WU352:Retry #20 in 8 mins 32 secs
This error msg repeats every 8 mins 32 secs.
I have no running WUs.
Can someone fix the server, pls?
The assign2 link above says: error "Key 'data' not found"
-
- Site Admin
- Posts: 8127
- Joined: Tue Apr 21, 2009 4:41 pm
- Hardware configuration: Mac Studio M1 Max 32 GB smp6
Mac Hack i7-7700K 48 GB smp4 - Location: W. MA
Re: HTTP_SERVICE_UNAVAILABLE
The "No appropriate assignment" means there are no WUs available suitable for your system with the hardware available and client settings you have made. If this is your Raspberry Pi 5, that could mean that all of the WUs from the smaller projects are assigned or they are currently inactive.
-
- Posts: 5
- Joined: Wed Feb 12, 2025 2:20 am
- Hardware configuration: Raspberry Pi 5, 8GB, aluminum case, small external fan, all four cores.
- Location: Cadillac MI USA
- Contact:
Re: HTTP_SERVICE_UNAVAILABLE
OK. Thank you.
Re: HTTP_SERVICE_UNAVAILABLE
I hope it's OK me ju,ping on here rather than starting a new thread.
I've got the same issue in that I haven't received a WU for at least 7 days and I get the 'no appropriate assignment' message.
I'm running on a mac - are there no assignments available for mac hardware, or is something messed up in my settings?
Thanks
I've got the same issue in that I haven't received a WU for at least 7 days and I get the 'no appropriate assignment' message.
I'm running on a mac - are there no assignments available for mac hardware, or is something messed up in my settings?
Thanks
-
- Site Admin
- Posts: 8127
- Joined: Tue Apr 21, 2009 4:41 pm
- Hardware configuration: Mac Studio M1 Max 32 GB smp6
Mac Hack i7-7700K 48 GB smp4 - Location: W. MA
Re: HTTP_SERVICE_UNAVAILABLE
Well, it is not because you are running on a Mac, if that was the case I wouldn't be getting any WUs either. There is currently a 3 CPU thread minimum setting on most CPU projects though. So if your settings are for 2 threads, it is possible to not get any work at the current time.
If that is not the case, could you post the beginning section of your log file that shows the system setup and a section where a WU request is not filled.
If that is not the case, could you post the beginning section of your log file that shows the system setup and a section where a WU request is not filled.
Re: HTTP_SERVICE_UNAVAILABLE
Ah - bingo. I'm only running 2 cores. I'll take it up to 3 and see what happens.
Thanks
edit - straight away a WU starts up. I wish I'd known that sooner ...
Thanks
edit - straight away a WU starts up. I wish I'd known that sooner ...
Last edited by Paul_M on Thu May 29, 2025 5:17 pm, edited 1 time in total.
-
- Site Admin
- Posts: 8127
- Joined: Tue Apr 21, 2009 4:41 pm
- Hardware configuration: Mac Studio M1 Max 32 GB smp6
Mac Hack i7-7700K 48 GB smp4 - Location: W. MA
Re: HTTP_SERVICE_UNAVAILABLE
Hopefully that 3 thread minimum will go away at some point, it is a workaround for a problem that can show up with the v7 client. If the client is configured wrong it tries to load a CPU WU instead of a GPU WU.
-
- Site Moderator
- Posts: 6443
- Joined: Sun Dec 02, 2007 10:38 am
- Location: Bordeaux, France
- Contact:
Re: HTTP_SERVICE_UNAVAILABLE
No, the issue is with v8 default resource group that allow to mix GPU and CPU allocations. v7 client is perfectly fine as CPU and GPU slots are exclusive.
Re: HTTP_SERVICE_UNAVAILABLE
Why not allow <=2 threads if the client is making a request that doesn't indicate a GPU in the JSON sent to /api/assign? That would solve it for everyone who is doing CPU-only folding, which is probably almost everyone who wants to fold on so few threads anyway.
Example function (in Python) that would do this server-side:
Code: Select all
def should_assign(request: dict) -> bool:
resources = request['resources']
if resources['cpus']['cpu'] < 3:
for resource in resources.keys():
if resource.startswith('gpu'):
return False
return True
-
- Posts: 1745
- Joined: Sun Dec 16, 2007 6:22 pm
- Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX 550 640SP - Location: London
- Contact:
Re: HTTP_SERVICE_UNAVAILABLE
There are many ways of constraining the assignments. 99% of them are not simple and/or easyarisu wrote: ↑Fri May 30, 2025 1:10 amWhy not allow <=2 threads if the client is making a request that doesn't indicate a GPU in the JSON sent to /api/assign? That would solve it for everyone who is doing CPU-only folding, which is probably almost everyone who wants to fold on so few threads anyway.
Example function (in Python) that would do this server-side:
Code: Select all
def should_assign(request: dict) -> bool: resources = request['resources'] if resources['cpus']['cpu'] < 3: for resource in resources.keys(): if resource.startswith('gpu'): return False return True

Re: HTTP_SERVICE_UNAVAILABLE
That would fix it and would be simple though. Or is the server-side code too convoluted to make a change like that?
-
- Posts: 1745
- Joined: Sun Dec 16, 2007 6:22 pm
- Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX 550 640SP - Location: London
- Contact:
Re: HTTP_SERVICE_UNAVAILABLE
Server code is not us here, but the person who has too many responsibilities

-
- Posts: 5
- Joined: Wed Feb 12, 2025 2:20 am
- Hardware configuration: Raspberry Pi 5, 8GB, aluminum case, small external fan, all four cores.
- Location: Cadillac MI USA
- Contact:
Re: HTTP_SERVICE_UNAVAILABLE
I'm getting WUs again. I'm using all four cores.
Thanks.
Thanks.