Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't cast YouTube videos with FCast while one device is using a VPN #1656

Open
1 of 3 tasks
Blackilykat opened this issue Dec 24, 2024 · 3 comments
Open
1 of 3 tasks
Labels
Bug Something isn't working

Comments

@Blackilykat
Copy link

What happened?

Whenever I try to cast a YouTube video, it just shows Source error → Response Code: 403 at the bottom of the screen. However if I stop casting the video plays just fine on my phone.
The problem does not happen on Nebula videos (the only other source I tried)

I'm using a VPN on my phone but not on my TV.

Grayjay Version

278

What plugins are you seeing the problem on?

Youtube

Plugin Version

219

When do you experience the issue?

  • While logged in
  • While logged out
  • N/A

Are you using a VPN?

Yes

Relevant log output

No response

@Blackilykat Blackilykat added the Bug Something isn't working label Dec 24, 2024
@codebymatter
Copy link

Yeah I had this problem happen to me going as far as Feb 2024. I have a tablet and Fire Stick with Fcast installed.

While your device with Grayjay installed is on a VPN, with your TV not. My phone is not on VPN but my tablet is. Fire Stick is not on VPN.

I can connect to Fire Stick just fine. On tablet, Grayjay would take a while to connect and would encounter an error. It is then that I decided to see if excluding Fcast frim VPN would work as the infirmation on Fcast showed mismatching IP with my actual IP. (Thats because of the VPN; it assigned an IP address based on region selected from VPN). Abd alas I am able to watch on my tablet.

tldr: both devices have to be on the same network and region in order to pair successfully. You'd have to setup a LAN proxy and update your TVs wi-fi settings to include proxy address. Or if you have a streaming atick that aupports APKs, install yadayada VPN and go from there.

@Blackilykat
Copy link
Author

That's confusing. I would assume the connection to YouTube is made only on the phone and that the devices are only communicating through the local network (which would be excluded from my VPN anyways since they're private IPs). If my assumption is right I don't see how a VPN would affect anything.
I'll look deeper into it.

@Blackilykat
Copy link
Author

Well it didn't take much looking to see my assumptions were wrong. It seems like the phone is actually only communicating the url where the tv would load the video. And clearly youtube expects the requests to come from the same IP address.
image

@Blackilykat Blackilykat changed the title Can't cast YouTube videos with FCast Can't cast YouTube videos with FCast while one device is using VPN Dec 26, 2024
@Blackilykat Blackilykat changed the title Can't cast YouTube videos with FCast while one device is using VPN Can't cast YouTube videos with FCast while one device is using a VPN Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants