minio/console

Cannot download directories: Error: Unexpected response, download incomplete.

artazar opened this issue · 0 comments

Expected Behavior

Possible to download entire directories from buckets in Minio Console

Current Behavior

Impossible to download directories, error received:

NaN%
Error: Unexpected response, download incomplete.

Possible Solution

Use mc CLI to download directories

Steps to Reproduce (for bugs)

  1. Login to minio console https://play.min.io:9443/browser/asteroid-test using creds from the docs
  2. Find any directory to download, e.g. asteroid-test -> 65f17ded63e6bfb2e675a699
  3. Check and press download
  4. Observe error in the upload/download submenu

Screenshots:

minio-download

minio-download-error

Context

Found the issue on own environment and reproduced on the public https://play.min.io:9443/ demo console.
No errors in browser console, the download API call is successful and there's file content visible in response. But browser does not start the download.

Regression

Yes,
upgraded minio operator (with console) from 5.0.11 to 5.0.13
and minio server version from RELEASE.2023-11-20T22-40-07Z to RELEASE.2024-03-10T02-53-48Z
and hit the issue.

It was not present before, it was possible to download directories.
But rolling back console only from 5.0.13 to 5.0.11 does not help, the error is still there, so most likely it's on minio api side.

Your Environment

  • MinIO version used (minio --version):
    console image:
    minio/operator:v5.0.13
    minio RELEASE.2024-03-10T02-53-48Z

  • Server setup and configuration:
    Kubernetes environment v1.28.6

  • Operating System and version (uname -a):
    Ubuntu 22.04