[Bug]: Periodical hiccup
Author: janusnCreated May 10, 2026Updated Sep 9, 2026
Labelsbug
Prerequisites
- I have searched existing issues and discussions to ensure this bug hasn't been reported before
- I have read the troubleshooting section in the README
- I have tested this issue with yt-dlp directly (not just through MeTube UI) as described in the README
- I have checked that this is not a yt-dlp issue (if it is, please report it to yt-dlp repository instead)
Bug Description
From my experience, the WebUI locks up periodically from time to time. Furthermore, I have been using Home Assistant for health check which curl the webui of metube periodically to verify how frequently the hiccup happens. In fact, I have 2 instances of Home Assistants and 2 instances of MeTube's running at http://10.27.0.61:8081 and http://10.27.0.61:8082.
Here is a relevant snip of the log of an instant of home assistant:
2026-05-10 11:21:44.388 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:21:44.388 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:21:45.290 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:21:45.291 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:22:14.389 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:22:14.391 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:22:15.290 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:22:15.290 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:22:44.387 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:22:44.388 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:22:45.290 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:22:45.291 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:23:14.388 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:23:14.389 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:23:15.290 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:23:15.291 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:23:44.393 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:23:44.395 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:23:45.290 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:23:45.291 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:24:14.386 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:24:14.386 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:24:15.289 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:24:15.290 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:24:44.389 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:24:44.391 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:24:45.289 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:24:45.290 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:25:14.391 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:25:14.392 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:25:15.289 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:25:15.290 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081Here is another relevant snip from another instance of Home Assistant:
2026-05-10 09:19:54.563 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 09:19:54.837 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 09:20:24.565 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 09:20:24.565 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 09:20:24.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 09:20:24.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 09:20:54.566 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 09:20:54.566 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 09:20:54.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 09:20:54.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 09:21:24.569 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 09:21:24.569 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 09:21:24.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 09:21:24.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 09:21:54.569 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 09:21:54.569 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 09:21:54.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 09:21:54.837 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 09:22:24.573 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 09:22:24.573 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 09:22:24.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 09:22:24.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 09:22:54.569 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 09:22:54.570 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 09:22:54.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 09:22:54.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 09:23:24.573 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 09:23:24.573 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 09:23:24.837 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 09:23:24.837 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 09:23:54.573 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 09:23:54.573 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 09:23:54.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 09:23:54.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 09:24:24.574 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 09:24:24.574 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 09:24:24.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 09:24:24.837 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 10:04:54.644 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 10:04:54.644 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 10:04:54.837 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 10:04:54.838 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 10:05:24.646 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 10:05:24.647 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 10:05:24.838 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 10:05:24.838 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 10:05:54.645 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 10:05:54.646 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 10:05:54.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 10:05:54.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 10:06:24.648 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 10:06:24.649 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 10:06:24.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 10:06:24.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 10:06:54.647 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 10:06:54.647 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 10:06:54.840 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 10:06:54.840 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 10:07:24.650 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 10:07:24.650 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 10:07:24.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 10:07:24.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:21:24.781 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:21:24.781 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:21:24.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:21:24.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:21:54.784 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:21:54.784 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:21:54.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:21:54.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:22:24.779 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:22:24.779 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:22:24.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:22:24.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:22:54.784 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:22:54.784 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:22:54.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:22:54.836 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:23:24.785 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:23:24.785 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:23:24.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:23:24.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:23:54.789 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:23:54.790 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:23:54.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:23:54.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:24:24.789 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:24:24.789 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:24:24.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:24:24.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:24:54.792 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:24:54.792 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:24:54.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:24:54.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:25:24.790 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube is taking over 10 seconds
2026-05-10 11:25:24.790 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.x11dpu_metube_proxy is taking over 10 seconds
2026-05-10 11:25:24.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8081
2026-05-10 11:25:24.835 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: http://10.27.0.61:8082
2026-05-10 11:47:43.813 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform rest is taking over 10 seconds.
2026-05-10 12:15:18.775 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform rest is taking over 10 seconds.yt-dlp Direct Test Results
Not relevant.
Environment & Configuration
Environment:
- MeTube version: 2026.04.28
- Docker image: ghcr.io/alexta69/metube:latest
- Operating System:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookwormConfiguration:
---
# metube/metube/metube.yaml
services:
metube:
image: "ghcr.io/alexta69/metube:latest"
container_name: metube
hostname: x11dpu-metube
deploy:
resources:
limits:
memory: 16G
environment:
UID: 3004
GID: 5004
UMASK: 002
CUSTOM_DIRS: true
XDG_CONFIG_HOME: "/config"Source: alexta69/metube