Websocket issue effecting Pings

I am running Homarr v1.28.1 installed with Proxmox Community Helper script. I am having an issue that after 2-3 hours of starting Homarr the Pings stop working best I can tell is something to do with the wss websocket.
When I first start Homarr the pings work. I see in the logs "✅ WebSocket Server listening on ws://localhost:3001" with multiple other messages " Connection (5) GET /websockets" . However, after several hours, pings will switch to a blue circle and throw the error below in the log file. Restarting the LXC or even doing systemctl restart homarr resolves the issue for 2-3 more hours before it happens again. Jul 15 17:02:07 homarr run_homarr.sh[820]: 2025-07-15T21:02:07.823Z info: ➖ Connection (3) 1001 Jul 15 17:02:07 homarr run_homarr.sh[820]: node:internal/webstreams/readablestream:1077 Jul 15 17:02:07 homarr run_homarr.sh[820]: throw new ERR_INVALID_STATE.TypeError('Controller is already closed'); Jul 15 17:02:07 homarr run_homarr.sh[820]: ^ Jul 15 17:02:07 homarr run_homarr.sh[820]: TypeError [ERR_INVALID_STATE]: Invalid state: Controller is already closed Jul 15 17:02:07 homarr run_homarr.sh[820]: at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1077:13) Jul 15 17:02:07 homarr run_homarr.sh[820]: at Object.next (/opt/homarr/apps/websocket/wssServer.cjs:745:22) Jul 15 17:02:07 homarr run_homarr.sh[820]: at Object.next (/opt/homarr/apps/websocket/wssServer.cjs:676:100) Jul 15 17:02:07 homarr run_homarr.sh[820]: at /opt/homarr/apps/websocket/wssServer.cjs:786773:16 Jul 15 17:02:07 homarr run_homarr.sh[820]: at process.processTicksAndRejections (node:internal/process/task_queues:105:5) { Jul 15 17:02:07 homarr run_homarr.sh[820]: code: 'ERR_INVALID_STATE' Jul 15 17:02:07 homarr run_homarr.sh[820]: } Jul 15 17:02:07 homarr run_homarr.sh[820]: Node.js v22.17.0
Solution:
Hi, we're discussing this at the moment on GitHub: https://github.com/homarr-labs/homarr/issues/3622 . Please look into that issue and comment if the solution outlined does not work. I will mark this as resolved....
GitHub
bug: App Status Checks · Issue #3622 · homarr-labs/homarr
Describe the bug Status checks are no longer working as of the recent update and are stuck in a "Loading" state with a blue indicator. Steps to reproduce From a prior version, update to H...
Jump to solution
2 Replies
Cakey Bot
Cakey Bot2mo ago
Thank you for submitting a support request. Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Solution
Manicraft1001
Manicraft10012mo ago
Hi, we're discussing this at the moment on GitHub: https://github.com/homarr-labs/homarr/issues/3622 . Please look into that issue and comment if the solution outlined does not work. I will mark this as resolved.
GitHub
bug: App Status Checks · Issue #3622 · homarr-labs/homarr
Describe the bug Status checks are no longer working as of the recent update and are stuck in a "Loading" state with a blue indicator. Steps to reproduce From a prior version, update to H...

Did you find this page helpful?