Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

impbob36's avatar

A network error has caused the media download to fail part-way

I've been having problems accessing some of the site videos. Some will fail while others start for 4-5 seconds then fail.

Specifically, Whip Monstrous Code Into Shape: Consider Policies Whip Monstrous Code Into Shape: Consider Decorating Testing Laravel: Bug Fixing Workflow

There have been others too but sometimes they sort themselves out. The above episodes fail for me at home and at work.

Is anyone else having this problem?

I've never had an issue before. The only changes on my end are updates to Chrome and becoming a member. Of-course Laracasts was recently updated so perhaps the issue is there?

0 likes
30 replies
phpMick's avatar

I have been watching Incremental APIs half an hour ago and it was fine.

Been watching other stuff, every day this week, without a problem.

Mick

bobbybouwmann's avatar

Works on my machine

The console shows some errors, but it doesn't seem blocking for the video to me... I bet it's the update from chrome though!

impbob36's avatar

dang ... something on my end then

No problems downloading so I guess I can't complain too much :)

Thanks for the quick feedback

impbob36's avatar

OK ... destroyed chrome profile, removed chrome, rebooted, update chrome to v55.0.2883.87 m (64-bit) ...

... and no luck. Gonna try a fresh profile next

Jaytee's avatar

I have also been getting this on older series like "Build a project flyer with me" and i also believe the "monstrous code" series too.

eric_z_eisberg's avatar

I'm seeing this too, with various videos in lots of different subjects. Once it happens, the video seems to permanently inaccessible.

EDIT: It appears to be a problem with Chrome. These videos are accessible via Firefox.

impbob36's avatar

I'm on Win10 x64. Is everyone else with an issue on a Windows system?

mikemenard's avatar

I have the same problem on Chrome sometime. When it append I use Safari and it work. I have a screenshot if needed.

luckyguy73's avatar

happens to me in chrome specifically project flyer. sometimes i can watch it if i delete session/cookies etc and keep reloading

cybernizer's avatar

I'm having the same issue in Chrome, but it's not with all videos. I could be watching a video and then when the next one starts I get:

A network error caused the media download to fail part-way.

I see the following errors in the console:

GET https://11-lvl3-pdl.vimeocdn.com/01/928/6/154643482/478033907.mp4?expires=1482522121&token=0a1551536995bdc176479 412 (Precondition Failed)
VIDEOJS: ERROR: (CODE:2 MEDIA_ERR_NETWORK) A network error caused the media download to fail part-way.
Jaytee's avatar

Just to add on to my comment as i think it'll help:

I was on Chrome on macOS Sierra.

codydbentley's avatar

I recently registered and I am also having this issue on quite a number of videos, in various playlists.

Chrome Version 55.0.2883.87 m

Win 10 Pro x64

pmurphy's avatar

Currently, I can only watch 1 video out of 25. Sometimes, the video will not play, sometimes I get the first second or 2. Refreshing the page usually do not help but sometimes, after 20+ refresh, I am allowed to watch some (2-3) videos. This is hell.

Win 10 Home x64 55.0.2883.87 (Official Build) m (32-bit)

pixeleffect's avatar

Also getting this on most I try to watch which makes my new years resolution kind of difficult

par6912's avatar

it is working fine on Firefox on my machine but on Chrome it randomly fails sometimes. I have to keep refreshing until it works. I'm guessing it has something to do with cloudflare? I'm using Windows 10 Pro x64 55.0.2883.87 m

leanwebstart's avatar

Same here... Jeffrey is aware of it...

Something fishy with Chrome... Works fine in Safari... so I just switch to safari when watching Laracast for now... lol

I have been looking at it a little... quite a brain teaser...

impbob36's avatar

@leanwebstar, good to hear Jeffery is aware of it. Seems like there is something funky going on with Chrome and the provider.

Wonder if he'll do a debugging video on this issue, would be interesting to watch ... ;)

1 like
carbonturtle's avatar

I have had this problem intermittently, also in Chrome (55.0.2883.95, 64-bit). It seems like it tends to happen when I go to a video's page and leave it for a while (hours) before playing it (or if I pause in the middle of a video and leave it for a while, then come back and try to back up a few seconds). I noticed the error "412 - Precondition Failed" that looked like it came from the Vimeo CDN.

I'm guessing a likely candidate for a "failed precondition" might be an expired access token or something like that. Also, I tend to hop from network to network - don't know if that might have something to do with it.

Anyway, I was able to get videos working again by opening the Developer Tools > Application tab > Clear Storage > Clear Site Data. After I signed back in, the video worked fine.

Hope this helps.

msek's avatar

Tried 3 browsers. Win10 here. Random videos fail on each browser. Pleeease fix it Jeffrey...

Also, I tried to write longer message few minutes ago, and was greeted with "Oops, looks like something went wrong..." :)

chords's avatar

Happens with some frequency for me.

bionary's avatar

Happens 100% of the time on my windows 7 machine running chrome & once in a while on my OSX chrome & safari. Once it does happens it typically happens repeatedly from there after.

I've noticed it occurs most often when fast forwarding past the buffered zone.

The reason this sucks big time is none of the videos have "notes" or "sample code" so I like many have to stop, rewind, fast-forward constantly to see what @JeffreyWay is typing because he moves at the speed of light.

cristo's avatar

I can confirm this. Been getting this error for the past 2 if not 3 weeks on Chrome. I switched to Edge, it seemed to work fine until today - same error in the console: Fled to load resource: the server responded with a status of 504 (Gateway Time-out). I cleared all my cache, restarted, reinstalled Chrome resetting all accounts and settings - no results.

Jeff, man, c'mon, we're trying to learn here! When is this issue going to be addressed please?

luckyguy73's avatar

it fails for me in chrome, but works fine without any issue in firefox, so i just use firefox to watch the videos

jjgallow's avatar

So I've found a solution to this that works for me, although it may not be ideal for everyone, and my issues have been limited to the "seek" feature when used in chrome.

I've ran the MP4 through ffmpeg with the following switch: -pix_fmt yuv420p

And then, the thing seems to play correctly in chrome. I realize this isn't a fantastic fix for everyone, but would be interesting to verify it with others to, at very least, identify the actual problem.

impbob36's avatar

Re-installed Win10 this morning to fix another issue. Installed a fresh copy of latest Chrome (59) and tried to view latest episodes of "Let's Build A Forum with Laravel and TDD" (51 + 52)

If I'm unlucky, the spinning loader icon displays indefinately ( well, 3:38min is the longest I waited). If I'm lucky, the video with play a couple of minutes before the dreaded message comes back ("A network error has caused the media download to fail part-way")

Please or to participate in this conversation.