Skip to main content
amuda
Staff
Staff
March 26, 2024

Technical Tip: Slow or failed to load a video in YouTube

  • March 26, 2024
  • 0 replies
  • 1933 views
Description This article describes one of the possible reasons why video or web pages are slow or fail to load.
Scope FortiGate.
Solution
  • Slow/failed to load a video/YouTube page:

 

amuda_0-1711946894644.jpeg

 

  • Debug flow shows that traffic for this source IP address has exceeded the shaper limit and is being dropped:

 

diagnose debug flow filter saddr 10.80.4.191

diagnose debug console timestamp enable

diagnose debug flow show iprope enable

diagnose debug flow show function-name enable

diagnose debug flow trace start 100

diagnose debug enable

 

 To stop the debug, run the following commands:

     

diagnose debug disable
diagnose debug reset

 

amuda_1-1711946894652.jpeg

 

  • Additionally, check session list for any possible drops:

 

diagnose system session filter src x.x.x.x

diagnose system session list

 

ts1.png

 

  • Further, check on the Traffic Shaper configuration. There is one policy enabled (Shaper-A):

 

amuda_2-1711946894658.jpeg

 

  • The shared shaper used shows that the max bandwidth allowed is 20 kbps as shown (20kbps has been used for demonstration purposes of this knowledge article):

 

amuda_3-1711946894664.jpeg

 

There are two options to rectify the issue:

  • Option 1: Increase the maximum bandwidth allowed.
  • Option 2: Disable traffic shaper.

 

With option 1:

  • Changed the 'Bandwidth unit' to Mbps and increase the 'Maximum bandwidth' allowed (this depends on bandwidth capacity available) as shown:

 

amuda_4-1711946894667.jpeg

 

  • The video can load properly:

 

amuda_5-1711946894671.jpeg

 

  • No more dropped bytes observed:

 

amuda_6-1711946894677.jpeg
   
Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!