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

[Bug]: Getting an error and multiple times captcha request #371

Open
edw00d4711 opened this issue Sep 2, 2023 · 0 comments
Open

[Bug]: Getting an error and multiple times captcha request #371

edw00d4711 opened this issue Sep 2, 2023 · 0 comments
Assignees
Labels
bug Something isn't working fixed in next version Fixed in the code of the next release
Milestone

Comments

@edw00d4711
Copy link

Adapter version

1.1.2

JS-Controller version

4.0.24

Node version

v18.17.1

Operating System type

Linux

Operating system version

Linux ubuntu 5.15.0-1035-raspi #38-Ubuntu SMP PREEMPT Tue Jul 18 12:17:11 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

Describe the bug

On adapter start i get the following error.
Plus i get always a captcha request. If i solve the captcha (correctly) i get another in the background.
Sometimes i get a list of the objects sometimes not.

2023-09-02 15:49:48.668 - error: eusec.0 (550789) Data decryption error, invalidating session data and reconnecting... [{"error":{"message":"TypeError: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Array","stacktrace":"TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Array\n at new NodeError (node:internal/errors:405:5)\n at Decipheriv.update (node:internal/crypto/cipher:182:11)\n at decryptAPIData (/opt/iobroker/node_modules/eufy-security-client/build/http/utils.js:184:16)\n at HTTPApi.decryptAPIData (/opt/iobroker/node_modules/eufy-security-client/build/http/api.js:1067:60)\n at HTTPApi.getHouseInviteList (/opt/iobroker/node_modules/eufy-security-client/build/http/api.js:1209:58)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async EufySecurity.processInvitations (/opt/iobroker/node_modules/eufy-security-client/build/eufysecurity.js:954:30)\n at async EufySecurity.refreshCloudData (/opt/iobroker/node_modules/eufy-security-client/build/eufysecurity.js:680:13)\n at async EufySecurity.onAPIConnect (/opt/iobroker/node_modules/eufy-security-client/build/eufysecurity.js:784:9)"}}]

To reproduce

(Re)start the eusec adapter.
Waited even 48h. Same problem after a few hours,

Screenshots & Logfiles

20230902.pdf

Additional context

No response

@edw00d4711 edw00d4711 added the bug Something isn't working label Sep 2, 2023
@bropat bropat self-assigned this Oct 6, 2023
@bropat bropat added the fixed in next version Fixed in the code of the next release label Jan 5, 2024
@bropat bropat added this to the 1.3.0 milestone Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed in next version Fixed in the code of the next release
Projects
None yet
Development

No branches or pull requests

2 participants