Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR [HTTPApi.login] Response data is missing #152

Closed
annegerben opened this issue Nov 14, 2022 · 3 comments
Closed

ERROR [HTTPApi.login] Response data is missing #152

annegerben opened this issue Nov 14, 2022 · 3 comments

Comments

@annegerben
Copy link

annegerben commented Nov 14, 2022

Version

1.1.0

Node version

v16.18.1

Operating System type

Docker

Operating system version

Standalone 20.10.3 on synology

Describe the bug

since last update there is no data returned.

To reproduce

  1. Go to 'docker and run container'
  2. Click on 'check the logs'
  3. Scroll down to 'the end of the log'
  4. See error

since last update there is no data returned.
see logout below.

Screenshots & Logfiles

2022-11-14 13:48:50.322 DEBUG [undefined.constructor] Loaded API_BASE: https://security-app-eu.eufylife.com
2022-11-14 13:48:50.489 DEBUG [EufySecurity._initializeInternals] Load previous login_hash: REMOVED
2022-11-14 13:48:50.491 DEBUG [EufySecurity._initializeInternals] Generated new openudid: REMOVED
2022-11-14 13:48:50.492 DEBUG [EufySecurity._initializeInternals] Generated new serial_number: REMOVED
2022-11-14 13:48:50.626 DEBUG [src/lib/server.ts:489 EufySecurityServer.start] Starting server on host 0.0.0.0, port 3000
2022-11-14 13:48:50.630 INFO [src/lib/server.ts:495 EufySecurityServer.start] Eufy Security server listening on host 0.0.0.0, port 3000
2022-11-14 13:48:50.632 DEBUG [HTTPApi.login] Login and get an access token
{
token: null,
tokenExpiration: null
}
2022-11-14 13:48:50.637 DEBUG [HTTPApi.request] Request:
{
method: 'post',
endpoint: 'v2/passport/login_sec',
token: null,
data: {
ab: 'NL',
client_secret_info: {
public_key: 'REMOVED'
},
enc: 0,
email: '"REMOVED"',
password: '[***]',
time_zone: 3600000,
transaction: '1668433730636'
}
}
2022-11-14 13:48:50.705 DEBUG [HTTPApi.request] Response:
{
response: {
code: 0,
msg: 'Succeed.'
}
}
2022-11-14 13:48:50.706 ERROR [HTTPApi.login] Response data is missing
{
code: 0,
msg: 'Succeed.',
data: undefined
}

Additional context

No response

@annegerben annegerben added the bug Something isn't working label Nov 14, 2022
@carlywarly
Copy link

Getting the same here :(

@bropat
Copy link
Owner

bropat commented Nov 14, 2022

Look here

@annegerben
Copy link
Author

Thank you, after setting "TRUSTED_DEVICE_NAME" to match my phone the log stopped showing errors.

@bropat bropat removed the bug Something isn't working label Nov 15, 2022
@bropat bropat changed the title [Bug]: ERROR [HTTPApi.login] Response data is missing ERROR [HTTPApi.login] Response data is missing Nov 15, 2022
@bropat bropat pinned this issue Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants