Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Video Buffering Problems

Hey everyone,

I have been having some serious problems watching the tutorial videos ever since I subscribed last week. I talked to technical support a couple times and I have gone through everything to try and alleviate the problem, but to no avail. Here is what I have tried:

  • Tried Chrome, Firefox, and Safari
  • Opened an Incognito window in Chrome
  • Switched from HTML5 playback to Flash playback
  • Deactivated all of my browser extensions

Can anyone help?

Thanks.

17 Answers

I'm having the same issue. I can't seem to find a way to solve it though.

Yeah. Bummer. I think it is a server-side issue. I think I read somewhere that it may be a CDN problem.

@Scott - Here's the post about the CDN issue, that I found using the (totally awesome) new forum search feature.


Try using narrowing down if it's an issue with:

  • Your computer
  • Your Internet Connection
  • Treehouse's CDN

To see if it's your computer, try watching Treehouse videos from a different device

If you see the issue with any device using your home Internet Connection, try watching Treehouse videos from using a different Internet connection.

If you notice the issue only from your home internet connection, you can check out your latency, jitter & bandwidth.

Use these tools, and post the results here

  • pingtest.net
  • speedtest.net

If you notice this issue only during certain times (such as the evening) and on any network, it sounds like a CDN issue.

One way to work around CDN issues is to download videos and watch them offline (as opposed to streaming them online)

My internet speed results:

I also just tried watching a video on my iPhone and I am having the same issues there.

@Scott - When you tested with your iPhone was that via Wifi or via 3G?

WIFI

@Scott -

Try watching Treehouse videos on your iPhone via 3G, as that's a different network from your home Internet connection so that can exclude it as the source of the issue.

Hmm...That's interesting. The video buffered just fine on the 3G. All other streaming video on the web works just fine on my WIFI. I wonder why Team Treehouse videos struggle buffering.

Could it be a firewall issue?

@Scott -

Could it be a firewall issue?

You read my mind.

When I read the email notification that, you didn't see the issue on 3G, my first thought was a firewall-related issue.


I'd suggest you update Treehouse's technical support team about what we've checked on here and ask their thoughts about how to troubleshoot a possible firewall issue.

I sent them our conversation and they preposed that it may be an issue with the Amazon CDN in my region. Bummer.

@Scott - This is a shot in the dark but Treehouse appears to use Amazon's Cloudfront service.

These people also use Cloudfront and they make a note of stating that UDP port 1935 needs to be open so video streaming from Cloudfront will work.


Standard Disclamer on Internet Forum Advice

:warning: I don't work for Treehouse and screwing up your firewall setting can break things, if you do break things unfortunately you are on your own.

I just opened up that port on my router and you know what, that may have been the solution. Everything seems to be streaming just fine now. Hopefully this is a consistent solution. I will stay in touch.

@Scott -

I will stay in touch.

Please do, as I've become quite curious if that change will resolve the issue. It could help out some people here on the forum.

I thought opening UDP port 1935 was the solution but it seems to be a much deeper issue. I have been testing the video buffer speed ever since last night and everything was running great until right now. It is about 5:00pm local time where I am and the buffering issues seem to have resurfaced. This leads me to believe that the CDN struggles at certain times of the day, perhaps the evening in United States timezones. Any suggestions?

I'm guessing you had 2 issues, the firewall issue which affects people (like you) who had strict firewall rules and were blocking UDP/1935 and the CDN issue which seems to affect a several Treehouse users during the evening in the US.

One possible solution is to use a VPN service with end point outside the United States which you could use in the evenings.

Since CDNs work by serving data from a server closest to your geographical location and those servers are heavy loaded during peak usage time, so using a CDN servers that are end point outside of the peak usage area might be a work around.

Sounds good James. I will look into setting up a VPN.