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]: constant drop outs in log, when i reset the Eufy-security-ws addon in HA it crashes my base station leaving it offline. Consistently #375

Open
LucHyg opened this issue Nov 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@LucHyg
Copy link

LucHyg commented Nov 17, 2024

Version

see images below

Node version

** unsure

Operating System type

Other

Operating system version

HA installed on bare metal server

Describe the bug

Sorry i dont often report bugs, and I have searched everywhere so this was my logical next step.

I have many automations and devices set up with my eufy security system.
9 cameras, 1 base station, 1 keypad, 1 door sensor.
since last update, i noticed that my automations were not firing.
I checked the eufy-security-ws addon log and have seen many timeout errors.
It successfully established for maybe a few hours and then just drops off.
I have not had any success in fixing this.

To reproduce

It just disconnects on its own usually, however i have noticed I can reset the Eufy-security-ws addon in HA and it will crash my Eufy homebase and cause everything in the Eufy app on my phone to show "homebase is offline.

Screenshots & Logfiles

image
image

}
2024-11-17 01:41:46.715 WARN eufy-security-ws:eufy-security-client [p2p] [P2PClientProtocol.sendPing] Heartbeat check failed for station T8010N132046163D. Connection seems lost. Try to reconnect...
2024-11-17 01:41:46.717 INFO eufy-security-ws:eufy-security-client [http] [Station.onDisconnect] Disconnected from station T8010N132046163D
2024-11-17 01:42:16.915 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Tried all hosts, no connection could be established to station T8010N132046163D.
2024-11-17 01:42:16.916 INFO eufy-security-ws:eufy-security-client [http] [Station.onTimeout] Timeout connecting to station T8010N132046163D
2024-11-17 01:42:46.934 ERROR eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] All address lookup tentatives failed. {
stationSN: 'T8010N132046163D'
}
2024-11-17 01:42:46.935 INFO eufy-security-ws:eufy-security-client [http] [Station.onTimeout] Timeout connecting to station T8010N132046163D
2024-11-17 01:47:34.225 INFO eufy-security-ws:eufy-security-client [http] [Station.onConnect] Connected to station T8010N132046163D on host 192.168.86.30 and port 13661
2024-11-17 01:47:35.198 WARN eufy-security-ws:eufy-security-client [p2p] [P2PClientProtocol._sendCommand] Command aged out from send queue for station T8010N132046163D {
commandType: 1350,
nestedCommandType: 1308,
channel: 255,
ageing: 356097,
maxAgeing: 120000
}
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
2024-11-17 01:48:02.814 INFO eufy-security-ws:eufy-security-client [main] Push notification connection closed
2024-11-17 01:48:02.816 INFO eufy-security-ws:eufy-security-client [http] [Station.close] Disconnect from station T8010N132046163D
Shutting down
2024-11-17 01:48:02.822 INFO eufy-security-ws:eufy-security-client [http] [Station.onDisconnect] Disconnected from station T8010N132046163D
2024-11-17 01:48:03.392 INFO eufy-security-ws Client disconnected with ip: 127.0.0.1 port: 58446 code: 1000 reason: Normal Closure
2024-11-17 01:48:03.393 INFO eufy-security-ws Server closed
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
SECURITY WARNING: Reverting CVE-2023-46809: Marvin attack on PKCS#1 padding
2024-11-17 01:48:08.041 INFO eufy-security-ws Eufy Security server listening on host 0.0.0.0, port 3000
2024-11-17 01:48:12.756 INFO eufy-security-ws:eufy-security-client [http] [Station.onConnect] Connected to station T8010N132046163D on host 192.168.86.30 and port 20334
2024-11-17 01:48:15.527 INFO eufy-security-ws:eufy-security-client [main] Push notification connection successfully established
2024-11-17 01:48:43.740 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Result data for command not received {
stationSN: 'T8010N132046163D',
message: {
sequence: 10,
commandType: 1350,
nestedCommandType: 1306,
channel: 0,
acknowledged: true,
retries: 0,
returnCode: undefined,
data: <Buffer d1 00 00 0a 58 5a 59 48 46 05 c0 00 00 00 01 00 00 01 00 00 e6 94 a6 16 ef d9 cd 8c 82 09 1a c2 f9 79 43 e8 ca dc ac d8 f5 d7 12 cc ac 39 9d 08 e9 6c ... 162 more bytes>
}
}
2024-11-17 01:48:43.807 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Result data for command not received {
stationSN: 'T8010N132046163D',
message: {
sequence: 11,
commandType: 1103,
nestedCommandType: undefined,
channel: 255,
acknowledged: true,
retries: 0,
returnCode: undefined,
data: <Buffer d1 00 00 0b 58 5a 59 48 4f 04 10 00 00 00 01 00 ff 01 00 00 5b f8 96 a8 b4 02 68 44 a2 4a b1 df a0 49 05 06>
}
}
2024-11-17 01:48:43.824 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Result data for command not received {
stationSN: 'T8010N132046163D',
message: {
sequence: 12,
commandType: 1144,
nestedCommandType: undefined,
channel: 255,
acknowledged: true,
retries: 0,
returnCode: undefined,
data: <Buffer d1 00 00 0c 58 5a 59 48 78 04 00 00 00 00 01 00 ff 00 00 00>
}
}
2024-11-17 01:49:18.391 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Result data for command not received {
stationSN: 'T8010N132046163D',
message: {
sequence: 13,
commandType: 1350,
nestedCommandType: 1308,
channel: 255,
acknowledged: true,
retries: 0,
returnCode: undefined,
data: <Buffer d1 00 00 0d 58 5a 59 48 46 05 e0 00 00 00 01 00 ff 01 00 00 e6 94 a6 16 ef d9 cd 8c 82 09 1a c2 f9 79 43 e8 ca dc ac d8 f5 d7 12 cc ac 39 9d 08 e9 6c ... 194 more bytes>
}
}
2024-11-17 01:49:19.327 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Result data for command not received {
stationSN: 'T8010N132046163D',
message: {
sequence: 14,
commandType: 1350,
nestedCommandType: 1308,
channel: 255,
acknowledged: true,
retries: 0,
returnCode: undefined,
data: <Buffer d1 00 00 0e 58 5a 59 48 46 05 e0 00 00 00 01 00 ff 01 00 00 e6 94 a6 16 ef d9 cd 8c 82 09 1a c2 f9 79 43 e8 ca dc ac d8 f5 d7 12 cc ac 39 9d 08 e9 6c ... 194 more bytes>
}
}
2024-11-17 01:49:19.513 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Result data for command not received {
stationSN: 'T8010N132046163D',
message: {
sequence: 15,
commandType: 1350,
nestedCommandType: 1308,
channel: 255,
acknowledged: true,
retries: 0,
returnCode: undefined,
data: <Buffer d1 00 00 0f 58 5a 59 48 46 05 e0 00 00 00 01 00 ff 01 00 00 e6 94 a6 16 ef d9 cd 8c 82 09 1a c2 f9 79 43 e8 ca dc ac d8 f5 d7 12 cc ac 39 9d 08 e9 6c ... 194 more bytes>
}
}
2024-11-17 01:49:20.289 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Result data for command not received {
stationSN: 'T8010N132046163D',
message: {
sequence: 16,
commandType: 1350,
nestedCommandType: 1308,
channel: 255,
acknowledged: true,
retries: 0,
returnCode: undefined,
data: <Buffer d1 00 00 10 58 5a 59 48 46 05 e0 00 00 00 01 00 ff 01 00 00 e6 94 a6 16 ef d9 cd 8c 82 09 1a c2 f9 79 43 e8 ca dc ac d8 f5 d7 12 cc ac 39 9d 08 e9 6c ... 194 more bytes>
}
}
2024-11-17 01:49:20.374 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Result data for command not received {
stationSN: 'T8010N132046163D',
message: {
sequence: 17,
commandType: 1350,
nestedCommandType: 1308,
channel: 255,
acknowledged: true,
retries: 0,
returnCode: undefined,
data: <Buffer d1 00 00 11 58 5a 59 48 46 05 e0 00 00 00 01 00 ff 01 00 00 e6 94 a6 16 ef d9 cd 8c 82 09 1a c2 f9 79 43 e8 ca dc ac d8 f5 d7 12 cc ac 39 9d 08 e9 6c ... 194 more bytes>
}
}
2024-11-17 01:49:20.455 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Result data for command not received {
stationSN: 'T8010N132046163D',
message: {
sequence: 18,
commandType: 1350,
nestedCommandType: 1308,
channel: 255,
acknowledged: true,
retries: 0,
returnCode: undefined,
data: <Buffer d1 00 00 12 58 5a 59 48 46 05 e0 00 00 00 01 00 ff 01 00 00 e6 94 a6 16 ef d9 cd 8c 82 09 1a c2 f9 79 43 e8 ca dc ac d8 f5 d7 12 cc ac 39 9d 08 e9 6c ... 194 more bytes>
}
}
2024-11-17 01:49:20.550 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Result data for command not received {
stationSN: 'T8010N132046163D',
message: {
sequence: 19,
commandType: 1350,
nestedCommandType: 1308,
channel: 255,
acknowledged: true,
retries: 0,
returnCode: undefined,
data: <Buffer d1 00 00 13 58 5a 59 48 46 05 e0 00 00 00 01 00 ff 01 00 00 e6 94 a6 16 ef d9 cd 8c 82 09 1a c2 f9 79 43 e8 ca dc ac d8 f5 d7 12 cc ac 39 9d 08 e9 6c ... 194 more bytes>
}
}
2024-11-17 01:49:20.564 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Result data for command not received {
stationSN: 'T8010N132046163D',
message: {
sequence: 20,
commandType: 1350,
nestedCommandType: 1308,
channel: 255,
acknowledged: true,
retries: 0,
returnCode: undefined,
data: <Buffer d1 00 00 14 58 5a 59 48 46 05 e0 00 00 00 01 00 ff 01 00 00 e6 94 a6 16 ef d9 cd 8c 82 09 1a c2 f9 79 43 e8 ca dc ac d8 f5 d7 12 cc ac 39 9d 08 e9 6c ... 194 more bytes>
}
}
2024-11-17 01:49:20.598 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Result data for command not received {
stationSN: 'T8010N132046163D',
message: {
sequence: 21,
commandType: 1350,
nestedCommandType: 1308,
channel: 255,
acknowledged: true,
retries: 0,
returnCode: undefined,
data: <Buffer d1 00 00 15 58 5a 59 48 46 05 e0 00 00 00 01 00 ff 01 00 00 e6 94 a6 16 ef d9 cd 8c 82 09 1a c2 f9 79 43 e8 ca dc ac d8 f5 d7 12 cc ac 39 9d 08 e9 6c ... 194 more bytes>
}
}
2024-11-17 01:49:45.282 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Result data for command not received {
stationSN: 'T8010N132046163D',
message: {
sequence: 22,
commandType: 1350,
nestedCommandType: 1308,
channel: 255,
acknowledged: true,
retries: 0,
returnCode: undefined,
data: <Buffer d1 00 00 16 58 5a 59 48 46 05 00 01 00 00 01 00 ff 01 00 00 e6 94 a6 16 ef d9 cd 8c 82 09 1a c2 f9 79 43 e8 ca dc ac d8 f5 d7 12 cc ac 39 9d 08 e9 6c ... 226 more bytes>
}
}
2024-11-17 01:49:45.448 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Result data for command not received {
stationSN: 'T8010N132046163D',
message: {
sequence: 23,
commandType: 1350,
nestedCommandType: 1308,
channel: 255,
acknowledged: true,
retries: 0,
returnCode: undefined,
data: <Buffer d1 00 00 17 58 5a 59 48 46 05 00 01 00 00 01 00 ff 01 00 00 e6 94 a6 16 ef d9 cd 8c 82 09 1a c2 f9 79 43 e8 ca dc ac d8 f5 d7 12 cc ac 39 9d 08 e9 6c ... 226 more bytes>
}
}
2024-11-17 01:49:45.503 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Result data for command not received {
stationSN: 'T8010N132046163D',
message: {
sequence: 24,
commandType: 1350,
nestedCommandType: 1308,
channel: 255,
acknowledged: true,
retries: 0,
returnCode: undefined,
data: <Buffer d1 00 00 18 58 5a 59 48 46 05 00 01 00 00 01 00 ff 01 00 00 e6 94 a6 16 ef d9 cd 8c 82 09 1a c2 f9 79 43 e8 ca dc ac d8 f5 d7 12 cc ac 39 9d 08 e9 6c ... 226 more bytes>
}
}
2024-11-17 01:50:17.803 WARN eufy-security-ws:eufy-security-client [p2p] [P2PClientProtocol.sendPing] Heartbeat check failed for station T8010N132046163D. Connection seems lost. Try to reconnect...
2024-11-17 01:50:17.805 INFO eufy-security-ws:eufy-security-client [http] [Station.onDisconnect] Disconnected from station T8010N132046163D
2024-11-17 01:50:48.000 WARN eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] Tried all hosts, no connection could be established to station T8010N132046163D.
2024-11-17 01:50:48.002 INFO eufy-security-ws:eufy-security-client [http] [Station.onTimeout] Timeout connecting to station T8010N132046163D
2024-11-17 01:51:18.021 ERROR eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] All address lookup tentatives failed. {
stationSN: 'T8010N132046163D'
}
2024-11-17 01:51:18.022 INFO eufy-security-ws:eufy-security-client [http] [Station.onTimeout] Timeout connecting to station T8010N132046163D
2024-11-17 01:51:40.347 ERROR eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] All address lookup tentatives failed. {
stationSN: 'T8010N132046163D'
}
2024-11-17 01:51:40.348 INFO eufy-security-ws:eufy-security-client [http] [Station.onTimeout] Timeout connecting to station T8010N132046163D
2024-11-17 01:52:30.357 ERROR eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] All address lookup tentatives failed. {
stationSN: 'T8010N132046163D'
}
2024-11-17 01:52:30.360 INFO eufy-security-ws:eufy-security-client [http] [Station.onTimeout] Timeout connecting to station T8010N132046163D
2024-11-17 01:53:30.369 ERROR eufy-security-ws:eufy-security-client [p2p] [Timeout._onTimeout] All address lookup tentatives failed. {
stationSN: 'T8010N132046163D'
}
2024-11-17 01:53:30.370 INFO eufy-security-ws:eufy-security-client [http] [Station.onTimeout] Timeout connecting to station T8010N132046163D
2024-11-17 01:54:31.616 INFO eufy-security-ws:eufy-security-client [http] [Station.onConnect] Connected to station T8010N132046163D on host 192.168.86.30 and port 14636

Additional context

This comes up on HA if i reset the add-on - which i think is normal?
image

Also this is my app a minute after the reset. have got it to do this every single time repeatedly.

image
image
image

@LucHyg LucHyg added the bug Something isn't working label Nov 17, 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
Projects
None yet
Development

No branches or pull requests

1 participant