Page 1 of 1

Client behavior that should be fixed

Posted: Thu Apr 16, 2020 5:38 am
by iceman1992
I noticed something of an unexpected behavior that really should be fixed, if not for the 7.6 version, then the v8 client.
The client was unable to get a WU, and was waiting a few minutes before retrying, then I changed my mind and decided I didn't want it to fold at that moment, so I paused the client and exited fahcontrol. Later on I found out that it actually kept trying to download a WU even though I already paused the client - and successfully got one in the end after a few more tries, and it's been sitting there paused, without me knowing about it. This should be fixed

Re: Client behavior that should be fixed

Posted: Thu Apr 16, 2020 6:50 am
by PantherX
That's weird, can you please post your log? I know that if I pause my slot and it is attempting to download WUs, it will stop and not do anything.

Re: Client behavior that should be fixed

Posted: Thu Apr 16, 2020 6:57 am
by iceman1992
Sure, here it is

Code: Select all

05:30:42:WARNING:WU00:FS01:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration
05:30:42:WU00:FS01:Connecting to 18.218.241.186:80
05:30:43:WU00:FS01:Assigned to work server 140.163.4.231
05:30:43:WU00:FS01:Requesting new work unit for slot 01: READY gpu:0:TU116 [GeForce GTX 1660] from 140.163.4.231
05:30:43:WU00:FS01:Connecting to 140.163.4.231:8080
05:30:45:FS01:Paused
05:31:18:WU00:FS01:Downloading 7.92MiB
05:31:24:WU00:FS01:Download 18.14%
05:31:30:WU00:FS01:Download 42.60%

Re: Client behavior that should be fixed

Posted: Thu Apr 16, 2020 7:10 am
by Joe_H
It looks like your Pause managed to be a couple seconds after the client had already made contact with the WS. It may take a major change to the client to avoid that situation, the pause did stop the folding slot, but the download was already in progress. As far as I know, that is not affected by a Pause.

Re: Client behavior that should be fixed

Posted: Thu Apr 16, 2020 7:21 am
by PantherX
That's an interesting case where pause doesn't kill the download. I have raised an issue here for you to track: https://github.com/FoldingAtHome/fah-issues/issues/1375