hass-aarlo icon indicating copy to clipboard operation
hass-aarlo copied to clipboard

Memory/Thread leak when unable to authenticate.

Open ynazar1 opened this issue 1 year ago • 21 comments

If Arlo integration is unable to auth it slowly leaks threads that never finish, eventually crashing home assistant.

unnamed

Running v0.7.2b8.3 version on HASSOS 8.5 Homeassistant: 2022.9.7 with following configs:

aarlo: username: !secret arlo.user password: !secret arlo.pass refresh_devices_every: 2 stream_timeout: 120 refresh_modes_every: 1 reconnect_every: 30 request_timeout: 120 packet_dump: false backend: sse tfa_source: push tfa_type: PUSH

Due to personal reasons my phone changed and there's an Arlo bug that prevents push notifications. As they are currently broken ARLO never completes authentication and leaks threads crashing home assistant after about 14 days due to out of memory exception.

ynazar1 avatar Oct 04 '22 04:10 ynazar1