OttPeterR / addon-babybuddy

BabyBuddy, wrapped into a Home Assistant addon
35 stars 13 forks source link

Frequent "freezes" #23

Closed jeroenterheerdt closed 1 year ago

jeroenterheerdt commented 2 years ago

Frequently the addon "freezes" - i.e. is not responsive anymore (webpage cannot be open). A simple restart does the trick. There is nothing in the addon logs, they look normal:

...
[02:21:46] INFO: NGINX waiting on babybuddy...
[2022-11-18 02:21:48 -0800] [201] [INFO] Starting gunicorn 20.1.0
[2022-11-18 02:21:48 -0800] [201] [INFO] Listening at: http://0.0.0.0:8000 (201)
[2022-11-18 02:21:48 -0800] [201] [INFO] Using worker: gthread
[2022-11-18 02:21:48 -0800] [241] [INFO] Booting worker with pid: 241
[2022-11-18 02:21:48 -0800] [242] [INFO] Booting worker with pid: 242
[02:21:48] INFO: Starting NGINX...

I am on Raspberry Pi 4, armv7 architecture.

OttPeterR commented 2 years ago

I've noticed this as well and I'm not sure what the cause it. Are you on iOS? (I am and this is where I see it happening, so maybe it's because of of an iOS reason)

jeroenterheerdt commented 2 years ago

Nope, I am on android, also seeing the same on pc. Restart of addon resolves it, but is annoying in the middle of the night 😂. I have reverted to the unsupported scenario of running babybuddy as container (stack) using the deprecated Portainer addon. Weirdly enough that never has the problem, albeit it's reported by ha as unsupported of course.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Peter Ott @.> Sent: Friday, November 18, 2022 5:08:34 PM To: OttPeterR/addon-babybuddy @.> Cc: Jeroen ter Heerdt @.>; Author @.> Subject: Re: [OttPeterR/addon-babybuddy] Frequent "freezes" (Issue #23)

I've noticed this as well and I'm not sure what the cause it. Are you on iOS? (I am and this is where I see it happening, so maybe it's because of of an iOS reason)

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOttPeterR%2Faddon-babybuddy%2Fissues%2F23%23issuecomment-1320719618&data=05%7C01%7C%7C2688fed9fad3401bcd8808dac9ca9577%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638044169171126020%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ipDZSLwW2PU3Tvp4uvzvuk%2BQDw1Z4%2BlsEB6VACqCbN0%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB6PIPVCTZOKGJDK67YMCZDWJASBFANCNFSM6AAAAAASE62B6U&data=05%7C01%7C%7C2688fed9fad3401bcd8808dac9ca9577%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638044169171126020%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=yZt9wTxrxvJ3jXhmHT07GLwkKq7L1kapqpe00q8S368%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

jeroenterheerdt commented 1 year ago

@OttPeterR I noticed a new version of the addon, any chance you could let me know if this potentially solves the freezes?

OttPeterR commented 1 year ago

There's no changes specific to the freezes you're experiencing unfortunately. I thought some more about what you commented and that may be unique to your install. The freezes I get are only temporary in the PWA and clearing it fixes it (without a need for an addon restart).

OttPeterR commented 1 year ago

if you've been running an updated addon, have you seen the freezes recently?

jeroenterheerdt commented 1 year ago

freezes are definitely less, so let's close this issue for now.