#cloudflared getting Killed regularly after last update.

1 messages · Page 1 of 1 (latest)

solid whale
#

before 7.0.1, i never had any issues with cloudflared, despite my tiny HA hardware capability (pi 3).

now, seems like after restarting cloudflared it only works for a couple requests and then it's Killed. I'm guessing ram issues?

dusky palm
solid whale
#

no way to rollback an addon is there?

#

odd that the watchdog doesn't restart it, but i suppose since it's likely ram related, that makes some sense.

dusky palm
solid whale
#

oh interesting, i think it's an unhandled bug

#

cloudflared got killed... while i was watching the ram not do anything (80%) ... and got a dump of the cloudflare 502 error on the client's cloudflared log

#

i guess that's not indicative so much as probably symptomatic though

#

"The web server reported a bad gateway error."

solid whale
#

i suppose dmesg would be the next thing to check

dusky palm
solid whale
#

i haven't seen anything in any logs anywhere that hint why it's being killed

#

not sure if i can ssh in though?

dusky palm
# solid whale not sure if i can ssh in though?

there are ways of enabling ssh to the host system but in general its not overly recommended. plugging in a monitor and keyboard is often the quickest way to get to the host system shell. from the HA-CLI thats running by default you can type login and it will drop you to a root shell.

solid whale
#

supervisor log just says "warning cloudflared is failed"

#

2025-12-26 12:36:58.859 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Cloudflared is failed, restarting...

#

"Host" logs seem to take forever to load

dusky palm
#

and nothing in the cloudflared addons logs? it would seem that the problem is likely in there. if the supervisor isn't killing it then its either dying itself or something else is causing it to fall over (in which case dmesg might be the way to investigate)

solid whale
#

correct

#

i'm gonna restart cloudflared to try and get a proximal time to when it dies

#

I realize this is probably a "time for new hardware" issue, but I haven't really found proof of that yet.

#

plus shipping time etc lol

dusky palm
#

it could be your boot/data media I guess? what are you using for storage?

somber tartan
#

pi3 is maxed out at some point

solid whale
#

i don't have any proof that the pi3 is maxxed here, causing this issue

#

worked perfectly for months and suddenly 7.0.1 comes out and it won't stay up for 10m

somber tartan
#

does not have to be right now, but it's just not future proof. was more about the first part, the user experience 😉

solid whale
#

well, it seems i've cured the issue

#

maybe speaking too soon

#

but...

#

i finally "rebooted the system" instead of "restarting HA" (which i thought was a reboot

#

hasn't had an issue since.

dusky palm
#

hopefully problem is resolved in any case 🙂
although a hardware update is probably something you should do sooner rather than later tbh.

solid whale
#

@dusky palm fyi, i believe i have identified it. I had added Matter near the time of the update. it utilizes 400MB of ram. that's a lot for a 1GB pi3b.

#

i killed off matter and pulseaudio and saved half my available ram. rock solid again

dusky palm
solid whale
#

it's kinda funny... i unexpectedly allocated 40% of my ram to something i didn't use. I did buy a NUC so ...

#

but really, unless i need Matter for something, i've got a decent margin yet. :D >_< silliness

#

the real problem was that I wasn't really given good indications that i had exhausted my RAM, until i got in and checked the linuxy bits like dmesg

#

from the UI, just "Killed"