LibreQoE / LibreQoS

A Quality of Experience and Smart Queue Management system for ISPs. Leverage CAKE to improve network responsiveness, enforce bandwidth plans, and reduce bufferbloat.
https://libreqos.io/
GNU General Public License v2.0
460 stars 49 forks source link

v1.5-beta2: web login problems after update #544

Open interduo opened 3 months ago

interduo commented 3 months ago

Reproduction:

On internet browser: image

In lqosd logs:

Aug 06 08:42:17 libreqos-beta lqosd[109759]: thread 'tokio-runtime-worker' panicked at lqosd/src/node_manager/auth.rs:41:63:
Aug 06 08:42:17 libreqos-beta lqosd[109759]: called `Result::unwrap()` on an `Err` value: InvalidToken
Aug 06 08:42:22 libreqos-beta lqosd[109759]: [2024-08-06T06:42:22Z WARN  lqos_config::authentication] Token 05ca9eac-313b-424d-8300-1976486141a4 not found, invalid data access >
Aug 06 08:42:22 libreqos-beta lqosd[109759]: thread 'tokio-runtime-worker' panicked at lqosd/src/node_manager/auth.rs:41:63:
Aug 06 08:42:22 libreqos-beta lqosd[109759]: called `Result::unwrap()` on an `Err` value: InvalidToken

Suggested solution: If no session token is found we should redirect user to login page instead showing an empty response.

Workaround for that: use incognito mode or clean web files in internet browser (chrome/firefox).