samemory / homebridge-eufy-security

Work in progress
Apache License 2.0
97 stars 14 forks source link

[Bug]: Can't login, getting errors #280

Closed infinitenewworld closed 2 years ago

infinitenewworld commented 2 years ago

What happened?

Showing the error log here, blanked out name and password for security, confirmed this account worked when logging into my phone, 2FA is enabled. Have tried lots of things to fix and nothing seems to work.

[11/24/2021, 2:12:36 PM] [Homebridge UI] [homebridge-eufy-security] [1.0.4] DEBUG: Response: [11/24/2021, 2:12:36 PM] [Homebridge UI] [homebridge-eufy-security] [1.0.4] ERROR: Status return code not 200 { status: 204, statusText: 'No Content' } [11/24/2021, 2:12:36 PM] [Homebridge UI] [homebridge-eufy-security] [1.0.4] ERROR: Token error [11/24/2021, 2:12:38 PM] [Homebridge UI] [homebridge-eufy-security] Terminating child process... [11/24/2021, 2:12:38 PM] [Homebridge UI] [homebridge-eufy-security] Child process ended [11/24/2021, 2:12:41 PM] [Homebridge UI] Changes to config.json saved. [11/24/2021, 2:12:41 PM] [Homebridge UI] Running Command: npm uninstall --save homebridge-eufy-security [11/24/2021, 2:14:27 PM] [Homebridge UI] Running Command: npm install --save homebridge-samsung-tizen@5.2.0-beta.0 [11/24/2021, 2:14:46 PM] [Homebridge UI] Running Command: npm install --save homebridge-eufy-security@latest [11/24/2021, 2:14:58 PM] [Homebridge UI] [homebridge-eufy-security] Terminating child process... [11/24/2021, 2:14:58 PM] [Homebridge UI] [homebridge-eufy-security] Child process ended [11/24/2021, 2:18:12 PM] [Homebridge UI] Changes to config.json saved. [11/24/2021, 2:18:12 PM] [Homebridge UI] [homebridge-eufy-security] Terminating child process... [11/24/2021, 2:18:12 PM] [Homebridge UI] [homebridge-eufy-security] Child process ended [11/24/2021, 2:18:26 PM] [Homebridge UI] [homebridge-eufy-security] Incoming Request: /request-otp [11/24/2021, 2:18:26 PM] [Homebridge UI] [homebridge-eufy-security] [1.0.4] DEBUG: Load previous login_hash: 480e0471b0c35619a39b58999d3873c2 [11/24/2021, 2:18:26 PM] [Homebridge UI] [homebridge-eufy-security] [1.0.4] INFO: Authentication properties changed, invalidate saved cloud token. [11/24/2021, 2:18:26 PM] [Homebridge UI] [homebridge-eufy-security] [1.0.4] DEBUG: Generated new openudid: 4ac54c977b0eebaf [11/24/2021, 2:18:26 PM] [Homebridge UI] [homebridge-eufy-security] [1.0.4] DEBUG: Generated new serial_number: c98c8649c9c6 [11/24/2021, 2:18:26 PM] [Homebridge UI] [homebridge-eufy-security] [1.0.4] DEBUG: Authenticate and get an access token { token: null, tokenExpiration: null } [11/24/2021, 2:18:26 PM] [Homebridge UI] [homebridge-eufy-security] [1.0.4] DEBUG: Request: { method: 'post', endpoint: 'passport/login', baseUrl: 'https://mysecurity.eufylife.com/api/v1', token: null, data: { email: 'grah@**', password: '**' }, headers: { app_version: 'v2.8.0_887', os_type: 'android', os_version: '30', phone_model: 'EUFYCLIENT', country: 'US', language: 'en', openudid: '4ac54c977b0eebaf', uid: '', net_type: 'wifi', mnc: '02', mcc: '262', sn: 'c98c8649c9c6', Model_type: 'PHONE', timezone: 'GMT-08:00' } }

Device Type

Indoor Camera (Supported)

Plugin Version

v1.0.x (Supported)

HomeBridge Version

v1.3.x (Supported)

NodeJS Version

v12 (Supported)

Operating System

Other

Relevant log output

No response

github-actions[bot] commented 2 years ago

Did you check this Common Issues pages ?

Deshmir commented 2 years ago

Good that I’m not the only one here

MattC3156 commented 2 years ago

Same here :-(

infinitenewworld commented 2 years ago

yes, I checked the common issues thread to no avail.

n0n4m3d commented 2 years ago

Same here

Kerjoeweb commented 2 years ago

Same here, I have tried to log with 3 different account and only one is connecting successfully but mine not, any i have tried whitout 2FA and whit it enable

DavTechFr commented 2 years ago

Same here.

from @schliemann ” This is a bug in the client library It has been fixed. But we need to use the newest version.”

https://github.com/samemory/homebridge-eufy-security/discussions/279

schliemann commented 2 years ago

Please try and install 1.0.6

Deshmir commented 2 years ago

@schliemann @DavTechFr I updated it to "homebridge-eufy-security v1.0.6" and it works again!, much appreciated. (I thought I was on the latest version already.).

P.S. is there a way to 'hide' the alarm, or not send it to homekit?

schliemann commented 2 years ago

@Deshmir Not quite sure. Do you mean not adding the homebase as a security system?

Deshmir commented 2 years ago

@schliemann yeah, indeed. I'm not using that functionality anyway. (and it's an annoying extra button)

n0n4m3d commented 2 years ago

Yes, with 1.0.6 it works again. thanks

DavTechFr commented 2 years ago

@schliemann Wahou! It works fine with 1.0.6 thanks a lot

David

PS: Now i am facing a issue with ffmg : exit code 1 ; signal null But another story

schliemann commented 2 years ago

Yeah. Not quite sure with the ffmpeg error. I also have it.

Deshmir commented 2 years ago

Ive noticed that the still image (snapshot) still works.

Kr0n1c commented 2 years ago

I started having issues with my doorbell. Tried upgrading to 1.0.6.

In the logs, it seems Eufy is challenging with a captcha.

schliemann commented 2 years ago

This issue was related to problem getting devices. Should be solved in 1.0.6.