Page 3 of 3

Re: V7.5.1 "Failed to read stream"

Posted: Mon Jun 11, 2018 8:05 pm
by jcoffland
Does it work if you disable all the slots, then enable one at a time?

Re: New FAH software stopped on core download

Posted: Mon Jun 18, 2018 12:08 am
by AshleyJ14
Not sure what happened, but the issue seems to be fixed. I also downloaded that new client in the browser. Thank you for all of your help!

Re: New FAH software stopped on core download

Posted: Mon Jun 18, 2018 1:55 am
by bruce
It would be very helpful if we can understand what happened.

You'll find the current log in the data directory and find a number of older logs in the 'cores' subdirectory. The only ones that matter are after the segment you posted above. The key words are "Downloading core from" followed by several other important messages.

Code: Select all

    *********************** Log Started 2018-06-10T18:02:27Z ***********************
...
    18:02:28:WU00:FS00:Downloading core from http://cores.foldingathome.org/Win32/AMD64/AVX/Core_a7.fah
    18:02:28:WU00:FS00:Connecting to cores.foldingathome.org:80
    18:02:28:WU01:FS01:Downloading core from http://cores.foldingathome.org/Win32/AMD64/NVIDIA/Fermi/Core_21.fah
    18:02:28:WU01:FS01:Connecting to cores.foldingathome.org:80
    18:03:28:ERROR:WU00:FS00:Exception: Failed to read stream
    18:03:28:WU02:FS02:Downloading core from http://cores.foldingathome.org/Win32/AMD64/NVIDIA/Fermi/Core_21.fah
    18:03:28:WU02:FS02:Connecting to cores.foldingathome.org:80
    18:03:28:ERROR:WU01:FS01:Exception: Failed to read stream
    18:03:28:WU00:FS00:Downloading core from http://cores.foldingathome.org/Win32/AMD64/AVX/Core_a7.fah
    18:03:28:WU00:FS00:Connecting to cores.foldingathome.org:80
    18:04:28:ERROR:WU02:FS02:Exception: Failed to read stream
    18:04:28:ERROR:WU00:FS00:Exception: Failed to read stream
    18:05:05:WU01:FS01:Downloading core from http://cores.foldingathome.org/Win32/AMD64/NVIDIA/Fermi/Core_21.fah
    18:05:05:WU01:FS01:Connecting to cores.foldingathome.org:80
    18:05:25:ERROR:WU01:FS01:Exception: Failed to read stream
    18:05:25:WU00:FS00:Downloading core from http://cores.foldingathome.org/Win32/AMD64/AVX/Core_a7.fah
    18:05:25:WU00:FS00:Connecting to cores.foldingathome.org:80
Please locate segments where cores failed to download (like these) or successfully downloaded (like this)

Code: Select all

20:46:08:WU01:FS00:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:8616 run:1189 clone:0 gen:51 core:0xa4 unit:0x000000360002894c57b79624c386090d
20:46:08:WU01:FS00:Downloading core from http://cores.foldingathome.org/Win32/AMD64/beta/Core_a4.fah
20:46:08:WU01:FS00:Connecting to cores.foldingathome.org:80
20:46:09:WU01:FS00:FahCore a4: Downloading 2.89MiB
20:46:10:WU01:FS00:FahCore a4: Download complete
20:46:10:WU01:FS00:Valid core signature
20:46:10:WU01:FS00:Unpacked 9.59MiB to cores/cores.foldingathome.org/Win32/AMD64/beta/Core_a4.fah/FahCore_a4.exe

Re: New FAH software stopped on core download

Posted: Tue Jun 26, 2018 12:55 am
by hcw
Similar issue here unfortunately. Have tried downgrading to 7.4.4 and that doesn't seem to work either. Tried numerous reinstalls.

Downloading the fah file via the browser works (though I am behind cisco cws proxy sometimes. Doesn't make a difference if i turn it off)
I can't open the client or right click it in the tray
The log usually stays stuck like this

I think i had this issue when I first upgraded to 7.5.1 but it eventually fixed itself but i dont recall what fixed it. It just seemed to magically work on day...

Code: Select all

00:30:59:<config>
00:30:59:  <!-- Folding Slots -->
00:30:59:  <slot id='0' type='CPU'/>
00:30:59:</config>
00:30:59:Connecting to assign-GPU.stanford.edu:80
00:31:01:WARNING:Attempting to update GPUs.txt from assign-GPU.stanford.edu:80: Failed to read stream
00:31:01:Connecting to assign-GPU2.stanford.edu:80
00:31:01:WARNING:Attempting to update GPUs.txt from assign-GPU2.stanford.edu:80: Failed to read stream
00:31:01:Trying to access database...
00:31:01:Successfully acquired database lock
00:31:01:Enabled folding slot 00: READY cpu:2
00:31:02:WU00:FS00:Downloading core from http://cores.foldingathome.org/Win32/AMD64/Core_a4.fah
00:31:02:WU00:FS00:Connecting to cores.foldingathome.org:80

Re: New FAH software stopped on core download

Posted: Tue Jun 26, 2018 1:38 pm
by Hagerstrom
I did the unthinkable and temporarily disabled Malwarebytes and everything loaded fine. Back to normal folding after a few days of trying everything suggested by this thread except the easiest.

I did add FAHclient.exe to the exceptions both in Malwarebytes and Windows Defender but it didn't work so I'll never know if Windows Defender was ever the problem but Malwarebytes certainly was.

The symptom was from the log:
"an established connection was aborted by the software in your host machine."

Caveat: Before disabling Malwarebytes this morning, I updated the Windows Defender and its definitions as well as Windows Updates. So much for a methodical approach to problem solving.

Why did it break in the first place? The night before it broke I uploaded Malwarebytes and Windows updates as well as NVIDIA driver updates.

Re: New FAH software stopped on core download

Posted: Tue Jun 26, 2018 2:23 pm
by bruce
Hagerstrom wrote:Why did it break in the first place? The night before it broke I uploaded Malwarebytes and Windows updates as well as NVIDIA driver updates.
Windows Defender and Malwarebytes (and other firewalls) use more than one methodology to protect you from specific types of threats. The feature which is often called "spyware protection" is designed to protect you from unauthorized connections which upload data (such as your Social Security Number) to evil sites. They generally add automatic exclusions for all the commonly used browsers so you'll never catch them interfering with your browsing. Unfortunately FAHClient.exe is not on their list so by default, they block FAHClient from uploading and/or downloading data. You have to add that exception yourself.

Some firewalls don't block such connections; others check the program name; others check the program's checksum or a software pattern. In the latter case, replacing FAHClient.exe Verson N with Version N+1 can require a new exception.

Re: New FAH software stopped on core download

Posted: Wed Jun 27, 2018 9:26 pm
by Hagerstrom
One of the Cores needed an update this morning but FAHClient/Control wasn't able to do it because Malwarebytes Real-time protection was enabled and even though I had added to the exclusion list:
Website: cores.foldingathome.org;
Application Web processes: FAHClient.exe; c:\ProgramFiles (X86)\FAHClient\: FAHClient.exe, FAHControl.exe, FAHCoreWrapper.exe. (All separate line entries, of course).

I disabled Malwarebytes again and restarted FAHClient and the core updated. I then reenabled Malwarebytes. Perhaps I am not properly defining the exclusions or I am missing something.

Separate issue is that FAHClient didn't auto-start on reboot (maybe misconfigured the last time I reinstalled FAHInstall 7.5.1. I have CPU and GPU slots.

Re: New FAH software stopped on core download

Posted: Wed Jun 27, 2018 9:31 pm
by bruce
I've seen other comments about auto-start not working. This may be an installer bug or some obscure change introduced by MS (If you're running Win10). (I never ran into it myself but all my installs of 7.5.1 were upgrades from intermediate versions.)

Re: New FAH software stopped on core download

Posted: Mon Jul 16, 2018 3:36 am
by bruce
This problem was reported to Malwarebytes and an Application update from Malwarebytes has resolved the issue!
PantherX wrote: I still have the exceptions so in case anyone else faces this issue, updating the application module will resolve it.
I have been using the Malwarebytes application and the F@H for more than a year. However, this month, it seems that Malwarebytes is
blocking the F@H application from downloading some important files which it requires to function correctly. I thought that I can create the exceptions which I did (attached is
the screenshot) but that didn't work. The only way I made it work was to quit Malwarebytes to allow it to download the component and then restarted Malwarebytes. Moreover, it
seems to be an issue that other people also encounter as seen above It would be great if this can be investigated and resolved ASAP :)

Attachment(s)
Exceptions.https://mwb.zendesk.com/attachments/tok ... UWdROMqjx/

Re: MalwareBytes

Posted: Mon Jul 16, 2018 8:58 pm
by jrweiss
I run MBAM v3.5.1 as well as Norton Security Suite v22.14.2.13, and have no explicit exclusions listed. F@H runs just fine.

I have to temporarily disable Norton when I upgrade the F@H client, because F@H does not pass Norton's 'enough users' test.

Re: New FAH software stopped on core download

Posted: Wed Jul 25, 2018 8:15 pm
by scott@bjorn3d
I had to use my phone as a hotpsot also to install new program. Strange.