CastagnaIT / plugin.video.netflix

InputStream based Netflix plugin for Kodi
MIT License
1.92k stars 263 forks source link

Request Failed validation during key exchange #421

Closed grant-cpt closed 4 years ago

grant-cpt commented 4 years ago

Bug report

Your Environment

Used Operating system:

Describe the bug

Getting Error Message: "Request Failed validation during key exchange"

Netflix login details are correct and login is accepted.

Expected behavior

TV Series or Movie to play

Actual behavior

Error message pops up

Steps to reproduce the behavior

  1. Open Kodi
  2. Open Netflix
  3. Select Series/Movie
  4. Error Message

Possible fix

Debug log

The debug log can be found from this link: https://docs.google.com/document/d/17NCjCyn9SqmIgZT8Ckf7fkS8QL_BPhC9ZdYePyZwkJE/edit?usp=sharing

Additional context or screenshots (if appropriate)

Installation

Netflix addon installed from CastagnaIT repo

Other information

Screenshots

mkaflowski commented 4 years ago

Doesnt work on my Shield with my ESN :(

CastagnaIT commented 4 years ago

i think netflix is making changes due to account sharing trend which has grown in the last year on linux you can see a some type of device-based requests look like tests i don't know how long I've been there, i saw a few days ago

we need to make some deeper changes here in order to generate a right ESN, this require modifications to Kodi and/or InputStream Addon, that require time, when there is news you will be updated

AzzGar commented 4 years ago

Hi everyone I had the same issue : I just installed the add-on on Kodi on my NVidia Shield 2019 Pro. The error kept popping until I edited the ESD in the add-on setting : I entered the one I found in the Netflix Android app installed on my Shield, and that made the error message disappear.

darkkainn commented 4 years ago

The same problem on Sony Android TV - XF9005 model. CastagnaIT you are doing great job. We will be patient We will wait for right update.

geaddict commented 4 years ago

Good day all,

Same issue. Minix Neo U9H, Android 6.01, Kodi 18.4. Manual ESN from Netflix app and no change with error. Triple checked for typos as well on the manual ESN.

srkimrki commented 4 years ago

The same problem on Amazon Fite TV Stick. CastagnaIT you are doing great job. We will be patient We will wait for right update.

mkaflowski commented 4 years ago

Worked with new version - 16.3. THANK YOU! :D

totoanto commented 4 years ago

Unfortunately still not working after 16.3 update. Sony Android TV KD-65XE9005

darkkainn commented 4 years ago

Manual ESN worked on Sony Android TV XF9005 series.

totoanto commented 4 years ago

I confirm also it is working now with manual ESN Thanks :)

tonto99 commented 4 years ago

I confirm also it is working now with manual ESN Thanks :)

Friends, I have this same problem with nvidia shield tv. Can someone explain to me what is "ESN Manual"? Thanks!

mkaflowski commented 4 years ago

I confirm also it is working now with manual ESN Thanks :)

Friends, I have this same problem with nvidia shield tv. Can someone explain to me what is "ESN Manual"? Thanks!

You can find your ESN on Netflix or Shield preferences and need to put it on addon settings.

tonto99 commented 4 years ago

I confirm also it is working now with manual ESN Thanks :)

Friends, I have this same problem with nvidia shield tv. Can someone explain to me what is "ESN Manual"? Thanks!

You can find your ESN on Netflix or Shield preferences and need to put it on addon settings.

Thanks. I inserted the manual ESN and the error didn't appear anymore, however I'm only able to reproduce in 480p and 2.0 sound. That sad! (nvidia shield tv)

xbbdc commented 4 years ago

Make sure your Kodi settings for audio and video are correct.

Get Outlook for Androidhttps://aka.ms/ghei36


From: tonto99 notifications@github.com Sent: Tuesday, January 21, 2020 4:35:37 PM To: CastagnaIT/plugin.video.netflix plugin.video.netflix@noreply.github.com Cc: xbbdc bdelcarpio@outlook.com; Mention mention@noreply.github.com Subject: Re: [CastagnaIT/plugin.video.netflix] Request Failed validation during key exchange (#421)

I confirm also it is working now with manual ESN Thanks :)

Friends, I have this same problem with nvidia shield tv. Can someone explain to me what is "ESN Manual"? Thanks!

You can find your ESN on Netflix or Shield preferences and need to put it on addon settings.

Thanks. I inserted the manual ESN and the error didn't appear anymore, however I'm only able to reproduce in 480p and 2.0 sound. That sad! (nvidia shield tv)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCastagnaIT%2Fplugin.video.netflix%2Fissues%2F421%3Femail_source%3Dnotifications%26email_token%3DAOIJZQD3FBJ35GHC5MZWTTLQ66BETA5CNFSM4KDLBP32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJRV3KI%23issuecomment-576937385&data=02%7C01%7C%7C13249172ac1e444bf43f08d79eca9f6a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637152465395241908&sdata=lSXJ3SNQzyazlhA2rH2j5k2oX%2Fh5uUSL5dxf67PDrnA%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOIJZQGU2DKYAK2QVNBO7PLQ66BETANCNFSM4KDLBP3Q&data=02%7C01%7C%7C13249172ac1e444bf43f08d79eca9f6a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637152465395241908&sdata=LI%2Br%2BPld%2Bf82GbiMPvbZ%2Bh%2FJ5YtkO09hG0hB23A2%2BCA%3D&reserved=0.

mkaflowski commented 4 years ago

Double check for typos. There is some tricky parts like NVIDISHIELD insted of NVIDIASHIELD. I have copied mine ESN with Google Assistant text recognition to file and from file to addon setting file to make sure it is correct.

tonto99 commented 4 years ago

Double check for typos. There is some tricky parts like NVIDISHIELD insted of NVIDIASHIELD. I have copied mine ESN with Google Assistant text recognition to file and from file to addon setting file to make sure it is correct.

I checked twice. Everything works perfectly, however at 540p 2.0.

vvirehead commented 4 years ago

I had to reset shield, reinstall Kodi + Netflix plugin + enter manual ESN (whole) to get it working with 4k / atmos on 0.16.3.

Kudos to authors! :tophat:

tonto99 commented 4 years ago

I had to reset shield, reinstall Kodi + Netflix plugin + enter manual ESN (whole) to get it working with 4k / atmos on 0.16.3.

Kudos to authors! 🎩

I followed your tip and now I have 4k Atmos on Nvidia Shield! Thank you!

CastagnaIT commented 4 years ago

Double check for typos. There is some tricky parts like NVIDISHIELD insted of NVIDIASHIELD. I have copied mine ESN with Google Assistant text recognition to file and from file to addon setting file to make sure it is correct.

thit i am suspicious of a recent code change, i need more information

i need you can test this ESNs: NFANDROID2-PRV-SHIELDANDROIDTV-NVIDIASHIELD=ANDROID=TV NFANDROID2-PRV-SHIELDANDROIDTV-NVIDISHIELD=ANDROID=TV

the difference is the A it could mean that i have to restore some of previous generation code can you report if one of them still works?

mkaflowski commented 4 years ago

It worked with both. However I needed to restarted Kodi every change because I have been gettin User Id token master error.

CastagnaIT commented 4 years ago

maybe it is better to eliminate id user token after change esn,

i will prepare an update for you here, so after install the update please redo the ESNs tests thanks

mkaflowski commented 4 years ago

Ok. I have question about aspect ratio. All streams are 16:9 or is it forces somehow to that?

Wiadomość napisana przez Stefano Gottardo notifications@github.com w dniu 22.01.2020, o godz. 10:15:

maybe it is better to eliminate id user token after change esn,

i will prepare an update for you hare, so after install the update please redo the ESNs tests thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/CastagnaIT/plugin.video.netflix/issues/421?email_source=notifications&email_token=ACNNST2YTOQ6WIRS3VO6CATQ7AFETA5CNFSM4KDLBP32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJSZV3Y#issuecomment-577084143, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNNST2PD6XNLH7SVGLM2PTQ7AFETANCNFSM4KDLBP3Q.

CastagnaIT commented 4 years ago

All streams are 16:9 or is it forces somehow to that?

nothing is forced, but netflix uses different aspect ratios, but here are off topic, open new issue or use the forum

Update here: plugin.video.netflix_0.16.3_20200122_test1.zip

mkaflowski commented 4 years ago

It works. I have done some test and I think this part of ESN doesn't matter: NFANDROID2-PRV-SHIELDANDROIDTV-NVIDISHIELD=ANDROID=TV - 4k NFANDROID2-PRV-SHIELDANDROIDTV-NVIDIASHIELD=ANDROID=TV - 4k NFANDROID2-PRV-SHIELDANDROIDTV-NVIDIACSHIELD=ANDROID=TV - 4k (some random letter added) NFANDROID2-PRV-SHIELDXANDROIDTV-NVIDIACSHIELD=ANDROID=TV - SD (some random letter added)

CastagnaIT commented 4 years ago

this is very weird 🤔 please describe precisely the steps you take to insert and test these ESNs

mkaflowski commented 4 years ago

I had put them in that order and messing with "NVIDISHIELD" had't affect 4k but messing with "SHIELDANDROIDTV" does. It is Shield 2017. Anyway it works great now. I have Xiaomi Mi Box if you need to test something in the future.

CastagnaIT commented 4 years ago

I need to know where you're going to put them by addon settings expert menu? or other methods?

mkaflowski commented 4 years ago

By add-on settings.

Wiadomość napisana przez Stefano Gottardo notifications@github.com w dniu 22.01.2020, o godz. 10:55:

I need to know where you're going to put them by addon settings expert menu? or other methods?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/CastagnaIT/plugin.video.netflix/issues/421?email_source=notifications&email_token=ACNNST42WB5TV3PLMX2JCZLQ7AJXPA5CNFSM4KDLBP32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJS555I#issuecomment-577101557, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNNSTYQWH7NEUSNGHAW3ZLQ7AJXPANCNFSM4KDLBP3Q.

mkaflowski commented 4 years ago

Another tests: messing with "NFANDROID2" after playback give me some error. When I try to play movie Kodi crashes and when I relaunch it work with chaged "NFANDROID2". It looks like "SHIELDANDROIDTV" is crucial.

CastagnaIT commented 4 years ago

So netflix has changed its esn check method again apparently less restrictive

Manual ESN worked on Sony Android TV XF9005 series.

@darkkainn can you do this steps?

-Install this update: plugin.video.netflix_0.16.3_20200122_test1.zip -Go to addon expert settings -Select Reset ESN -Try if still works (so without write manually the esn)

let me know thanks

timfehr commented 4 years ago

I also have this issue with the Shield TV 2017 I installed your update, reseted the ESN via expert settings -> still get the same error.

I checked the used ESN after I reseted it and it uses this one: NFANDROID2-PRV-SHIELDANDROIDTV-NVIDISHIELD=ANDROID=TV, which seems correct from reading the posts here

CastagnaIT commented 4 years ago

two user with same device Shield TV 2017, same esn, but two different results? i don't understand...

timfehr commented 4 years ago

Me neither. i attached my kodi.log

Maybe you find some hints in there.

The log is after I reseted ESN and restarted Kodi.

boblo1 commented 4 years ago

Hello @CastagnaIT : I have a Shield 2017 PRO updated to latest firmware and got the same problem. I installed version 0.16.3, then reseted the ESN and finally I pasted by hand the ESN. Now the addon works like a charm. Using a spanish non-premium Netflix account (up to Full HD). If you need further information, please let me know.

setegonz commented 4 years ago

@mkaflowski did you checked if the add-on works in your Mibox3? I reset the esn and then entered it manually but the error continues.

CastagnaIT commented 4 years ago

i opened a new Issue with title: "Help request to NVIDIA SHIELD Users - wrong media flag 1080P / 4K"

I need at least 1 NVIDIA SHIELD tester, to perform a test, prerequisite a working NVIDIA SHIELD with 4K enviroment

thanks

mkaflowski commented 4 years ago

@mkaflowski did you checked if the add-on works in your Mibox3? I reset the esn and then entered it manually but the error continues.

I have installed plugin.video.netflix-0.16.1 and copied whole ESN to be sure there is no typo and it worked.

srkimrki commented 4 years ago

So netflix has changed its esn check method again apparently less restrictive

Manual ESN worked on Sony Android TV XF9005 series.

@darkkainn can you do this steps?

-Install this update: plugin.video.netflix_0.16.3_20200122_test1.zip -Go to addon expert settings -Select Reset ESN -Try if still works (so without write manually the esn)

let me know thanks

Can I try on this test plugin on Amazaon Fire TV Stick? Will it work maybe?

srkimrki commented 4 years ago

@mkaflowski did you checked if the add-on works in your Mibox3? I reset the esn and then entered it manually but the error continues.

I have installed plugin.video.netflix-0.16.1 and copied whole ESN to be sure there is no typo and it worked.

I have just do it and working by me an Amazon Fire TV Stick!

cosmicstranger commented 4 years ago

My question is : Does netflix addon works only on netflix certified devices after the netflix changes ? I said that cause I have as I said before a non-certified android smart tv and I was able to watch netflix HD using another ESN from a certified device

cosmicstranger commented 4 years ago

My question is : Does netflix addon works only on netflix certified devices after the netflix changes ? I said that cause I have as I said before a non-certified android smart tv and I was able to watch netflix HD using another ESN from a certified device

I tried to reset my device and installing kodi+Netflix addon but unfortunately it didn’t work with or without ESN changing

johnmrestrepo17 commented 4 years ago

@srkimrki Where did you copy the ESN code from?

@mkaflowski did you checked if the add-on works in your Mibox3? I reset the esn and then entered it manually but the error continues.

I have installed plugin.video.netflix-0.16.1 and copied whole ESN to be sure there is no typo and it worked.

I have just do it and working by me an Amazon Fire TV Stick!

From where

M2k80 commented 4 years ago

@CastagnaIT tested manual complete ESN on my 2017 and its working again, will try later on my 2019 pro

M2k80 commented 4 years ago

i opened a new Issue with title: "Help request to NVIDIA SHIELD Users - wrong media flag 1080P / 4K"

I need at least 1 NVIDIA SHIELD tester, to perform a test, prerequisite a working NVIDIA SHIELD with 4K enviroment

thanks

if i get it working again on my shield 2019 pro , which i will try later this night, i can test 4k/1080p for you, if you need someone to test

srkimrki commented 4 years ago
  1. I firs downgrade netlix plugin from 16.3 to 16.1
  2. Then I have take ESN from original Netlix App (somewhere in setings you can read it)
  3. Next I lunch Kodi and Netflix plugin 16.1 (the error message still was there)
  4. Then I have went in option (left arrow on remote) and take Add-on setting
  5. In expert I have enterd manual ESN (whole ESN from Original Netlix Apps)
  6. Pluging still working :)
CastagnaIT commented 4 years ago

tested manual complete ESN on my 2017 and its working again, will try later on my 2019 pro

good to know

if i get it working again on my shield 2019 pro , which i will try later this night, i can test 4k/1080p for you, if you need someone to test

yes thanks

srkimrki commented 4 years ago

@johnmrestrepo17 I copyed ESN code from original Netlix App which ist intalled on my Amazon Fore Tv Stick... somwere in settings you can found it.

venom7107 commented 4 years ago

Also get this same error on my MINIX U9-H box. No idea what to do next.

tjamieg commented 4 years ago

I had the same problem on Amazon Fire TV Stick 4K - Kodi 18.5 - Netflix 0.16.3

A few people suggested a fix in the comments above, so for those who didn't quite get it, here's a step-by-step of what I did to get mine working:

CastagnaIT commented 4 years ago

To all please stop flaming this Issue post with things said 100 times...

I have already warned about this problem in the Kodi forum: https://forum.kodi.tv/showthread.php?tid=329767&pid=2917144#pid2917144

I never wrote that i released the fix to this problem so when a new release comes out doesn't mean that all the problem are solved, just read the change-log to know what is changed