-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random refresh and CORS errors #372
Comments
To give additional information, the CORS error gives me the following description :
|
I found the solution for the CORS error. The problem was that I didn't add all the scopes in the OAuth2 provider. This should be in the identity provider's doc for Authentik. |
Hey @Enailis, the refresh issue can happen if some requests are still cached in your browser. If using NGINX you could add the Cache Control header to not cache it.
Another way would be deleting your cache in Firefox. That should normally also solve the issue. We will look for a better way of handling this case, thanks for reporting! Best, |
Hi @heisbrot, |
Hey @Enailis, could you tell me a bit more about your infrastructure? What service do you use to run the dashboard? Maybe a CDN active? I would want to reproduce this issue but for that, I need as much information as possible :) Best, |
Thanks for the quick response! Netbird is running on Ubuntu 22.04 on a PVE. Everything is up to date (management, signal, coturn and dashboard). |
I am also experiencing incredibly annoying refreshes in the dashboard. Not only does it randomly refresh, it will always default to the peers list instead of the page you were previously on. I'm using Authentik as my OAuth2/SSO provider. As if this isn't bad enough, the response times for API requests the dashboard makes are very slow too. 6.2s to retrieve one account from the "accounts" API, for example. |
Describe the problem
Since last version of dashboard (2.2.0) I experience some random refresh while browsing the web interface. I also have CORS erros while trying to get
/application/o/userinfo/
from Authentik which did not appear in last version.The refresh problem only appears in Firefox (tested on Chrome and Firefox).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No refresh when I switch from a page to another.
Are you using NetBird Cloud?
I self-host NetBird's control plane.
Screenshots
Screenshot of the network tab from Firefox.
The text was updated successfully, but these errors were encountered: