FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

slows and pauses when vpn enabled, work fine when vpn disabled

Open pbwn opened this issue 5 years ago • 17 comments

using ubuntu 18.04. Basially can't use freetube when my vpn (open vpn) is enabled, the stream freezes incessantly. If i disable the vpn then the issue disappears. Thanks for the app!

pbwn avatar Oct 06 '21 19:10 pbwn

If you disable the VPN and it works fine, but it doesn't work with the VPN enabled, it's likely the VPN and the speed of the connection via that VPN. I would recommend using the UDP protocol instead of the TCP protocol, if you are using TCP. I am not sure of the VPN provider you are using, but you could try changing servers to a server that is closer to your actual location or try using a server that isn't under a heavy load, if your VPN provider has that capability.

TheNightRider12 avatar Oct 07 '21 18:10 TheNightRider12

I use ProtonVPN (which uses OpenVPN) with UDP and also have constant buffering. It's annoying to the point where I stopped using the client and watch videos on Invidious instances.

7echLife avatar Oct 08 '21 02:10 7echLife

@p-m-brown @7echLife Have you tried lowering the video quality in FreeTube and seeing if that fixes the issue? If yes, it sounds like a performance issue with your VPN or computer. Could you also check that your computer isn't sitting near 100% cpu or ram usage in the task manager.

absidue avatar Oct 08 '21 08:10 absidue

@absidue I tried lowering the video quality, it doesnt fix the issue except for auto. I can't watch videos anymore because of quality. I never had this problem until like a week ago. Proton and my computer can handle FreeTube. my CPU usage is always at 100 because it's old but at the same time it can run programs really well.

7echLife avatar Oct 08 '21 13:10 7echLife

@7echLife I would try using WireGuard (I use ProtonVPN as well) and see if that works better for you. I have used it more often, such as right now, and I am having very little issues in terms of buffering. Worth a shot.

TheNightRider12 avatar Oct 08 '21 16:10 TheNightRider12

@DesignatedJM02 WireGuard is unstable for me. I can barely get good download and upload speeds compared to OpenVPN. WireGuard is not a solution for me.

7echLife avatar Oct 08 '21 16:10 7echLife

Also have this issue. Did speedtest with VPN connected - getting 50 up and 49 down. With VPN connected, youtube works fine and does not stop every couple seconds to buffer.

Could be coincidence - but seems like if I close Freetube then re-open, it'll run fine for several minutes before the constant buffering recommences.

Publius1788 avatar Oct 08 '21 17:10 Publius1788

@DesignatedJM02 my download speed is 300 with the vpn enabled. I experimenated with different locations and it didn't remedy the problem @absidue I checked the CPU and it looks okay thanks for the replies. I'm using freetube with vpn disabled for now

pbwn avatar Oct 08 '21 18:10 pbwn

When the video pauses is it just the video or the whole app? Are the symptoms similar to the ones in #1066 ?

absidue avatar Oct 08 '21 18:10 absidue

For me it's the videos.

7echLife avatar Oct 08 '21 19:10 7echLife

just the video, it hangs. If i click back and then select the video again it will resume from where it paused, but will likely hang again some minutes later. As someone else said: quitting the app and then restarting solves the problem for a while longer

pbwn avatar Oct 08 '21 19:10 pbwn

I have the same issue (Windows 10, 64 Bit) however I can say that it depends on the protocol being used for the VPN. If I use Wireguard the video hangs constantly and only plays a second or 2 at a time before having to wait for several seconds. If I use IKEv2 there are no issues, haven't tested other protocols.

Mnky313 avatar Oct 09 '21 00:10 Mnky313

I have a similar issue on Linux (Wireguard). YouTube in the browser works fine

Atrate avatar Oct 09 '21 13:10 Atrate

The same here.

g3dil avatar Oct 09 '21 21:10 g3dil

Could be coincidence - but seems like if I close Freetube then re-open, it'll run fine for several minutes before the constant buffering recommences.

Same here, but having to reopen the app 2 times to watch a 10minute video is getting a bit annoying. Doesn't have anything to do with the connection or the VPN connection as my 2 twitch streams are running fine on top of the same video playing on youtube. But playing it on Freetube, will 100% of the time result in the video loading 10 minutes for 1 more minute of watchtime (and this without anything opened other than Freetube) I will open a "real" issue so devs actually look into it

maplepy avatar Oct 11 '21 05:10 maplepy

Please guys follow the discussion on the issue I opened, so devs can see additional information quicker

maplepy avatar Oct 11 '21 05:10 maplepy

I'll be closing this issue in favor of #1810 because u failed to provide all the information through the template