Dashboard freezes on first reload #2090

Open
opened 2025-11-20 06:12:35 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @AbsurdlySuspicious on GitHub (Jul 21, 2025).

Describe the problem

When you open new tab, dashboard goes to oauth authorize endpoint and loads fine, but on first reload of the same tab it usually hangs on loading screen. Nothing happens in network tab during this other that getting web assets and querying openid-configuration.

Reload usually works fine if you've clicked on any section in sidebar and then pressed reload, but sometimes after this it fails with error: unauthorized due to "code": "undefined" sent to oauth token endpoint (see https://github.com/netbirdio/dashboard/issues/218)

To Reproduce

Steps to reproduce the behavior:

  1. Open new tab
  2. Go to your self-hosted netbird domain
  3. Reload once

Expected behavior

Dashboard works fine across reloads

Are you using NetBird Cloud?

Self-hosted

NetBird version

0.51.1

Is any other VPN software installed?

No

Debug output

N/A

Screenshots

N/A

Additional context

N/A

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings
Originally created by @AbsurdlySuspicious on GitHub (Jul 21, 2025). **Describe the problem** When you open new tab, dashboard goes to oauth authorize endpoint and loads fine, but on first reload of the same tab it usually hangs on loading screen. Nothing happens in network tab during this other that getting web assets and querying openid-configuration. Reload usually works fine if you've clicked on any section in sidebar and then pressed reload, but sometimes after this it fails with `error: unauthorized` due to `"code": "undefined"` sent to oauth token endpoint (see https://github.com/netbirdio/dashboard/issues/218) **To Reproduce** Steps to reproduce the behavior: 1. Open new tab 2. Go to your self-hosted netbird domain 3. Reload once **Expected behavior** Dashboard works fine across reloads **Are you using NetBird Cloud?** Self-hosted **NetBird version** `0.51.1` **Is any other VPN software installed?** No **Debug output** N/A **Screenshots** N/A **Additional context** N/A **Have you tried these troubleshooting steps?** - [x] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird client - [x] Disabled other VPN software - [x] Checked firewall settings
saavagebueno added the triage-neededself-hosting labels 2025-11-20 06:12:36 -05:00
Author
Owner

@nazarewk commented on GitHub (Jul 22, 2025):

Could you give us more info on which identity provider you are using? Team mentioned it could be a factor.

@nazarewk commented on GitHub (Jul 22, 2025): Could you give us more info on which identity provider you are using? Team mentioned it could be a factor.
Author
Owner

@AbsurdlySuspicious commented on GitHub (Jul 22, 2025):

I'm using my own idP which I believe is OIDC compliant. If you could point out what particular part to check I would appreciate it. While debugging I've traced this issue to some setTimeout call inside @axa-fr/oidc-client

@AbsurdlySuspicious commented on GitHub (Jul 22, 2025): I'm using my own idP which I believe is OIDC compliant. If you could point out what particular part to check I would appreciate it. While debugging I've traced this issue to some setTimeout call inside @axa-fr/oidc-client
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2090