Dashboard doesn't load after logging in, API call to api.netbird.io/api/users pending forever #1353

Closed
opened 2025-11-20 05:28:53 -05:00 by saavagebueno · 9 comments
Owner

Originally created by @ghost on GitHub (Oct 18, 2024).

Describe the problem

Dashboard is stuck at loading animation after logging in. Doesn't work on Safari or Chromium on my Mac and doesn't work on Chrome Android. In the Chrome dev console I can see that an API call to https://api.netbird.io/api/users is pending forever.

To Reproduce
Steps to reproduce the behavior:

  1. Open netbird.io
  2. Click on login
  3. log in with your account
  4. after redirect see dashboard with infinite loading screen
  5. Open Dev Console
  6. Open Network tab
  7. See API call pending forever

Expected behavior

Dashboard loading

Are you using NetBird Cloud?

Yes, I am using NetBird Cloud

Additional context

Tried with already existing and new account

Originally created by @ghost on GitHub (Oct 18, 2024). **Describe the problem** Dashboard is stuck at loading animation after logging in. Doesn't work on Safari or Chromium on my Mac and doesn't work on Chrome Android. In the Chrome dev console I can see that an API call to https://api.netbird.io/api/users is pending forever. **To Reproduce** Steps to reproduce the behavior: 1. Open netbird.io 2. Click on login 3. log in with your account 4. after redirect see dashboard with infinite loading screen 6. Open Dev Console 7. Open Network tab 8. See API call pending forever **Expected behavior** Dashboard loading **Are you using NetBird Cloud?** Yes, I am using NetBird Cloud **Additional context** Tried with already existing and new account
saavagebueno added the dashboardcloud labels 2025-11-20 05:28:53 -05:00
Author
Owner

@mgarces commented on GitHub (Oct 18, 2024):

Hi there,
Can you show us the output on the command line of:

dig api.netbird.io +short
ping api.netbird.io -c2

Also, what region/country are you trying to login from?

@mgarces commented on GitHub (Oct 18, 2024): Hi there, Can you show us the output on the command line of: ``` dig api.netbird.io +short ping api.netbird.io -c2 ``` Also, what region/country are you trying to login from?
Author
Owner

@ghost commented on GitHub (Oct 18, 2024):

Region is Europe/Germany

dig api.netbird.io +short
35.186.199.111

ping api.netbird.io -c2

64 bytes from 35.186.199.111: icmp_seq=0 ttl=119 time=8.492 ms
64 bytes from 35.186.199.111: icmp_seq=1 ttl=119 time=12.774 ms

--- api.netbird.io ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 8.492/10.633/12.774/2.141 ms
@ghost commented on GitHub (Oct 18, 2024): Region is Europe/Germany dig api.netbird.io +short `35.186.199.111` ping api.netbird.io -c2 ``` 64 bytes from 35.186.199.111: icmp_seq=0 ttl=119 time=8.492 ms 64 bytes from 35.186.199.111: icmp_seq=1 ttl=119 time=12.774 ms --- api.netbird.io ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 8.492/10.633/12.774/2.141 ms ```
Author
Owner

@ghost commented on GitHub (Oct 18, 2024):

I don't now if this helps but the preflight call to https://api.netbird.io/api/users (just before the fetch api call which I mentioned above) with Request Method: OPTIONS returns 204 No Content. Remote dress is also 35.186.199.111

@ghost commented on GitHub (Oct 18, 2024): I don't now if this helps but the preflight call to https://api.netbird.io/api/users (just before the fetch api call which I mentioned above) with Request Method: OPTIONS returns 204 No Content. Remote dress is also 35.186.199.111
Author
Owner

@mgarces commented on GitHub (Oct 18, 2024):

You are getting the same results as me; can you please follow this link and send us your session results? It's a bit odd, i've tested this in 3 different browser locally (EU/PT) and also remotely, one of the tests was actually in Germany.

Can you please also test this in Incognito / Private session?

@mgarces commented on GitHub (Oct 18, 2024): You are getting the same results as me; can you please follow this [link](https://support.zendesk.com/hc/en-us/articles/4408828867098-Generating-a-HAR-file-for-troubleshooting) and send us your session results? It's a bit odd, i've tested this in 3 different browser locally (EU/PT) and also remotely, one of the tests was actually in Germany. Can you please also test this in Incognito / Private session?
Author
Owner

@scrivoy commented on GitHub (Oct 18, 2024):

Hi, just came across this Issue.
I have the same stuff going on at the moment.
The interesting thing I find is that with an older existing account I can log in without issues.

With a new account I cant login:
grafik

Private session a bit different, but also stuck:
grafik

Hope this helps.
Cheers!

@scrivoy commented on GitHub (Oct 18, 2024): Hi, just came across this Issue. I have the same stuff going on at the moment. The interesting thing I find is that with an older existing account I can log in without issues. With a new account I cant login: ![grafik](https://github.com/user-attachments/assets/682b1119-4182-434d-895e-95fd4806f3f6) Private session a bit different, but also stuck: ![grafik](https://github.com/user-attachments/assets/03e706fb-0549-49c7-ae17-4db4f73477f0) Hope this helps. Cheers!
Author
Owner

@ghost commented on GitHub (Oct 18, 2024):

I get the same results as I stated before with a private window. My HAR file doesn't show the pending request (is this expected?) and I also sanitized it (removed cookies and authorization headers). Hope this helps.
[deleted file since no longer needed]

@ghost commented on GitHub (Oct 18, 2024): I get the same results as I stated before with a private window. My HAR file doesn't show the pending request (is this expected?) and I also sanitized it (removed cookies and authorization headers). Hope this helps. [deleted file since no longer needed]
Author
Owner

@mlsmaycon commented on GitHub (Oct 19, 2024):

Hello folks,

Can you test again? We found an issue and fixed it. Thanks for reporting it.

@mlsmaycon commented on GitHub (Oct 19, 2024): Hello folks, Can you test again? We found an issue and fixed it. Thanks for reporting it.
Author
Owner

@scrivoy commented on GitHub (Oct 19, 2024):

Hi!
Yes, I can confirm, it works again, at least for me.
Nice, thanks!

@scrivoy commented on GitHub (Oct 19, 2024): Hi! Yes, I can confirm, it works again, at least for me. Nice, thanks!
Author
Owner

@ghost commented on GitHub (Oct 19, 2024):

It works for me too. Thanks for fixing.

@ghost commented on GitHub (Oct 19, 2024): It works for me too. Thanks for fixing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1353