CastagnaIT / plugin.video.netflix

InputStream based Netflix plugin for Kodi
MIT License
1.91k stars 259 forks source link

Can't login on Netflix plugin - Incorrect password #502

Open arnaudcoz opened 4 years ago

arnaudcoz commented 4 years ago

Bug report

Hello, since 7 days I cannot login to the Netflix plugin :"password incorrect" I tried login/password on a different system : it is working I tried to reinstall libre elec and everything, same issue. Thank you

Your Environment

Used Operating system:

Describe the bug

Debug log

The debug log can be found from this link:

To new users with Incorrect password problem

A new login system has been added, is called "Authentication key"

In the readme all the information https://github.com/CastagnaIT/plugin.video.netflix#login-with-authentication-key

~A new login solution is in test, will be released next days~

~The test files are on this comment:~ ~https://github.com/CastagnaIT/plugin.video.netflix/issues/502#issuecomment-684824673~

~I suggest instead to use the test, to wait for the new release~

vteccorp commented 4 years ago

Hello There is something about it. Couple days ago Netflix on "Beelink GT King TV BOX/CoreELEC/Kodi" stopped working. Today I logged out from the Netflix on PC and phone... and there is the same problem - INCORRECT PASSWORD! Now I can't log in from any device. I think there can be two reasons: There is a data leak or Netflix began blocking shared family accounts (I share my account with my friends because in my country even family account is too expensive). First I need to contact my friends and try to change account password.

PS Or simply Your right CastagnaIT ...maybe the algorithm went crazy after the last update! :)

CastagnaIT commented 4 years ago

I don't know in your country, but here in italy netflix is implementing a block of the accounts shared between multiple users, who are not family members

but it's seem not implemented yet, but we have been ~unofficially~ warned by the newspapers, (i just read a statement from the CEO, and it is official)

I can assure you that there has been no change in the operation of the login code

it is rumored on the net that netflix tracks the location from where the login is made but at the moment we don't know anything, i find a totally wrong policy

I hope it's just a temporary problem


EDIT 12/05/2020

To all users and future users

Each case that emerges seems different so it becomes impossible to find a common meeting point to try to understand how to solve the problem, then just writing here that it doesn't work is totally useless...

1) Check if Netflix automatically reset your password for suspicious activity (notice by e-mail) 2) Provide a FULL debug log BY FOLLOW INSTRUCTION IN THE README 3) Explain if you use netflix only from the Kodi library, and how often you open and browse the add-on 4) Explain what operations you were doing when it happened, or did you do the last time you used 5) Let me know if the device stays with Kodi on 24 hours a day, without ever closing Kodi or turning off the device

In the Wiki there is a temporary solution, but, this will cancel any possibility of future testing in your system: https://github.com/CastagnaIT/plugin.video.netflix/wiki/FAQ-%28Errors%29#email-or-password-is-incorrect

arnaudcoz commented 4 years ago

Hello, how can we explain that I can use Netflix on Mac OS Catalina with chrome and cannot with the same login/password on LibreELEC : "password incorrect" ? thank you

Essam311 commented 4 years ago

I had the same problem of the incorrect password today with the Netflix add-on v1.0.0, I checked my email and I got this message from Netflix telling me to reset my password, I changed the password and the problem of the incorrect password solved for me (the problem of the incorrect password happened after I deleted Kodi folder multiple times and installed the Netflix add-on every time).

556

CastagnaIT commented 4 years ago

is not version 1.0.0 happens with all versions I don't know what kind of things netflix is changing, but it's clearly related to what i wrote earlier no matter if it was not shared, they most likely modified the protection algorithms

Essam311 commented 4 years ago

@CastagnaIT I understand that it happens on all the versions, I just was referring to the version I was using, and the excessive login at a short time could result in Netflix changing the password by itself same as using a VPN or sharing the accounts.

arnaudcoz commented 4 years ago

Hello, i have just installed v 1.0.0 still the "incorrect password" issue. then I delete everything in the directory : LibreELEC:~/.kodi/userdata/addon_data/plugin.video.netflix/database try to log on : same issue again.

arnaudcoz commented 4 years ago

Do i have to reset password data base ? is it located in LibreELEC:~/.kodi/userdata/addon_data/plugin.video.netflix/database ? thank you

CastagnaIT commented 4 years ago

, and the excessive login at a short time

this does not happen, login is done only first time (when you receive the e-mail notification), all subsequent times it does not happen because it uses cookies as it does in the browser, so it resumes the same session left pending

CastagnaIT commented 4 years ago

Do i have to reset password data base ? is it located in LibreELEC:~/.kodi/userdata/addon_data/plugin.video.netflix/database ? thank you

it should not be necessary to delete the database, so you lose all your data

you can delete files:

Essam311 commented 4 years ago

@CastagnaIT I had to delete Kodi folder and install the Netflix add-on and everything and enter my email and password for testing many times. Not just a regular logout and login.

CastagnaIT commented 4 years ago

if you delete everything and start from scratch, and after works can mean anything... before deleting everything it was necessary to do take intermediate steps, this way it doesn't help

CastagnaIT commented 4 years ago

@arnaudcoz provide a debug log instruction in Readme https://github.com/CastagnaIT/plugin.video.netflix#something-doesnt-work after enabled debug and debug verbose, reboot Kodi before take the log

Essam311 commented 4 years ago

@CastagnaIT Deleting Kodi folder not because I was trying to fix the problem of the incorrect password, I was trying to modify the Netflix add-on and testing if what I did will work or not in a clean installation, I think deleting Kodi folder and installing the Netflix add-on many times in a short time and entering my password and email triggered Netflix to change my password by itself, this happened to me before long time ago while using 0.13.XX versions, and this is the reason checking my email was the first thing I did. Not saying there anything wrong with the Netflix add-on, just saying that signing in Netflix too many times in a short period of time may trigger Netflix to think the account is compromised based on my experience with deleting Kodi folder many times and installing the Netflix add-on clean installation every time which requires entering my email and password many times in a short amount of time.

arnaudcoz commented 4 years ago

Hello, You are right, I had to change the password on Netflix website. it is doing fine now. thank you

brhnsfrn commented 4 years ago

Ok, guys. I have a problem.

After changing my password, I started using Netflix without any problem. Then Netflix sent an e-mail for suspicious transactions. I completely reset my RPI device and reloaded it again. I installed Netflix and started installations. The system gave the username or password incorrect error after downloading the widevine CDM. Then it threw me out of Netflix. When I tried logging in again, it gave a password error. What's the problem? I do not want to change my password again because Netflix says it as a suspect .

CastagnaIT commented 4 years ago

can you take this test? -Reset again the netflix password -Reinstall again (only) netflix addon

NOW BEFORE open the addon, 1)Enable Kodi debug 2)Open context menu from Netflix addon icon (without open addon), select "Settings" In expert Settings, change Debug to Verbose, Press OK

Only now, login, when it stops for incorrect password extract the Kodi log and attach here or use hastebin

CastagnaIT commented 4 years ago

I experienced the problem today, I haven't logged in to netflix on my android for about 10 days then when kodi started up, netflix reset my password

Fortunately in my device i always leave the debugging enabled apparently it seems to be caused by some expired cookies

Unfortunately, no one gave me a log to make a comparison so i will have to wait for the cookies to expires again to get a confirmation of this theory

DieHardjagged commented 4 years ago

Well, i first thought the Addon stole my Account + Password since i could not login via my Computer, at least i know now that Netflix fucked up. That will be fun to explain to my Brother though, who is the account owner, as to why he has to change the password. But still, thanks for the Addon, it worked perfect when it did during this one day. Edit: Huh strange, i asked my other Brother and he showed me that he could login to Netflix with his Iphone without a problem, yet i still cant login via my PC.

joaomamede commented 4 years ago

I have the same buy only with the plugin. I don't know if the cookies are still valid, but, I can access with computer, tablet, Tvsmarttv, with the kodi plugin it throws me a incorrect password.

adlerweb commented 4 years ago

Same here. Logins with other devices work, Add-In fails during login (first start login). No mails from netflix.

2020-04-17 19:46:14.650 T:140164146462912   DEBUG: ------ Window Deinit (DialogKeyboard.xml) ------
2020-04-17 19:46:14.913 T:140161602295552   DEBUG: [plugin.video.netflix (1)] Handling HTTP IPC call to login
2020-04-17 19:46:14.918 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Handling HTTP POST IPC call to login
2020-04-17 19:46:14.918 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Executing GET request to https://www.netflix.com/profiles/manage
2020-04-17 19:46:15.737 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Request took 0.196685s
2020-04-17 19:46:15.738 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Request returned statuscode 200
2020-04-17 19:46:15.738 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Call to _request_call took 197ms
2020-04-17 19:46:15.738 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Extracting reactContext JSON
2020-04-17 19:46:15.752 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Call to extract_json took 15ms
2020-04-17 19:46:15.752 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Extracting api urls from webpage
2020-04-17 19:46:15.752 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Extracted {u'browser_info_version': u'78.0.3904.92'}
2020-04-17 19:46:15.752 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Extracted {u'auth_url': u'XXXXXXXXXXXXXXX'}
2020-04-17 19:46:15.752 T:140161743574784   ERROR: [plugin.video.netflix (0)] Could not extract [u'models', u'playerModel', u'data', u'config', u'ui', u'initParams', u'apiUrl']
2020-04-17 19:46:15.752 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Extracted {u'request_id': u'XXXXXXXXXXXXXXXX'}
2020-04-17 19:46:15.752 T:140161743574784   ERROR: [plugin.video.netflix (0)] Could not extract [u'models', u'playerModel', u'data', u'config', u'core', u'assets', u'core']
2020-04-17 19:46:15.752 T:140161743574784   ERROR: [plugin.video.netflix (0)] Could not extract [u'models', u'playerModel', u'data', u'config', u'ui', u'initParams', u'uiVersion']
2020-04-17 19:46:15.752 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Extracted {u'api_endpoint_root_url': u'https://www.netflix.com/api'}
2020-04-17 19:46:15.752 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Extracted {u'browser_info_os_version': u'0.0.0'}
2020-04-17 19:46:15.752 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Extracted {u'browser_info_os_name': u'Linux'}
2020-04-17 19:46:15.752 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Logging in...
2020-04-17 19:46:15.760 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Executing POST request to https://www.netflix.com/login
2020-04-17 19:46:16.102 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Request took 0.07391s
2020-04-17 19:46:16.102 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Request returned statuscode 200
2020-04-17 19:46:16.102 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Call to _request_call took 74ms
2020-04-17 19:46:16.102 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Extracting session data...
2020-04-17 19:46:16.102 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Extracting reactContext JSON
2020-04-17 19:46:16.112 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Call to extract_json took 9ms
2020-04-17 19:46:16.112 T:140161743574784   ERROR: [plugin.video.netflix (0)] Login not valid, error code incorrect_password
2020-04-17 19:46:16.112 T:140161743574784   DEBUG: [plugin.video.netflix (0)] Call to extract_session_data took 9ms
mo123 commented 4 years ago

Running a Mi Box with Android 8 and the addon always says my Netflix password is incorrect. Tried Kodi 18 Leia and Matrix and different versions of the addon. On all my other Android devices, tv & phone with different networks, Netflix works fine. Anyone else with a Mi Box Android 8 that found a solution?

showmak commented 4 years ago

I highly appreciate @CastagnaIT for his great work, and I need a reply from him for peace of mind only.

This is a serious concern, I have a premium account but the Netflix app on my 2015 Nvidia Shield doesn’t support Atmos format. The only way I can get the Atmos format is through this add on.

The concern is, will my login credentials be exposed to anyone other than Netflix? Will Netflix know I am using the add on? Please let me know.

CastagnaIT commented 4 years ago

yes my dog now know your password and watch sex education...😂

so in the Wiki there are all your answers

showmak commented 4 years ago

yes my dog now know your password and watch sex education...😂

so in the Wiki there are all your answers

Lol, thank you for the quick reply. I read the Wiki and indeed the answer to my concern is there.

Please stay safe.

mackal commented 4 years ago

I'm getting login errors like @adlerweb now too :/

cesarpuig commented 4 years ago

I have exactly the same problem

CastagnaIT commented 4 years ago

@mackal have you resolved? if you have not resolved, can you provide a full log with verbose nf debug enabled?

mackal commented 4 years ago

@mackal have you resolved? if you have not resolved, can you provide a full log with verbose nf debug enabled?

Turns out my brother changed the password again, but my browser sessions was never killed and I just assumed I had the right password still (last time the password changed, I had to relogin on browser as well ...), sorry I can't provide more help :(

sajo84 commented 4 years ago

Having an identical issue; Netflix is working on my Laptop, my Smartphone but not on my Kodi.

01_KODI.log

CastagnaIT commented 4 years ago

Turns out my brother changed the password again, but my browser sessions was never killed and I just assumed I had the right password still (last time the password changed, I had to relogin on browser as well ...), sorry I can't provide more help :(

if he changed password is normal that report invalid password... but does not happen immediately here on python we can't reproduce the website in full, so it's impossible to solve all particular cases


To all users and future users

Each case that emerges seems different so it becomes impossible to find a common meeting point to try to understand how to solve the problem, then just writing here that it doesn't work is totally useless...

1) Check if Netflix automatically reset your password for suspicious activity (notice by e-mail) 2) Provide a FULL debug log BY FOLLOW INSTRUCTION IN THE README 3) Explain if you use netflix only from the Kodi library, and how often you open and browse the add-on 4) Explain what operations you were doing when it happened, or did you do the last time you used 5) Let me know if the device stays with Kodi on 24 hours a day, without ever closing Kodi or turning off the device

In the Wiki there is a temporary solution, but, this will cancel any possibility of future testing in your system: https://github.com/CastagnaIT/plugin.video.netflix/wiki/FAQ-%28Errors%29#email-or-password-is-incorrect

sajo84 commented 4 years ago

I hope I did now the correct debugging 01_KODI.log I use LIBREELEC on KODI 18, Netflix Addon 1.2.2 Kodi always ON (24/7)

CastagnaIT commented 4 years ago

@sajo84 your problem is another again different to others,

i see this:

2020-05-12 14:53:44.641 T:1790935936   DEBUG: [plugin.video.netflix (3)] It is not possible to get a system UUID creating a new UUID

I will provide you with a modified version for testing, then you will need to provide me a log with the modified version, so i can verify where the problem is coming from

CastagnaIT commented 4 years ago

@sajo84 install and give me a new log thanks plugin.video.netflix_1.2.2_20200512_rpi_t1.zip

sajo84 commented 4 years ago

Here we go with new Debug log 01_KODI.log Thanks for your help.

CastagnaIT commented 4 years ago

@sajo84 again wrong log no nf debug

sajo84 commented 4 years ago

New 01_KODI_NEW.log

CastagnaIT commented 4 years ago

Found the issue, install this: plugin.video.netflix_1.2.2_20200512_rpi_t2.zip

then you will have to logout and redo the login

sajo84 commented 4 years ago

I've activated the Debug-logging on Kodi settings => System and set logging level on Netflix Addon to Verbose with the new plugin.video.netflix_1.2.2_20200512_rpi_t2. (I do not see how to activate nf debug) Same issue: 01_KODI.log

CastagnaIT commented 4 years ago

you have do Logout? settings>logout?

i do not see the Logout executed in log

sajo84 commented 4 years ago

Hi, After changing the password, it is working again! :)

mhutzsch commented 4 years ago

having a "+" sign in the account email causes this issue. Simply change your accounts adress to something else: foo.bar+netflix@gmail.com <- is not working foo.bar@gmail.com <- is working

CastagnaIT commented 4 years ago

@mhutzsch can you make a login test with email with plus "+" sign?: (take the version you need) Kodi18: plugin.video.netflix_1.4.0_20200613.zip Kodi19: plugin.video.netflix_1.4.0+matrix.1_20200613.zip

mhutzsch commented 4 years ago

@CastagnaIT thanks for fixing it. Will try later and report (not sure if I find some time today for, if not tmr)

mhutzsch commented 4 years ago

@CastagnaIT didnt't work. See attached kodi.log (Ignore the parts in the log where I uninstalled and reinstalled the plugin, I just wanted to be on the offical one instead of the patched version. The 401 caused by too many requests can be ignored as well)

I tried it the following way:

CastagnaIT commented 4 years ago

but it does raise a question for me, can other special characters than "+" cause problem with login/playback? can countries that using special characters have difficulties?

i will add in to todo list

mhutzsch commented 4 years ago

Well, it could be an unexpected behaviour in the netflix api...

Air-w0lf commented 4 years ago

@CastagnaIT thanks for your work on this plugin. I am having the same error as @adlerweb I think using the latest 1.7.1 plugin on Leia.

[DELETED - no log text in message content]

See attached log file (I've enabled DEBUG/verbose).

kodi.log

I am using an e-mail address with format firstname.lastname@gmail.com and the password has a special character in it. Could these be causing issues? I am also from New Zealand so I don't know if there's any weird regional problem?

Just like @adlerweb I have no problems logging into Netflix on other devices, browsers, apps. I haven't been locked out or forced to reset the password.

Let me know if I can help further...

CastagnaIT commented 4 years ago

@Air-w0lf your email has no particular special characters, can you write here the special characters used for password? (also intended with characters with particular accents dots etc..)

Air-w0lf commented 4 years ago

@Air-w0lf your email has no particular special characters, can you write here the special characters used for password? (also intended with characters with particular accents dots etc..)

Thanks @CastagnaIT for the prompt response. The only special character in the password is '@' and everything else is just regular English letters and numbers. If it was up to me I would have changed the password already to test my theory but this is a shared premium account with four people using it and so I don't want to cause them problems if possible!