Describe the bug
The region refresh that's done every 5 seconds fails after the first issued token gets invalid e.g. token lifetime expires.
Reproduction
Join a room with a token that has a lifetime of 1 min. After 1 min the region refresh fails
Logs
token is not valid, cancelling auto region refresh
System Info
System:
OS: Windows 11 10.0.26200
CPU: (16) x64 AMD Ryzen 7 9700X 8-Core Processor
Memory: 34.39 GB / 61.66 GB
Binaries:
Node: 24.14.0 - C:\Program Files\nodejs\node.EXE
npm: 11.11.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (146.0.3856.72)
Internet Explorer: 11.0.26100.7309
npmPackages:
livekit-client: ^2.17.3 => 2.17.3
Severity
annoyance
Additional Information
No response
Describe the bug
The region refresh that's done every 5 seconds fails after the first issued token gets invalid e.g. token lifetime expires.
Reproduction
Join a room with a token that has a lifetime of 1 min. After 1 min the region refresh fails
Logs
System Info
System: OS: Windows 11 10.0.26200 CPU: (16) x64 AMD Ryzen 7 9700X 8-Core Processor Memory: 34.39 GB / 61.66 GB Binaries: Node: 24.14.0 - C:\Program Files\nodejs\node.EXE npm: 11.11.0 - C:\Program Files\nodejs\npm.CMD Browsers: Edge: Chromium (146.0.3856.72) Internet Explorer: 11.0.26100.7309 npmPackages: livekit-client: ^2.17.3 => 2.17.3Severity
annoyance
Additional Information
No response