CastagnaIT / plugin.video.netflix

InputStream based Netflix plugin for Kodi
MIT License
1.9k stars 258 forks source link

MSLerror - This title is not available to watch instantly #1278

Closed guy99au closed 2 years ago

guy99au commented 2 years ago

Bug report

Your Environment

Used Operating system:

Describe the bug

Videos will not play, return error: MSLerror. This title is not available to watch instantly.

The debug log can be found here: ~https://pastebin.com/TZJH8Mf7~ redacted -> wrong link or deleted

Other information

Tried logging out, then in again, restarting TV box, checked ESN (both OK) and changed Expert setting to L3 - nothing worked. The fact this has only happened today on two different boxes suggests a change at Netflix or maybe inputstream.adaptive?

Tony763 commented 2 years ago

Same on my side, I run kodi on Ubuntu 21.10 and a same error occurred.

log

CastagnaIT commented 2 years ago

as explained in wiki the main cause (or more causes) of this error currently still to be unknown https://github.com/CastagnaIT/plugin.video.netflix/wiki/FAQ-%28Errors%29#This-title-is-not-available-to-watch-instantly

suggests a change at Netflix or maybe inputstream.adaptive?

is this a random theory of yours or a kind of suggestion to change something in specifics? I have already tried to solve the problem but have not been able to understand the cause, if you have some solution to propose, i am open to listening for solutions to improve the situation, otherwise this issue will be closed in next days, there are no solutions from my part

CastagnaIT commented 2 years ago

these are some some info collected over the time, if can help:

https://github.com/CastagnaIT/plugin.video.netflix/wiki/Dev.-unresolved-issues#license-request-error-this-title-is-not-available-to-watch-instantly

fedevx commented 2 years ago

I don't have the "Force L3" in my raspberry pi 4, Kodi installation (Linux).

Under "Widevine - Force security level" it says "Disabled" in red color. Is there a way to change this?

fedevx commented 2 years ago

While @guy99au might have made a guess, I must say that it would be a very strange coincidence if all of us started getting the same error today out of the blue. I'd be inclined to believe something must have changed as well.

Is there a difference between the logs you have seen for this error before and those seen today @CastagnaIT ?

Tony763 commented 2 years ago

I can't play no movie. Even those which runed just fine last week.

fedevx commented 2 years ago

Would this be where it fails?

2021-12-11 08:30:32.182 T:32405   ERROR <general>: CCurlFile::Open failed with code 0 for http://127.0.0.1:46809/msl/get_license?videoid=80192815:

2021-12-11 08:30:32.182 T:32405   ERROR <general>: AddOnLog: inputstream.adaptive: License server returned failure
2021-12-11 08:30:32.182 T:32405   ERROR <general>: AddOnLog: inputstream.adaptive: License update not successful (no keys)

Based on the logs from @Tony763

CastagnaIT commented 2 years ago

@fedevx inputstream.adaptive is no importance in this case, is the netflix license request that fails, and failure does not necessarily presume a problem our side, it would not be the first time that netflix could have temporary service failures which are automatically resolved

only android could have L1 all other devices are always L3, then you cannot force L3 because you are already L3 as said there are no known reason why this error happen and also can disappears automatically

your posted log is inacessible then i have no idea if it is really the same issue of @Tony763, comparing @Tony763 log with a my old log in my archive the only difference is: bladeRunnerCode 3078 code DEVICE_EOL_FINAL

where in the past was: bladeRunnerCode 1044 code FAIL

this could means a lot of thing and nothing... example could be that this error cover new different thing from the past or is only a refactor of the old code number or also is totally different error i have no idea

recently i have check the license request and i have not found new changes I'll do a test on linux coreelec later, but from my Windows machines to me works good as usual

wagnerch commented 2 years ago

Same issue here, South East US.

Tried logout & login. Tried via settings to reduce to 576p, no change. Same sha1 for libwidevinecdm.so on Raspberry Pi OS, LE, & CE. So I am guessing it is Kodi-centric, whatever it is.

Liqianyu commented 2 years ago

Happened simultaneously on Kodi 19 (different package name) & Kodi 20 on Shield TV Pro 2019. Yesterday I was able to play it normally. This is definitely not a coincidence, there is some reason for the problem. Reinstalling ISA and re-logging into Netflix did not help. (at least for me) The Android TV App and Windows 10 Microsoft Edge both play fine.

Based on what others have reported, the problem is likely unrelated to the device, the network, and the settings. But I think it's possible that only a few Kodi users are experiencing the issue, otherwise more people should be reporting it than they are now? Is this some sort of A/B testing or account based? If @CastagnaIT is unable to reproduce the issue, I think one of us should provide an account for its testing.

CastagnaIT commented 2 years ago

i have now tried on my ARM amlogic CoreElec 20 (not updated old nightly) but works without errors it has also request to update widevine to 2.10.2252.5 (and after that i have rebooted the device before run the videos)

(tested also on Linux Mint)

Is this some sort of A/B testing or account based?

could be, and if this is a new change could also be applied in specified countries only before a worldwide rollout, this therefore prevents any testing on my part, at least for now...

CastagnaIT commented 2 years ago

maybe trying to update the useragent could solve, who wants try to update and give a feedback: plugin.video.netflix_1.18.1+matrix.1_20211211_ua.zip

Liqianyu commented 2 years ago

I tested using Kodi 18.9 + Netflix Add-On v.1.12.8-Leia with Shield TV Pro 2017. Guess what? Normal playback! Then I went back to Shield TV Pro 2019 and Kodi 19 & 20 still didn't work. But . . Kodi 18.9 played just as well! This seems to prove that there is no relationship with the account, device (ESN).

@CastagnaIT Does this mean that the problem is likely to be with inputstream adaptive 19 & 20 ?

Liqianyu commented 2 years ago

@CastagnaIT Unfortunately, after testing plugin.video.netflix_1.18.1+matrix.1_20211211_ua.zip doesn't seem to help fix the issue. Which is the closest Matrix version to v.1.12.8-Leia? I thought it might be possible to port v.1.12.8 to Matrix for testing.

wagnerch commented 2 years ago

@CastagnaIT I tried this UA below earlier and it didn't make a difference. Looking at the cadmium player, it appears the manifest request has a few new parameters:

                                manifestVersion: A.sh.lVa ? "v2" : "v1",
                                desiredSegmentVmaf: A.config().lbb ? A.config().gUa : A.config().hUa,
                                requestSegmentVmaf: A.config().GVb,
                                supportsPartialHydration: A.sh.xM,
                                contentPlaygraph: A.sh.QSa

Tried to throw in a hardcoded manifestVersion: v1, but no change on that. desiredSegmentVmaf seems to be the same as desiredVmaf. Don't know what the browser is actually sending, so it may not be relevant yet, would need to either add debugging to cadmium player or setup the proxy.

+    chrome_version = 'Chrome/95.0.4638.78'
...
+        return base.replace('%PL%', '(X11; CrOS armv7l 13597.84.0)')

Edit: Tried the attachment, with your UA changes and it also didn''t work.

CastagnaIT commented 2 years ago

@Liqianyu the only difference between the addon for Kodi 18 and 19/20, is that on 19/20 we use the new manifest request version the 18 still use the deprecated manifest request that with some systems not allow full hd, and is probabile that on Kodi 18 i have not backport some patches that i not remember, that version is not more mantained... from my POV is not a good way to make tests from kodi 18, we have to use the current manifest request version not the deprecated one @wagnerch said that with kodi not works, but with browser works, this could suggest some changes on website that need to be investigated

@wagnerch is possible that that some parameters are changed but to check you have to add a break point in browser debugger and copy the manifest data, but need to be recheck also the license request, or install the mitm proxy (my repo) get the fuill log of website msl dialogs (better way)

wagnerch commented 2 years ago

@CastagnaIT Yeah, that's what I was thinking as well. I'll see about setting up the mitm proxy again and run it from Chromium on Raspberry Pi OS.

dgarciam commented 2 years ago

I got this same error. CE on Odroid N2 running nightly updates. I don't know if this is of help or not. I went to ~/.kodi/temp and did a cat kodi.log |grep netflix I got the following results:

https://pastebin.com/smLgt1z4

I should note that this happened right after an update on both the plugging and the nightly update. If you need specific info, i'll be glad to pass it along

--removed--

And goes in hand with previous reported issues

EDIT: Added the kodi.old.log entry

quietvoid commented 2 years ago

I did mention on the forums that I'm getting an MSL error only when HDR is enabled on my Firestick 4K Max.

If I disable HDR (device, not addon or Kodi) the addon can still play 2160p correctly. Using Kodi 20 Nexus.

I can provide some logs of both in a couple hours.

CastagnaIT commented 2 years ago

to all, if you want add logs that you think that report different data from the log posted on first comment of this thread, please do not attach the log as text, instead attach the weblink by using service like https://paste.kodi.tv/ and you have to be sure to have the kodi debug and addon debug enabled (readme instructions)

wagnerch commented 2 years ago

@CastagnaIT Sent a proxy log, logging in, selecting a video "Small Crimes" and playing a few seconds, on Pi 4. Sent to your Paypal e-mail address.

CastagnaIT commented 2 years ago

@wagnerch found thanks! I try to see

pfrieske commented 2 years ago

same here - Android 10 arm64, Kodi 19.3, won't play anything as of circa 12 hours ago, no problems before.

Thanks and looking forward to solution!

wagnerch commented 2 years ago

@CastagnaIT This is what I get in my debug log:

https://paste.kodi.tv/idixukidog.kodi

2021-12-11 11:15:10.786 T:2561    ERROR <general>: [plugin.video.netflix (0)] {"id": 16392393106219, "version": 2, "serverTime": 1639239310750, "error": {"code": "FAIL", "detail": "licensedManifest/playapi-PLAY_API_ERROR: PBO_UNEXPECTED_EXCEPTION [viewableId=[80164212]]", "display": "This title is not available to watch instantly. Please try another title.", "alert": null, "alertTag": "", "errorActionId": 3, "errorExternalCode": 0, "errorNccpCode": 0, "errorReasonCode": 0, "errorSubCode": 0, "errorDisplayMessage": "This title is not available to watch instantly. Please try another title.", "nccpError": {}, "bladeRunnerMessage": "licensedManifest/playapi-PLAY_API_ERROR: PBO_UNEXPECTED_EXCEPTION [viewableId=[80164212]]", "bladeRunnerCode": "PLAY_API_ERROR", "pboc": true}, "from": "playapi"}
CastagnaIT commented 2 years ago

@wagnerch not found changes in license request but manifest only as you mentioned and in your log i can see that is stuck in manifest request

i have adapted the changes: plugin.video.netflix_1.18.1+matrix.1_20211211_t1.zip

wagnerch commented 2 years ago

@CastagnaIT Yep, appears to work with this update.

quietvoid commented 2 years ago

i have adapted the changes: plugin.video.netflix_1.18.1+matrix.1_20211211_t1.zip

This is working for me too.

CastagnaIT commented 2 years ago

we are lucky we surpassed speed records in solving a problem :) i will prepare the next release

pfrieske commented 2 years ago

@wagnerch not found changes in license request but manifest only as you mentioned and in your log i can see that is stuck in manifest request

i have adapted the changes: plugin.video.netflix_1.18.1+matrix.1_20211211_t1.zip

Hi, thanks for the great plugin!

I've downloaded above version but Kodi (19.3) gives error when trying to install 'failed to install add-on from zip file' - any ideas?

Could file name matter? (Random name after saving the download)?

Thanks!

YourTheFinestIveEverKnown commented 2 years ago

Confirmed, this fixed it for me also. Great Plugin! Thanks.

Liqianyu commented 2 years ago

@pfrieske This is a test version, which I think requires kodi nightly builds.

pfrieske commented 2 years ago

Thank you!

On Sun, Dec 12, 2021, 12:34 Liqianyu @.***> wrote:

@pfrieske https://github.com/pfrieske This is a test version, which I think requires kodi nightly builds.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CastagnaIT/plugin.video.netflix/issues/1278#issuecomment-991838283, or unsubscribe https://github.com/notifications/unsubscribe-auth/AULGXTDKE4GYW5ZZHDB3KE3UQQX7TANCNFSM5J2V4KJA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ziporah commented 2 years ago

I tried updating to this version, using libreelec 10.0, with Matrix v19.1, updated the plugin to latest version, but I'm still receiving the same error as above. I verified the patch is in place, by searching the patched files for the code changes and they are in place. Can I provide any more info to assist on debugging the issue?

guy99au commented 2 years ago

Many thanks for your hard work. Working well.

CastagnaIT commented 2 years ago

@ziporah you have to provide the full kodi debug log by following the instructions in readme

pfrieske commented 2 years ago

installed off USB key version from above on my km3 android 10 box and after changing Force Widevine security level L3 I'm watching some as we speak!

It might be worth mentioning my kodi (on android 10) has APK lowered to 28 to run elementum as described here

Thanks again!

ziporah commented 2 years ago

@CastagnaIT didn't have time yesterday to get the debug log. Meanwhile problem is solved. For those who still have problems: in Expert settings:

grandchamp commented 2 years ago

Got the issue today and the version posted here made it work again. Thanks @CastagnaIT

Artiom-M commented 2 years ago

I've got the same issue with v.1.12.8-Leia. Any chance to backport the fix?

mcdnsd commented 2 years ago

I also have the same issue on a RPi4.arm / LibreELEC 9.2.8 / Kodi 18.9 (Leia) / Netflix addon v1.12.8. I have tested LibreELEC 10,0 with this fix and can confirm this issue is resolved there, but the Raspberry Pi 4B+ has other issues with LibreELEC 10 that means I am unable to upgrade permanently at this time. I would be very grateful if this fix could be added to Leia also. Thanks

kodi.log ,

AreaScout commented 2 years ago

Yes, please backport to Leia 👍

VGerris commented 2 years ago

I can't find the L3 setting but had this issue today. Reinstalled widevine in plugin, and rebooted. Then I saw a notification of other updates inlcuding Netflix. Did work after another reboot