When I try to start YouTube sometimes it shows 'Please connect to the internet' after loading the page. Every other site I have tried works perfectly. :
To try to solve this, I have tried to change the MTU on the router settings. Sometimes it works, sometimes it doesn't for all values.
for example when the MTU is set to 1490 and YouTube is not loading I change it to 1500 and it starts working sometimes and then again it stops working, so when I change it back to 1490 it starts working again sometimes. I have contacted my ISP. They say it's a problem with my router, but this doesn't happen with my router when set up with a different network. This happens only for one particular laptop, and all the other devices are working fine.
When I ping www.youtube.com everything seems to be fine.
This is what I get when I try to use yt-dlp to download a video.


