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

[STOP CREATING DUPLICATES] Cannot decrypt video URL error on every video #3951

Closed
jdramirez165 opened this issue Jul 27, 2020 · 46 comments · Fixed by cyw026/NewPipeExtractor#3
Labels
ASAP Issue needs to be fixed as soon as possible youtube Service, https://www.youtube.com/

Comments

@jdramirez165
Copy link

jdramirez165 commented Jul 27, 2020

ytdl-org/youtube-dl#26135

Only comment new info in this thread

Exception

Crash log

org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor$DecryptException: Could not parse decrypt function 
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.loadDecryptionCode(YoutubeStreamExtractor.java:786)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.onFetchPage(YoutubeStreamExtractor.java:670)
	at org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:56)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:68)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:64)
	at org.schabi.newpipe.util.ExtractorHelper.lambda$getStreamInfo$3(ExtractorHelper.java:116)
	at org.schabi.newpipe.util.-$$Lambda$ExtractorHelper$5fJcha6Sq5APJBLdG6osaJby-mc.call(Unknown Source:4)
	at io.reactivex.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:44)
	at io.reactivex.Single.subscribe(Single.java:3666)
	at io.reactivex.internal.operators.single.SingleDoOnSuccess.subscribeActual(SingleDoOnSuccess.java:35)
	at io.reactivex.Single.subscribe(Single.java:3666)
	at io.reactivex.internal.operators.maybe.MaybeFromSingle.subscribeActual(MaybeFromSingle.java:41)
	at io.reactivex.Maybe.subscribe(Maybe.java:4290)
	at io.reactivex.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.drain(MaybeConcatArray.java:153)
	at io.reactivex.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.request(MaybeConcatArray.java:78)
	at io.reactivex.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onSubscribe(FlowableElementAtMaybe.java:66)
	at io.reactivex.internal.operators.maybe.MaybeConcatArray.subscribeActual(MaybeConcatArray.java:42)
	at io.reactivex.Flowable.subscribe(Flowable.java:14935)
	at io.reactivex.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(FlowableElementAtMaybe.java:36)
	at io.reactivex.Maybe.subscribe(Maybe.java:4290)
	at io.reactivex.internal.operators.maybe.MaybeToSingle.subscribeActual(MaybeToSingle.java:46)
	at io.reactivex.Single.subscribe(Single.java:3666)
	at io.reactivex.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
	at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:578)
	at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
	at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:919)
Caused by: org.schabi.newpipe.extractor.utils.Parser$RegexException: failed to find pattern ";([A-Za-z0-9_\$]{2})\...\( inside of var iea=function(a){a=a.split("");var b=[-1215677809,null,-1744521562,833462946,694270393,function(c,d){d=(d%c.length+c.length)%c.length;c.splice(d,1)};"
	at org.schabi.newpipe.extractor.utils.Parser.matchGroup(Parser.java:74)
	at org.schabi.newpipe.extractor.utils.Parser.matchGroup(Parser.java:61)
	at org.schabi.newpipe.extractor.utils.Parser.matchGroup1(Parser.java:52)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.loadDecryptionCode(YoutubeStreamExtractor.java:773)
	... 30 more


@jdramirez165 jdramirez165 changed the title Cannot play any videos as of July 28, 2020 Cannot decrypt video URL error on every video Jul 27, 2020
@templeofninpo

This comment has been minimized.

@wb9688 wb9688 pinned this issue Jul 27, 2020
@floral-qua-floral
Copy link

I can confirm, I was using it about 3.5 hours ago and I could watch videos fine. Now every video is throwing an error similar to the one described above, even when I try to load the same videos I was watching earlier.

Long-tapping a video in one of the home pages or in a search to play the video was a popup or in the background does not go to a crash screen but it will still fail to play.

@snappyapple632
Copy link

@jdramirez165 Can you confirm this on v0.19.7?

@TobiGr TobiGr added ASAP Issue needs to be fixed as soon as possible youtube Service, https://www.youtube.com/ labels Jul 27, 2020
@wb9688
Copy link
Contributor

wb9688 commented Jul 27, 2020

Long-tapping a video in one of the home pages or in a search to play the video was a popup or in the background does not go to a crash screen but it will still fail to play.

@floral-qua-floral: Could you create a separate issue for that? It should imho show a crash (or a toast to open the crash).

@snappyapple632: Nothing has changed regarding this in v0.19.7.

@floral-qua-floral

This comment has been minimized.

@m-sameer

This comment has been minimized.

@jdramirez165

This comment has been minimized.

@snappyapple632
Copy link

YouTube borked Newpipe again. All users are affected @jdramirez165

@MarkuBu

This comment has been minimized.

@PeaceRebel
Copy link

PeaceRebel commented Jul 27, 2020

@floral-qua-floral: Could you create a separate issue for that? It should imho show a crash (or a toast to open the crash).

@wb9688 yes, it does toast 'could not play stream'

@MD77MD

This comment has been minimized.

@wb9688
Copy link
Contributor

wb9688 commented Jul 27, 2020

Could you guys please not comment anything (unless it's related to solving it, e.g. linking a PR that fixes it for youtube-dl)?

@PeaceRebel: Yes, but not with a button to go to the crash report.

@FireMasterK

This comment has been minimized.

@kubo6472
Copy link

Invidious working here

@MD77MD

This comment has been minimized.

@kubo6472
Copy link

youtube-dl working also (tested on https://www.youtube.com/watch?v=gufK2-FUuF4)

@impreza233

This comment has been minimized.

@FireMasterK

This comment has been minimized.

@BM-010

This comment has been minimized.

@reconvoid

This comment has been minimized.

@CWftw
Copy link

CWftw commented Jul 27, 2020

Related YouTube-dl issue: ytdl-org/youtube-dl#26135

@impti

This comment has been minimized.

@kubo6472
Copy link

yt errors.zip
The japanese video was tested by yt-dl issue author as not working, the other one was tested by me as working, when attempting to download through youtube-dl. NewPipe is still f-d for every video. Added some screenshots from HTML code that I did not remember seeing before.

@RuffusGoodman

This comment has been minimized.

@geekos-fr

This comment has been minimized.

@snappyapple632
Copy link

The issue has been fixed and a release is underway, we don't need anymore crash logs.

@rfc-2549
Copy link

why not add an option to use the invidious API? like straw-viewer (https://github.com/trizen/straw-viewer)

@ghost
Copy link

ghost commented Jul 28, 2020

The issue has been fixed and a release is underway, we don't need anymore crash logs.

When is the fixes release coming up
Also will it be pushed to FDroid

@wb9688
Copy link
Contributor

wb9688 commented Jul 28, 2020

@qorg11: We're working on that, see TeamNewPipe/NewPipeExtractor#352

@Stypox Stypox mentioned this issue Jul 28, 2020
This was referenced Jul 28, 2020
This was referenced Jul 28, 2020
@ghost

This comment has been minimized.

@Stypox Stypox changed the title Cannot decrypt video URL error on every video [STOP CREATING DUPLICATES] Cannot decrypt video URL error on every video Jul 28, 2020
@bonej5

This comment has been minimized.

@ghost

This comment has been minimized.

@TeamNewPipe TeamNewPipe locked as too heated and limited conversation to collaborators Jul 28, 2020
@TobiGr
Copy link
Contributor

TobiGr commented Jul 28, 2020

A new version will be released soon. STOP CREATING NEW ISSUES. Please be patient

@wb9688
Copy link
Contributor

wb9688 commented Jul 28, 2020

For now people could use the following debug APK: https://wb9688.stackstorage.com/s/eBfTmrxPUsGTNGAx.

Proper v0.19.8 should (hopefully) be released later today.

@TobiGr TobiGr unpinned this issue Aug 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ASAP Issue needs to be fixed as soon as possible youtube Service, https://www.youtube.com/
Projects
None yet
Development

Successfully merging a pull request may close this issue.