beszel icon indicating copy to clipboard operation
beszel copied to clipboard

[Bug]: 1-minute charts non functional?

Open luckman212 opened this issue 1 year ago • 8 comments

Component

Hub

Description

I tried to change to the new 1-minute chart, but it does not load, and the dev console just fills up with

Image

(one every second)

Hub and all agents are updated to 0.13.0 and using Websocket connection

Steps to Reproduce

  1. Click on agent
  2. Switch to 1-minute chart

Category

Charts & Visualization

OS / Architecture

linux/amd64 (agent + hub) [also tested with Windows x64 agent]

Beszel version

0.13.0

Installation method

Binary (agents) + Docker (hub + agent)

Configuration

I have Beszel hub installed as Docker container, behind my Traefik proxy. All works well! All agents are connected via websocket with valid https from LE.

Everything works fine, except for the new 1 minute charts.

Hub Logs

Nothing relevant found in logs.

Agent Logs

Nothing relevant found in logs.

luckman212 avatar Oct 04 '25 18:10 luckman212

Dunno if this is the same issue, but it does not work for me neigther only on some VMs/Hosts.

I realized it fails only for machines that do not have docker installed (I use binary agents).

Here is the console error:

Uncaught TypeError: can't access property "length", q.container is null
    _q https://[REDACTED]/assets/system-CezzQ1Ab.js:61
    f https://[REDACTED]/assets/index-BFta_U6I.js:18
    addAllSubscriptionListeners https://[REDACTED]/assets/index-BFta_U6I.js:18
    submitSubscriptions https://[REDACTED]/assets/index-BFta_U6I.js:18
    subscribe https://[REDACTED]/assets/index-BFta_U6I.js:18
    _q https://[REDACTED]/assets/system-CezzQ1Ab.js:61
    Xr https://[REDACTED]/assets/index-BFta_U6I.js:17
    tg https://[REDACTED]/assets/index-BFta_U6I.js:17
    fn https://[REDACTED]/assets/index-BFta_U6I.js:17
    tg https://[REDACTED]/assets/index-BFta_U6I.js:17
    fn https://[REDACTED]/assets/index-BFta_U6I.js:17
    tg https://[REDACTED]/assets/index-BFta_U6I.js:17
    fn https://[REDACTED]/assets/index-BFta_U6I.js:17
    tg https://[REDACTED]/assets/index-BFta_U6I.js:17
    fn https://[REDACTED]/assets/index-BFta_U6I.js:17
    tg https://[REDACTED]/assets/index-BFta_U6I.js:17
    fn https://[REDACTED]/assets/index-BFta_U6I.js:17
    tg https://[REDACTED]/assets/index-BFta_U6I.js:17
    fn https://[REDACTED]/assets/index-BFta_U6I.js:17
    tg https://[REDACTED]/assets/index-BFta_U6I.js:17
    fn https://[REDACTED]/assets/index-BFta_U6I.js:17
    tg https://[REDACTED]/assets/index-BFta_U6I.js:17
    fn https://[REDACTED]/assets/index-BFta_U6I.js:17
    tg https://[REDACTED]/assets/index-BFta_U6I.js:17
    fn https://[REDACTED]/assets/index-BFta_U6I.js:17
    tg https://[REDACTED]/assets/index-BFta_U6I.js:17
    fn https://[REDACTED]/assets/index-BFta_U6I.js:17
    tg https://[REDACTED]/assets/index-BFta_U6I.js:17
    fn https://[REDACTED]/assets/index-BFta_U6I.js:17
    tg https://[REDACTED]/assets/index-BFta_U6I.js:17
    Sg https://[REDACTED]/assets/index-BFta_U6I.js:17
    Di https://[REDACTED]/assets/index-BFta_U6I.js:17
    bg https://[REDACTED]/assets/index-BFta_U6I.js:17
    gg https://[REDACTED]/assets/index-BFta_U6I.js:17
    cg https://[REDACTED]/assets/index-BFta_U6I.js:17
    sg https://[REDACTED]/assets/index-BFta_U6I.js:17
    Rg https://[REDACTED]/assets/index-BFta_U6I.js:17
    el https://[REDACTED]/assets/index-BFta_U6I.js:17
    Tg https://[REDACTED]/assets/index-BFta_U6I.js:17
    ZS https://[REDACTED]/assets/index-BFta_U6I.js:17
    ZS https://[REDACTED]/assets/index-BFta_U6I.js:17
    dn https://[REDACTED]/assets/index-BFta_U6I.js:17
    Lt https://[REDACTED]/assets/index-BFta_U6I.js:17
    Pm https://[REDACTED]/assets/index-BFta_U6I.js:17
    Um https://[REDACTED]/assets/index-BFta_U6I.js:17
    notify https://[REDACTED]/assets/index-BFta_U6I.js:10
    set https://[REDACTED]/assets/index-BFta_U6I.js:10
    onValueChange https://[REDACTED]/assets/system-CezzQ1Ab.js:61
    g https://[REDACTED]/assets/index-BFta_U6I.js:18
    O https://[REDACTED]/assets/index-BFta_U6I.js:77
    onPointerUp https://[REDACTED]/assets/index-BFta_U6I.js:77
    ne https://[REDACTED]/assets/index-BFta_U6I.js:18
    Og https://[REDACTED]/assets/index-BFta_U6I.js:17
    Qu https://[REDACTED]/assets/index-BFta_U6I.js:17
    Hh https://[REDACTED]/assets/index-BFta_U6I.js:17
    Qu https://[REDACTED]/assets/index-BFta_U6I.js:17
    cf https://[REDACTED]/assets/index-BFta_U6I.js:18
    Rw https://[REDACTED]/assets/index-BFta_U6I.js:18

OPTips avatar Oct 04 '25 20:10 OPTips

Thanks, that is the same bug. I will fix in the next release.

henrygd avatar Oct 04 '25 21:10 henrygd

Let me know if this works for you in 0.13.1 👍

You should only need to upgrade the hub for the fix.

henrygd avatar Oct 06 '25 01:10 henrygd

Yes @henrygd it's working now! These new charts are excellent. I upgraded just the hub so far, not the agents. Thank you so much.

luckman212 avatar Oct 06 '25 02:10 luckman212

Perfect. 👌 Thanks

OPTips avatar Oct 06 '25 04:10 OPTips

One strange thing that I am seeing, sometimes there are short gaps on the 1 minute chart data. Some example screenshots below. These are websocket connections from a local agent (LAN) no internet involved. Not sure what these are (missed data?) or how to troubleshoot it. It is fairly frequent.

Image Image

This particular agent runs as a Docker container on my Synology nas if that matters.

luckman212 avatar Oct 06 '25 13:10 luckman212

One strange thing that I am seeing, sometimes there are short gaps on the 1 minute chart data.

Same here. Two docker deployments. Hub and agents on x64 and aarch64.

andreworg avatar Oct 06 '25 14:10 andreworg

Thanks, I'll close this issue and I made a new one for the small gaps here: #1247

henrygd avatar Oct 06 '25 15:10 henrygd