-
Notifications
You must be signed in to change notification settings - Fork 431
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
improve messaging when POST /api/v1/setup fails #7245
Comments
@roperzh Do you have any more information on this one? Do you have steps for reproducing? |
I have updated the issue description with more context and a video demonstrating the issue. |
@roperzh Thanks! |
Yep, there is a TODO in the code for this. We should be making a call to
@noahtalerman ^ Thoughts on error message? |
@noahtalerman @mike-j-thomas i've put together a quick error message implementation. how do we feel about this? |
I agree that we can improve the βPlease notify your system administratorβ instruction.
@roperzh I think we're on the right track here. I think we can clarify "Fleet server can be reached." What does this mean? |
@noahtalerman Sorry for the lack of clarity here! it means that the API endpoints can be accessed by the UI, eg: if you have a firewall or a proxy between the Fleet server and the UI, you might not be able to "reach" the server (which we have seen a couple of times.) does that help clarify things? |
ππ½ updated the copy |
I'm not entirely sure if the error modal is out of place, but it does look like there is less space between the icon flow at the top and the registration fields that a user interacts with. Do you have any thoughts on this one @ghernandez345 ? Would that have been touched with this fix? |
@xpkoala looked at the code and for some reason the logo was made smaller. That was the only change though on the styles of this page. I'll make the logo larger again The spacing between the breadcrumbs and the form was not changes and the way it works is that the spacing grows and shrink with the height of the browser viewport. So it will not always look the same depending on how high your browser window is. |
Fleet version: 4.18.0
π§βπ» Β Expected behavior
If something goes wrong during the Fleet setup, I get a helpful message.
π₯ Β Actual behavior
The setup wizard silently goes back to the first step if
POST /api/v1/setup
fails for any reason.This might happen in environments where there's a proxy between the UI and the server API, but the easiest way to reproduce is to block the URL from devtools.
Here's a video demonstrating the problem:
Screen.Recording.2022-08-19.at.16.58.59.mov
The text was updated successfully, but these errors were encountered: