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

Block detected on certain videos #1662

Open
2 of 3 tasks
ivanst02 opened this issue Dec 25, 2024 · 10 comments
Open
2 of 3 tasks

Block detected on certain videos #1662

ivanst02 opened this issue Dec 25, 2024 · 10 comments
Labels
Bug Something isn't working Youtube

Comments

@ivanst02
Copy link

ivanst02 commented Dec 25, 2024

What happened?

On certain videos, constantly getting:
Using IOS sources fallback (cached) -> Block detected attempting fallback -> Media Error The media source encountered an unauthorized error...

Tried reinstalling the plugin, but it did not help. Fidgeted with the plugin options also, no change (Youtube activity, logout, etc.).

Android 14

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?

No

Relevant log output

51085fbe-7532-4086-b823-978cb47a3a23

@ivanst02 ivanst02 added the Bug Something isn't working label Dec 25, 2024
@abster95
Copy link

I have similar issues. I noticed that when I'm on wifi it immediately triggers the "block detected", but on mobile data I can usually get the forst chunk of the video to play and then it triggers block detected around 1 minute and enters reset loop

@max-ishere
Copy link

Getting this, but differently. The first video might load fine but everything after that gets a block detected attempting bypass error on the 1:00 minute mark for all videos, even the ones that played just fine. It fixes itself after some time but breaks after a couple videos. I can't tell how long it takes for it to work again, but its not something that fixes itself on app restart.

@Zvonimir-FUTO
Copy link
Collaborator

Related to #1610 and #1596

@Epzillon
Copy link

Adding some more information here. This ONLY happens when I am connected to a VPN, regardless of VPN settings or GrayJay settings. I have also tried activating the "Force Experimental UMP Streams" setting, but that seems to cause other issues no matter whether I use the VPN or not (still unable to play YouTube videos that is).

Curiously I reside in Sweden and use Mullvad VPN (based in Sweden) and am connected to a server which is also in Sweden. I have tried enabling and disabling certain VPN settings (Multihop, DAITA [with and without Direct Hop] and DNS content blockers) but none seems to make a difference.

Simply being connected to a VPN seems to cause videos to not play for more than 59 seconds.

@jonasvn77
Copy link

I experience the same issue with videos stopping exactly at 1.00 mins after I have watched the first. Today I managed to watch some kind of live stream for several hours, so I thought it was ok again... But now same problem occurs- cant connect to channel or something, is the error message.
Seems like yourtube are able to cut the connection in a new way that Grayjay cant handle...

I know I don't sound especially competent but Ive used Grayjay several hours daily for a long period, but never earlier have I experienced a problem I couldn't fix only using logic, basic knowledge and tips like switching on/off ' and of course reading relevant info provided when installing directly from the source (not Play)...
But now I have tried everything ...
Seems

@pearcebasmanm
Copy link

This occurs for me also (when my vpn is on), but I thought it worth noting that the behavior does not occur on the new Grayjay Desktop application, even with the same vpn enabled. Perhaps the desktop app is doing something different, which would be worth looking into.

@Epzillon
Copy link

Epzillon commented Jan 2, 2025

That is interesting, for Grayjay Desktop I can still only play 1 minute with my VPN Connected. Interestingly I could not use Split Tunneling to accept the GrayJay executable to bypass the VPN, this just made anything refuse to load, even thumbnails. Unsure why that happens. I do believe my initial comment should have maybe been put on #1610 instead however as this seems more relevant.

@JordyScript
Copy link

On desktop I get the following error

image

Reloading doesn't fix the problem, because it still stops the video from loading beyond the first minute.

On mobile I get

Using login fallback to resolve : Sign in to prove you are not a bot

and

Failed to get iOS stream using UMP fallback instead

After that I cannot watch for more than one minute again.

All of these findings are the same both with and without mullvad VPN on

@max-ishere
Copy link

Got this crash, this time it was on the 47th second

Version information (version_name = 278, version_code = 278, flavor = stable, build_type = release)
Device information (brand= google, manufacturer = Google, device = oriole, version-sdk = 35, version-os = )

(e, ExceptionActivity, 2025-01-04 22:54:35): Uncaught exception ("Unknown Context"): [Youtube] Failed to request page [408] (414)[3-4]

com.futo.platformplayer.engine.exceptions.ScriptException: [Youtube] Failed to request page [408] (414)[3-4]
	at com.futo.platformplayer.constructs.BatchedTaskHandler$execute$1$task$1.invokeSuspend(BatchedTaskHandler.kt:62)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@308892, Dispatchers.IO]
Caused by: com.caoccao.javet.exceptions.JavetExecutionException: Error: Failed to request page [408]
	at com.caoccao.javet.interop.V8Native.scriptExecute(Native Method)
	at com.caoccao.javet.interop.V8Runtime.execute(V8Runtime.java:928)
	at com.caoccao.javet.interop.executors.V8StringExecutor.execute(V8StringExecutor.java:107)
	at com.caoccao.javet.interop.IV8Executable.execute(IV8Executable.java:44)
	at com.futo.platformplayer.engine.V8Plugin$executeTyped$2.invoke(V8Plugin.kt:220)
	at com.futo.platformplayer.engine.V8Plugin$executeTyped$2.invoke(V8Plugin.kt:219)
	at com.futo.platformplayer.engine.V8Plugin$Companion.catchScriptErrors(V8Plugin.kt:294)
	at com.futo.platformplayer.engine.V8Plugin.catchScriptErrors(V8Plugin.kt:269)
	at com.futo.platformplayer.engine.V8Plugin.executeTyped(V8Plugin.kt:219)
	at com.futo.platformplayer.api.media.platforms.js.JSClient$getContentDetails$1.invoke(JSClient.kt:520)
	at com.futo.platformplayer.api.media.platforms.js.JSClient$getContentDetails$1.invoke(JSClient.kt:517)
	at com.futo.platformplayer.api.media.platforms.js.JSClient.isBusyWith(JSClient.kt:733)
	at com.futo.platformplayer.api.media.platforms.js.JSClient.getContentDetails(JSClient.kt:517)
	at com.futo.platformplayer.states.StatePlatform$_batchTaskGetVideoDetails$1.invokeSuspend(StatePlatform.kt:117)
	at com.futo.platformplayer.states.StatePlatform$_batchTaskGetVideoDetails$1.invoke(Unknown Source:8)
	at com.futo.platformplayer.states.StatePlatform$_batchTaskGetVideoDetails$1.invoke(Unknown Source:4)
	at com.futo.platformplayer.constructs.BatchedTaskHandler$execute$1$task$1.invokeSuspend(BatchedTaskHandler.kt:55)
	... 6 more

@Epzillon
Copy link

Epzillon commented Jan 5, 2025

@JordyScript, I get the same thing on GrayJay Desktop, I opened an issue on the Desktop repo: futo-org/Grayjay.Desktop#258

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Youtube
Projects
None yet
Development

No branches or pull requests

10 participants