Skip to content
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

Unfriendly error message when unauthenticated #39

Open
vosdev opened this issue May 22, 2022 · 1 comment
Open

Unfriendly error message when unauthenticated #39

vosdev opened this issue May 22, 2022 · 1 comment

Comments

@vosdev
Copy link

vosdev commented May 22, 2022

When I visit the dashboard with a deep url like such:
https://lxd.example.com/containers.php?remote=1&project=default

I get a javascript popup stating:

Unable to connect to remote host. HTTP status code: undefined

image

Followed by a redirect to the login page.

I think it's more friendly to have the redirect happen right away and not show the pop-up

@matthewalanpenning
Copy link
Contributor

I am seeing that Firefox is doing the redirect automatically on my setup, but Chrome is giving me this message. I am guessing that you were using Chrome. I will look at updating this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants