bropat / ioBroker.eusec

This ioBroker adapter allows to control Eufy security devices by connecting to the Eufy cloud servers.
MIT License
134 stars 17 forks source link

Fehlermeldung "Token Error" bei Versuch der Anmeldung #195

Closed Chrille1507 closed 2 years ago

Chrille1507 commented 2 years ago

Beim Versuch, sich anzumelden kommt nach der Eingabe des Captcha-Bildes und der 2FA-Zahlenreihe die Meldung:

"Token error" und "Response code not ok [{"code":10000,"msg":"Anfrage fehlgeschlagen."}]"

eufy-security.0 (4798) Captcha received, send it. (captcha: hHSY) eufy-security.0 (4798) Requested verification code for 2FA eufy-security.0 (4798) Two factor authentication request received, please enter valid verification code in state eufy-security.0.verify_code eufy-security.0 (4798) Verification code received, send it. (verify_code: 703097) eufy-security.0 (4798) Response code not ok [{"code":10000,"msg":"Anfrage fehlgeschlagen."}] eufy-security.0 (4798) Token error

Versions:

MBerantzino commented 2 years ago

Same issue - extended log:

2021-12-05 11:04:00.807 - ^[[33mwarn^[[39m: eufy-security.0 (49257) Captcha: <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFUAAAArCAYAAAAJ3cTrAAALtklEQVR4nOxaC5AU1dX+7sqC/AgIsnd4+EtkR6OJXI1R8TFoImMlE> 2021-12-05 11:04:42.493 - ^[[34mdebug^[[39m: eufy-security.0 (49257) [EufySecurity.onStateChange] state eufy-security.0.captcha changed: LDLX (ack = false) 2021-12-05 11:04:42.493 - ^[[32minfo^[[39m: eufy-security.0 (49257) Captcha received, send it. (captcha: LDLX) 2021-12-05 11:04:42.493 - ^[[34mdebug^[[39m: eufy-security.0 (49257) [HTTPApi.authenticate] Authenticate and get an access token [{"token":null,"tokenExpiration":null}] 2021-12-05 11:04:42.494 - ^[[34mdebug^[[39m: eufy-security.0 (49257) [HTTPApi.request] Request: [{"method":"post","endpoint":"v2/passport/login","baseUrl":"https://security-app-eu.eufylife.com","token":null,"da> 2021-12-05 11:04:42.497 - ^[[34mdebug^[[39m: eufy-security.0 (49257) [EufySecurity.onStateChange] state eufy-security.0.captcha deleted 2021-12-05 11:04:43.156 - ^[[34mdebug^[[39m: eufy-security.0 (49257) [HTTPApi.authenticate] Response: [{"code":26052,"msg":"need validate code","data":{"user_id":"62281b38cd37c507efb7fb4f761b7ab582e2df7c","emai> 2021-12-05 11:04:43.157 - ^[[34mdebug^[[39m: eufy-security.0 (49257) [HTTPApi.authenticate] Send verification code... 2021-12-05 11:04:43.157 - ^[[34mdebug^[[39m: eufy-security.0 (49257) [HTTPApi.authenticate] Token data [{"token":"f68524204e6028d4521ed961db3870be1ec289a27037ac8c","tokenExpiration":"2022-01-04T10:04:43.000Z"}] 2021-12-05 11:04:43.157 - ^[[34mdebug^[[39m: eufy-security.0 (49257) [HTTPApi.request] Request: [{"method":"post","endpoint":"v1/sms/send/verify_code","baseUrl":"https://security-app-eu.eufylife.com","token":"f> 2021-12-05 11:04:43.194 - ^[[34mdebug^[[39m: eufy-security.0 (49257) [HTTPApi.sendVerifyCode] Response: [{"code":0,"msg":"Succeed."}] 2021-12-05 11:04:43.194 - ^[[32minfo^[[39m: eufy-security.0 (49257) Requested verification code for 2FA 2021-12-05 11:04:43.194 - ^[[33mwarn^[[39m: eufy-security.0 (49257) Two factor authentication request received, please enter valid verification code in state eufy-security.0.verify_code 2021-12-05 11:05:12.473 - ^[[34mdebug^[[39m: eufy-security.0 (49257) [EufySecurity.onStateChange] state eufy-security.0.verify_code changed: 784606 (ack = false) 2021-12-05 11:05:12.473 - ^[[32minfo^[[39m: eufy-security.0 (49257) Verification code received, send it. (verify_code: 784606) 2021-12-05 11:05:12.473 - ^[[34mdebug^[[39m: eufy-security.0 (49257) [HTTPApi.authenticate] Authenticate and get an access token [{"token":"f68524204e6028d4521ed961db3870be1ec289a27037ac8c","tokenExpiration":"2> 2021-12-05 11:05:12.474 - ^[[34mdebug^[[39m: eufy-security.0 (49257) [HTTPApi.request] Request: [{"method":"post","endpoint":"v2/passport/login","baseUrl":"https://security-app-eu.eufylife.com","token":"f685242> 2021-12-05 11:05:12.477 - ^[[34mdebug^[[39m: eufy-security.0 (49257) [EufySecurity.onStateChange] state eufy-security.0.verify_code deleted 2021-12-05 11:05:12.507 - ^[[34mdebug^[[39m: eufy-security.0 (49257) [HTTPApi.authenticate] Response: [{"code":10000,"msg":"Failed to request."}] 2021-12-05 11:05:12.508 - ^[[31merror^[[39m: eufy-security.0 (49257) Response code not ok [{"code":10000,"msg":"Failed to request."}] 2021-12-05 11:05:12.508 - ^[[31merror^[[39m: eufy-security.0 (49257) Token error

log.txt