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

Problem: Dev environment MinIO web UI log in often fails #998

Closed
djjuhasz opened this issue Jul 24, 2024 · 2 comments · Fixed by #1006
Closed

Problem: Dev environment MinIO web UI log in often fails #998

djjuhasz opened this issue Jul 24, 2024 · 2 comments · Fixed by #1006

Comments

@djjuhasz
Copy link
Collaborator

djjuhasz commented Jul 24, 2024

Describe the bug

When I try to log in to the MinIO web console in the Tilt/k3d dev environment (at http://localhost:7460) I often get an "Unable to connect" error response after 30 - 60s. When the error occurs the Tilt logs for the MinIO Resource display a port-forwarding error:

Reconnecting... Error port-forwarding minio (7460 -> 9001): creating stream: Timeout occurred

After the error occurs, reloading the MinIO web page usually works and displays the expected buckets. The MinIO UI works fine from that point forward, unless I don't interact with it for a while (30+ minutes) at which point I see the log in challenge again, and my log in attempt again results in the "Unable to connect" error.

To Reproduce

Steps to reproduce the behavior:

  1. Start the Enduro dev environment with tilt up
  2. Open the MinIO web UI (http://localhost:7460) in a web browser
  3. Click the login button (SSO)
  4. Enter your login credentials
  5. Wait for the error response

Expected behavior

I should be able to log in without an error.

Screenshots

Screenshot from 2024-07-24 14-30-19

Screenshot from 2024-07-24 14-34-07

Screenshot from 2024-07-24 14-34-33

Screenshot from 2024-07-24 14-34-51

Additional context

None

@jraddaoui
Copy link
Collaborator

Thanks @djjuhasz, in the meantime while we look at this properly, the "Other Authentication Methods" should allow you to log in with the previous minio/minio123 user/pass, maybe that method gives you a bigger window.

@djjuhasz
Copy link
Collaborator Author

It looks like this is a known problem with the MinIO web console:

djjuhasz added a commit that referenced this issue Aug 15, 2024
Fixes #998

Disable the MinIO web UI login animation to avoid a web socket port
forwarding bug: minio/console#2539.
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

Successfully merging a pull request may close this issue.

2 participants