Closed koddr closed 1 month ago
This error in your browser logs leads me to believe that this is a client side connectivity issue you are experiencing, since the name resolution is handled on the OS side of things and is nothing Directus can influence.
GET https://my-domain.net/users/me?fields=id net::ERR_NAME_NOT_RESOLVED
And if this request fails it is expected that you are redirected to the login page, as it is a way for us to check if the current user is still authenticated.
I'm closing this, as it most likely is a client side problem and nothing we can fix on our end. If you have more information on the problem, that points to Directus, I'm happy to reopen.
@hanneskuettner yes, it's not only a client side problem, it's a UX problem too.
Maybe don't show this "UNKNOWN" error each time? For what? What should I have to know about it? How does it help me to re-login?
I vote to just always redirect to the login screen without this strange & unusable error.
Hope it helps Directus to be more user-friendly at errors 🤗
Got it! Will reopen this as an improvement request, as I'm fully with you that is should provide you with an easier route to re-login. That being said, I still think the unexpected error
information is valuable as it is indeed an unexpected error and not something ordinary that would just normally redirect you to the login screen.
Describe the Bug
Every time in Google Chrome (127.0.6533.100, arm64, macOS Sonoma 14.5) when I leave the tab with my Directus instance (Docker), I get this error:
Google Chrome's console error output:
Error message (from Directus copy-paste button):
To Reproduce
/admin/settings/data-model
page;/admin/login?reason=SESSION_EXPIRED
page;Directus Version
v11.0.1
Hosting Strategy
Self-Hosted (Docker Image)
Database
PostgreSQL 16