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

No way to redo "Finish The Setup Steps" #137

Open
infrar opened this issue Sep 8, 2020 · 2 comments
Open

No way to redo "Finish The Setup Steps" #137

infrar opened this issue Sep 8, 2020 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@infrar
Copy link
Contributor

infrar commented Sep 8, 2020

I went through "FINISH THE SETUP STEPS", but on the last step clicked one time too many and forgot to record the generated user-name and password. (Is there anyway to retrieve this information after leaving the screen?)

I tried to redo the FINISH THE SETUP steps, but could never get back to the state where the button is available. For example I tried to toggle and delete things in Admin/Single Sign-On page, but could not find anyway to get back to a state where I can generate a new login.

Edit: after more experimentation, I found that localhost:3010/setup contains a "reset" button. However I don't think there is a way to find this URL except by accident.

@davidqhr
Copy link
Member

davidqhr commented Sep 9, 2020

  1. The temporary admin account can only be seen once. This is by design. This is a short path to use kalm sso right after initialization step. But the static account and password is not secure since the account has no 2fa or expire time.

  2. The localhost:3010/setup has no obvious entrance, this is also by design. It should only be used when a user refresh page accidentally before finishing the setup page. After the initialization steps are done, user do not need it any more. It's also safe to hide it since it's a danger action.

@davidqhr davidqhr added the documentation Improvements or additions to documentation label Sep 9, 2020
@aemadrid
Copy link

Coming from #148 it seems that timeouts is the issue. My system has been setup and doesn't let me run the reconfigure because it times out. I'm using the port forwarding option and it seems that has issues without being logged in. I see errors like:

E0916 12:47:59.436040 95880 portforward.go:400] an error occurred forwarding 3010 -> 3010: error forwarding port 3010 to pod 0616bd7621538f758766c818c1c3ef56dfa0db2d52ebfa9b27c6b480da2e61dc, uid : failed to execute portforward in network namespace "/var/run/netns/cni-2a0ca88a-c1cb-917d-ddfe-50d6ad1c23b0": socat command returns error: exit status 1, stderr: "2020/09/16 18:47:59 socat[31605] E connect(5, AF=2 127.0.0.1:3010, 16): Connection refused\n"

So it seems I need to recoever the username (admin?) and password or get a way to reset it successfully.

This was referenced Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants