plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Bug]:

Open neoaxelot opened this issue 1 year ago • 1 comments

What happened?

Plugin crash due to possible memory leak. Here are the logs:

5/25/2024, 11:12:02 AMEufy Security BridgeERROR(node:4159179) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 new snapshot listeners added to [SnapshotManager]. Use emitter.setMaxListeners() to increase limit 5/25/2024, 11:13:18 AMEufy Security BridgeERROR(node:4159179) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 livestream start listeners added to [LocalLivestreamManager]. Use emitter.setMaxListeners() to increase limit 5/25/2024, 11:13:21 AMEufy Security BridgeERROR[DEVICE_Backyard East] Snapshot request handler provided empty image buffer! 5/25/2024, 11:19:22 AMeufysecuritybridge stopping 5/25/2024, 11:20:32 AMeufysecuritybridge stopping

Device Type

Doorbell (Supported)

Plugin Version

v3.0.x (Best Effort)

HomeBridge Version

v1.7.x (Supported)

NodeJS Version

v18 (Supported)

Operating System

Ubuntu 22.04+ (Supported)

Relevant log output

5/25/2024, 11:12:02 AMEufy Security BridgeERROR(node:4159179) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 new snapshot listeners added to [SnapshotManager]. Use emitter.setMaxListeners() to increase limit
5/25/2024, 11:13:18 AMEufy Security BridgeERROR(node:4159179) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 livestream start listeners added to [LocalLivestreamManager]. Use emitter.setMaxListeners() to increase limit
5/25/2024, 11:13:21 AMEufy Security BridgeERROR[DEVICE_Backyard East] Snapshot request handler provided empty image buffer!
5/25/2024, 11:19:22 AMeufysecuritybridge stopping
5/25/2024, 11:20:32 AMeufysecuritybridge stopping

config

{
    "enableDetailedLogging": 0,
    "CameraMaxLivestreamDuration": 30,
    "pollingIntervalMinutes": 10,
    "hkHome": 1,
    "hkAway": 0,
    "hkNight": 47,
    "hkOff": 63,
    "country": "US",
    "cameras": [
        {
            "serialNumber": "T8160P1122481031",
            "enableCamera": true,
            "snapshotHandlingMethod": 2,
            "refreshSnapshotIntervalMinutes": 30,
            "videoConfig": {
                "audio": true,
                "maxWidth": 640,
                "maxHeight": 480,
                "maxFPS": 15,
                "useSeparateProcesses": true
            },
            "useCachedLocalLivestream": true,
            "talkback": true
        },
        {
            "serialNumber": "T8160P112248112B",
            "enableCamera": true,
            "snapshotHandlingMethod": 2,
            "refreshSnapshotIntervalMinutes": 30,
            "videoConfig": {
                "audio": true,
                "maxWidth": 640,
                "maxHeight": 480,
                "maxFPS": 15,
                "useSeparateProcesses": true
            },
            "useCachedLocalLivestream": true,
            "talkback": true
        },
        {
            "serialNumber": "T8160P1122481289",
            "enableCamera": true,
            "snapshotHandlingMethod": 2,
            "refreshSnapshotIntervalMinutes": 30,
            "videoConfig": {
                "audio": true,
                "maxWidth": 640,
                "maxHeight": 480,
                "maxFPS": 15,
                "useSeparateProcesses": true
            },
            "useCachedLocalLivestream": true,
            "talkback": true
        },
        {
            "serialNumber": "T8423T6022430706",
            "enableCamera": true,
            "snapshotHandlingMethod": 2,
            "refreshSnapshotIntervalMinutes": 30,
            "videoConfig": {
                "audio": true,
                "maxWidth": 640,
                "maxHeight": 480,
                "maxFPS": 15,
                "useSeparateProcesses": true
            },
            "talkback": true
        },
        {
            "serialNumber": "T8423T6022430957",
            "enableCamera": true,
            "snapshotHandlingMethod": 2,
            "refreshSnapshotIntervalMinutes": 30,
            "videoConfig": {
                "audio": true,
                "maxWidth": 640,
                "maxHeight": 480,
                "maxFPS": 15,
                "useSeparateProcesses": true
            },
            "talkback": true
        }
    ],
    "cleanCache": true,
    "unbridge": true,
    "platform": "EufySecurity",
    "_bridge": {
        "username": "0E:57:0B:62:F7:D6",
        "port": 46519
    },
    "username": "xxxxxx",
    "password": "xxxxxx",
    "enableCamera": true
}

neoaxelot avatar May 25 '24 15:05 neoaxelot

Hello, do you use latest version ? I will need more intel. Can you go thru Basic Troubleshooting?

lenoxys avatar May 29 '24 06:05 lenoxys