ISP or CDN issue with latest v1.0.52 files - Z117 at line 601 in Patcher.cpp?

Hi @Ken_Page_Valhalla_Ra welcome to Zwift forums.

You may have some old files still gumming up the works. A complete uninstall / reinstall might help. There’s a way to do that without losing your personal best data and custom workouts. Instructions are here.

Would you try that and report back please? We’d like to know that solved it for you.

Error Z117
Still running into the same problem!

Still no luck. Same error message

image001.png

Hi @Ken_Page_Valhalla_Ra

I noticed that you are already in an email conversation with my Support colleagues. For one-on-one assistance, it’s best to continue via email. We’ll want to see the launcher logs stored on your computer to see what’s happening. Please follow the instructions that you were sent via email and we can help you figure it out!

2 Likes

Still the same problem for me too. Done a complete remove of everything and a new install and getting z117 at 602 problem. Really frustrating now. Having to use my mobile which is so small I can’t really do a great deal. Also only connects my smart turbo, no cadence or hr.
Please find a fix to this support.

Given the two reports of continued z117 errors and no reports confirming it’s fixed, we’re digging further into this bug and keeping this incident open.

In the meantime, let’s reiterate the workaround for Windows users:

  1. Once you see the z117 error (wait for this step to run its course)
  2. Open Windows Explorer and go to the Downloads\Zwift folder, which looks like this:
  3. Copy everything in that folder
  4. Paste everything to the C:\Program Files (x86)\Zwift folder
3 Likes

Hi, followed those steps to no avail. Still not working. Zwift, please find the issue and release a proper fix asap. This looks like it’s been going on for a while now.

Edit:
I tried several more times, restarting my computer every time in between, and after about the third time it worked. Completely random. I have now lost 2 hours of my day. There has to be a better way than that.

I have also tried again after the new update - still not working with same error. I then tried a a complete re-install and that has also failed.
Zwift Support, please continue working on this error and release a proper fix very soon - long term customer here and ipad does not provide the same experience.

1 Like

I’m having the same issue. When trying to install I get the following error code:

Error Code: Z117 at line 602 in Patcher.cpp

Turned off my Anti-Virus. Don’t have a google docs, Drop Box, or One Drive. I’ve uninstalled and reinstalled Zwift. Deleted all Zwift files under documents. Run as Administrator by right clicking Zwift Icon. None of these solve the problem. Very frustrating to be ready to work out and spend an hour troubleshooting with no success and apparently little to no support.

3 Likes

I was able to solve the Error Code: Z117 at line 602 in Patcher.cpp issue for the 12/30/2021 update.

Based on one of the recommendations above, I tethered my computer to my phone for the update. It loaded the 12/30/2021 update without the Z117 error. Hope this helps to troubleshoot the actual problem.

I started getting the Error Code Z117 at line 602 (not 601) yesterday. I tried uninstalling and re-installing with no success.

I’m getting it on both my laptops. This morning I tried copying the files from the Zwift folder in my downloads folder to my Program (x86)\ Zwift folder. I had two different outcomes.

  1. Lenovo ThinkPad- Windows 10 (my work laptop): no change, continuing to get the Z117 issue.
  2. Surface Pro 7- Windows 11 (my personal laptop): the error message “C:\Program Files (x86)\Zwift\blink2w64.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact you system administrator or the software vendor for support. Error status 0xc0000020”

Update on 2. I tried deleting the blink2w64 file, but then got the error code when trying to run Zwift “The code execution cannot proceed because blink2w64.dll was not found. Reinstalling the program may fix this problem.” Not that it made my Zwift work, but I re-added the Blink2w64 file from my downloads folder.

@shooji more logs for this problem (I started this topic) . . . Again the Zwift updater successfully downloads many files, but has a checksum issue with one, in this instance, “performance-workout-one [1024x360].jpg”, I have had it previously with different files.

What is with the negative checksum values (see log sections quoted below)?

Setup:

  • Windows10 PC (tried with previous or empty \Documents\Zwift folder prior to updating, same error)
  • Zwift Launcher: 1.0.52
  • Zwift Game: 1.0.100133

Same error:

Update Failed during patching. Error Code: Z117 at line 602 in Patcher.cpp

Relevant log sections below; I will try to trace the updater at my home firewall level to see if I can spot anything. Otherwise it is back to the dumb tether to mobile phone work-around.

[7:34:32 2022-01-02] Patcher: Kicking download of missing local files from server…

Then (NOTE: Other files download okay before and after the file with the checksum issue):

7:34:49 2022-01-02] Downloader: “data\Noesis\Blend_Data\Images\Routes\card_route_watopia_roadtosky_1024.jpg” downloaded successfully (local checksum=977320293, manifest checksum=977320293).
[7:34:49 2022-01-02] Downloader: “data\Noesis\Blend_Data\Images\Workouts\performance\performance-workout-one [1024x360].jpg” downloaded successfully (local checksum=2102473855, manifest checksum=-1614552998).
[7:34:49 2022-01-02]
Downloader: ERROR: “data\Noesis\Blend_Data\Images\Workouts\performance\performance-workout-one [1024x360].jpg” completed download successfully, but failed the file length test (manifest=283917, written=3995)!

[7:34:49 2022-01-02]
Downloader: ERROR: “data\Noesis\Blend_Data\Images\Workouts\performance\performance-workout-one [1024x360].jpg” completed download successfully, but failed the file checksum test (manifest=-1614552998, local=2102473855)!

[7:34:49 2022-01-02]
Downloader: WARNING: “data\Noesis\Blend_Data\Images\Workouts\performance\performance-workout-one [1024x360].jpg” failed to download with code: 0!

[7:34:49 2022-01-02] Downloader: Attempting to try again downloading “data\Noesis\Blend_Data\Images\Workouts\performance\performance-workout-one [1024x360].jpg”
[7:34:50 2022-01-02] Downloader: “data\Noesis\Blend_Data\Images\Workouts\fit_and_fun\fit-and-fun-workout-one[128x45].png” downloaded successfully (local checksum=-1165842173, manifest checksum=-1165842173).
[7:34:50 2022-01-02] Downloader: “data\Noesis\Blend_Data\Images\Routes\card_route_watopia_oceanlavacliffsideloop_1024.jpg” downloaded successfully (local checksum=1230045727, manifest checksum=1230045727).

Another checksum fail:

[7:34:52 2022-01-02] Downloader: “data\Noesis\Blend_Data\Images\Workouts\performance\performance-workout-one [1024x360].jpg” downloaded successfully (local checksum=-1986470127, manifest checksum=-1614552998).
[7:34:52 2022-01-02]
Downloader: ERROR: “data\Noesis\Blend_Data\Images\Workouts\performance\performance-workout-one [1024x360].jpg” completed download successfully, but failed the file length test (manifest=283917, written=3995)!

[7:34:52 2022-01-02]
Downloader: ERROR: “data\Noesis\Blend_Data\Images\Workouts\performance\performance-workout-one [1024x360].jpg” completed download successfully, but failed the file checksum test (manifest=-1614552998, local=-1986470127)!

[7:34:52 2022-01-02]
Downloader: WARNING: “data\Noesis\Blend_Data\Images\Workouts\performance\performance-workout-one [1024x360].jpg” failed to download with code: 0!

[7:34:52 2022-01-02] Downloader: Attempting to try again downloading “data\Noesis\Blend_Data\Images\Workouts\performance\performance-workout-one [1024x360].jpg”
[7:34:53 2022-01-02] Downloader: “data\UI\WhiteOrangeTheme\JerseyIcons\GarminTacxC32021_thumb.ztx” downloaded successfully (local checksum=-552781718, manifest checksum=-552781718).
[7:34:53 2022-01-02] Downloader: “data\UI\WhiteOrangeTheme\JerseyIcons\ZRacingC_thumb.ztx” downloaded successfully (local checksum=1299316055, manifest checksum=1299316055).

Finishing with this and throwing the error:

[7:35:01 2022-01-02] Downloader: Attempting to try again downloading “data\Noesis\Blend_Data\Images\Workouts\performance\performance-workout-one [1024x360].jpg”
[7:35:02 2022-01-02] Downloader: “data\Noesis\Blend_Data\Images\Workouts\performance\performance-workout-one [1024x360].jpg” downloaded successfully (local checksum=-1269912225, manifest checksum=-1614552998).
[7:35:02 2022-01-02]
Downloader: ERROR: “data\Noesis\Blend_Data\Images\Workouts\performance\performance-workout-one [1024x360].jpg” completed download successfully, but failed the file length test (manifest=283917, written=3995)!

[7:35:02 2022-01-02]
Downloader: ERROR: “data\Noesis\Blend_Data\Images\Workouts\performance\performance-workout-one [1024x360].jpg” completed download successfully, but failed the file checksum test (manifest=-1614552998, local=-1269912225)!

[7:35:02 2022-01-02]
Downloader: ERROR: “data\Noesis\Blend_Data\Images\Workouts\performance\performance-workout-one [1024x360].jpg” failed to download with code: 0!

[7:35:02 2022-01-02] Patcher: ERROR #Z112, FILE “Patcher.cpp”, LINE 602: Failed to download needed server files for update! (Last: “ZwiftApp.exe”)
[7:35:02 2022-01-02] Launcher: Update Failed. Retry attempt 1 of 3[7:35:03 2022-01-02] Launcher: DoUpdateCheck() Called.
[7:35:03 2022-01-02] Launcher: ZwiftApp.exe is not running.

[Edit…
@shooj please read this - IMPORTANT UPDATE - WORKAROUND for CDN DOWNLOAD ISSUE, but not a solution for most Zwift users:

I disabled the “Web Proxy Filter” feature that scans HTTP requests on my firewall (I work in IT) and no longer get the Z117 error and Zwift game has updates to 1.0.100278.

My diagnosis is that your Cloudfront CDN is sometimes returning content in a way (‘chunked encoding’?) that the Zwift user’s firewall, proxy, security client etc. does not like and it is being blocked. This is causing the truncated file download and thus the checksum error

Search up this from fastvue, which may be relevant: “How To Solve “13 The Data Is Invalid” Error in Forefront TMG” which suggests:

This error occurs when the destination Web Server is using Chunked Encoding but it is not passing the correct TransferEnconding header.

I am fortunate to work in IT, so can update my home network to workaround this apparent Cloudfront issue. Zwift needs to please work with Cloudfront to resolve, as many of your customers will not be able to.
/Edit]

Original reply:
@shooj hope these firewall logs help. I see the Zwift launcher making lots of successful HTTP connections, then a mal-formed one, which I am assuming relates to the checksum file download issue.

I am trying to add firewall logs to this reply but your annoying forum says I cannot include links, so have had to re-format some of the log content below, you can still see the issue.

Firewall logs: Successful file downloads are made, then this:

Failed Connection Attempt 02/01/2022 08:26:40
Log type: Web Proxy (Forward)
Status: 13 The data is invalid.
Rule:
Source: ( x.x.x.131:0) ← This is the IP of my Zwift PC
Destination: (server-13-227-172-3.lhr52.r.cloudfront net 13.227.172.3:80)
Request:
Filter information: Req ID: 0c256a23
> Protocol:
User: anonymous
Additional information
Client agent:
Object source: Processing time: 0
Cache info: 0x0 MIME type:

Later on a successful connection:

Allowed Connection 02/01/2022 08:26:52
Log type: Web Proxy (Forward)
> Status: 200 OK
Rule: Web Access Only
Source: Internal ( x.x.x.131:0)
Destination: External NIC (server-13-227-172-3.lhr52.r.cloudfront net 13.227.172.3:80)
Request: GET [13.227.172.3] gameassets / Zwift_Updates_Root / Launcher_ver_cur.xml
Filter information: Req ID: 0c256a4f
> Protocol: http
User: anonymous
Additional information
Client agent:
Object source: Internet Processing time: 47
Cache info: 0x58800000 MIME type:

Later on the firewall session with the invalid request times-out:

Failed Connection Attempt 02/01/2022 08:28:51
Log type: Web Proxy (Forward)
> Status: 1460 This operation returned because the timeout period expired.
Rule: Web Access Only
Source: Internal ( x.x.x.131:0)
Destination: External NIC (server-13-227-172-3.lhr52.r.cloudfront net 13.227.172.3:80)
Request: GET [13.227.172.3] gameassets / Zwift_Updates_Root / Zwift_1.0.100278_e38ad30c / assets / Noesis / Blend_Data / noesis.wad
Filter information: Req ID: 0c256a17
Protocol: http
User: anonymous
Additional information
Client agent:
Object source: Internet Processing time: 131766
Cache info: 0x58800000 MIME type:

4 Likes

UPDATE: I just restarted for the umpteenth time, and it suddenly started working! Whew :slight_smile: (this was after numerous other attempts including repeatedly running the file as an administrator, deleting/reinstalling/restarting several times, canceling onedrive sync, and transferring the files from the Zwift file in downloads to the Zwift file in C:\Program Files)

I’ve spent hours trying all the workarounds that I have found, including this one, and am continuing to get the same error :frowning: I don’t know what to do anymore. It seems to be working on my ipad mini, but that is not ideal, and I am not sure if I will encounter problems with my Garmin as I have not used it with my ipad before. (Bike is in the shop so I can’t try that yet.)

I took @James_ames_SGMums advice and tried on a different internet and it worked! I was on holidays when the update was rolled out, had issue on both my work and personal computer. I got home from holidays today excited to try my home wifi reading James post and no problems!

#GiveJamesAJobOffer

1 Like

It’s only a work around if you dont use Vodaphone for household internet and mobile.

Hi there,
it looks like a “firewall” problem.
As James said, i disabled my HTTP filtering (throught a WatchGuard firewall) and it worked for me.
I don’t have so much time to investigate but it worked :wink:
(Its the same as using an alternative wan access, like using your mobile phone data connection).

Regarding the Z117 and Z112 errors which occur after this log line:

Downloader: ERROR: “data\Noesis\Blend_Data\Images\Workouts\performance\performance-workout-one [1024x360].jpg” failed to download with code: 0!

Looks like this is a known issue and is currently being worked on. I don’t have an exact timeframe, but from what I know, the fix should be released pretty soon.

2 Likes

Erm, no it doesn’t. I have never had an update/download issue on either of my laptop’s (Windows 10) until 1.20

Now I get Z117 patching line 602 etc, so perhaps the fix in 1.20 for some created a problem for others.

Switching to try a mobile network won’t work for me as that is all I use, no landline available here. So is it Zwift, Vodafone or me?

Uninstall/reinstall, copying files across etc not working.

I’ll keep reading and trying various work arounds … though that’s not really acceptable for a paid service.

Maybe there is more further down the thread.

This worked for me in the end (Windows 10):

Uninstall Zwift
Search for ‘Zwift’ on the C:\ drive and delete absolutely every file you can find, including program files, documents, downloads, roaming data… This was the key element for me, just deleting folders from documents or downloads wasn’t enough.
Restart the pc
Follow the guide on resetting the Zwift Launcher
Run Zwiftsetup.exe as administrator