artefactual-sdps / enduro

A tool to support ingest and automation in digital preservation workflows
https://enduro.readthedocs.io/
Apache License 2.0
4 stars 3 forks source link

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

Closed djjuhasz closed 3 months ago

djjuhasz commented 4 months ago

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 commented 4 months ago

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 commented 3 months ago

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