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]: container hangs when issuing start_listening command #223

Closed
lxrootard opened this issue Jun 3, 2023 · 1 comment
Closed

[Bug]: container hangs when issuing start_listening command #223

lxrootard opened this issue Jun 3, 2023 · 1 comment
Labels
bug Something isn't working fixed

Comments

@lxrootard
Copy link

lxrootard commented Jun 3, 2023

Version

1.5.2

Node version

docker aarch64

Operating System type

Linux

Operating system version

Linux JeedomLuna 4.4.194 #101 SMP Wed Sep 14 01:49:23 UTC 2022 aarch64 GNU/Linux

Describe the bug

Hi bropat

one of my Jeedom users experiences a container hang at startup in the start_listening command using my test script
Here's his output:
`

root@JeedomLuna:/var/www/html/plugins/eufy/resources# python3 test_eufy.py

*** Create connexion to 127.0.0.1:3000***
{« type »:« version »,« driverVersion »:« 2.6.2 »,« serverVersion »:« 1.5.2 »,« minSchemaVersion »:0,« maxSchemaVersion »:18}

*** Start listening ***

Here's the container log:root@JeedomLuna:/var/www/html/plugins/eufy/resources# docker logs --follow 2bb9f41c394a
2023-06-03 16:10:17.706 INFO Eufy Security server listening on host 0.0.0.0, port 3000
2023-06-03 16:14:30.730 INFO Client disconnected with ip: 172.17.0.1 port: 45706 code: 1006 reason: Abnormal Closure
2023-06-03 16:43:02.766 INFO Client disconnected with ip: 172.17.0.1 port: 46100 code: 1006 reason: Abnormal Closure
(node:1) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
(Use node --trace-warnings ... to show where the warning was created)
(node:1) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 stations loaded listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
2023-06-03 16:51:14.209 INFO Client disconnected with ip: 127.0.0.1 port: 37730 code: 1000 reason: Normal Closure
2023-06-03 16:53:52.470 INFO Client disconnected with ip: 127.0.0.1 port: 37748 code: 1000 reason: Normal Closure`

and his image:
REPOSITORY TAG IMAGE ID CREATED SIZE bropat/eufy-security-ws latest 9e0b57a40c3f 2 weeks ago 150MB

I've found this similar issue MaxListenersExceededWarning that you said you fixed in an earlier release.
Any hints?
Thanks

To reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '....'
  4. See error

Screenshots & Logfiles

No response

Additional context

No response

@lxrootard lxrootard added the bug Something isn't working label Jun 3, 2023
@fuatakgun
Copy link
Contributor

probably related: #211

@bropat bropat added the fixed in next release Fixed in the code of the next release label Aug 1, 2023
bropat added a commit that referenced this issue Aug 1, 2023
Added new property `lightSettingsManualLightingActiveMode`, `lightSettingsManualDailyLighting`, `lightSettingsManualColoredLighting`, `lightSettingsManualDynamicLighting`, `lightSettingsMotionLightingActiveMode`, `lightSettingsMotionDailyLighting`, `lightSettingsMotionColoredLighting`, `lightSettingsMotionDynamicLighting`, `lightSettingsScheduleLightingActiveMode`, `lightSettingsScheduleDailyLighting`, `lightSettingsScheduleColoredLighting`, `lightSettingsScheduleDynamicLighting`, `lightSettingsColoredLightingColors`, `lightSettingsDynamicLightingThemes`, `doorControlWarning`, `door1Open`, `door2Open`, `doorSensor1Status`, `doorSensor2Status`, `doorSensor1MacAddress`, `doorSensor2MacAddress`, `doorSensor1Name`, `doorSensor2Name`, `doorSensor1SerialNumber`, `doorSensor2SerialNumber`, `doorSensor1Version`, `doorSensor2Version`, `doorSensor1LowBattery`, `doorSensor2LowBattery`, `doorSensor1BatteryLevel`,
and `doorSensor2BatteryLevel` to Device
Fixed issue #186
Fixed issue #217
Fixed issue #221
Fixed issue #223
Implemented feature request #235
Updated dependency eufy-security-client to 2.7.0
Updated dependency commander to 11.0.0
Added dependency date-and-time to 3.0.2
Updated dev dependencies
Updated docs (#231)
@bropat bropat added fixed and removed fixed in next release Fixed in the code of the next release labels Aug 1, 2023
@bropat bropat closed this as completed Aug 1, 2023
bropat added a commit that referenced this issue Aug 9, 2023
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
Projects
None yet
Development

No branches or pull requests

3 participants