console icon indicating copy to clipboard operation
console copied to clipboard

Can't download some files via Web UI

Open AlexZIX opened this issue 1 year ago • 10 comments

Sometimes I can't download different files via console. It shows me the network error (see screenshot). At the same time I can download this files via S3 clients like WinSCP for ex.

image

Steps to Reproduce (for bugs)

I still can't understand the pattern of this issue - which files able to download and which return an error.

Your Environment

  • MinIO version used (minio --version): 2024-01-16T16:07:38Z
  • Server setup and configuration: 4 nodes with 4 disks on each
  • Operating System and version (uname -a): Linux minio-cold-1 5.15.0-69-generic #76-Ubuntu SMP Fri Mar 17 17:19:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

AlexZIX avatar Jan 19 '24 10:01 AlexZIX

Please share mc admin trace <ALIAS> -v . how is minio deployed ? ( run the trace command, try download, when fails, stop trace and share)

is there any proxy/loadbalancer/ ?

is it running in FTP mode?

prakashsvmx avatar Jan 19 '24 11:01 prakashsvmx

There is no proxy/loadbalancer between my PC and minio node. It's not running in FTP mode (I even don't know how to run it in FTP mode). I just login into Web UI using my browser (Opera), select file and press the Download button. Trace in attachments. As I understand from the trace file sent successfully from the minio node to browser. But in browser I see the download error anyway.

trace.txt

AlexZIX avatar Jan 19 '24 18:01 AlexZIX

This is headers from my browser - may be it also can help.

headers.txt

AlexZIX avatar Jan 19 '24 18:01 AlexZIX

We'll share with you some steps to enable the Console logs so that you can share them with us caus eI couldn't see much from the trace. Additionally we'll do some changes in the ui to better expose the download error since now it's too generic.

cesnietor avatar Jan 22 '24 17:01 cesnietor

@AlexZIX could you confirm the minio version by running mc admin info <ALIAS> once ?

prakashsvmx avatar Jan 24 '24 10:01 prakashsvmx

@prakashsvmx yes, there is the result:

root@minio-cold-1:~# mc admin info minio-cold ● minio-cold-1.bazissoft.ru:9001 Uptime: 6 days Version: 2024-01-16T16:07:38Z Network: 4/4 OK Drives: 4/4 OK Pool: 1

● minio-cold-2.bazissoft.ru:9001 Uptime: 6 days Version: 2024-01-16T16:07:38Z Network: 4/4 OK Drives: 4/4 OK Pool: 1

● minio-cold-3.bazissoft.ru:9001 Uptime: 6 days Version: 2024-01-16T16:07:38Z Network: 4/4 OK Drives: 4/4 OK Pool: 1

● minio-cold-4.bazissoft.ru:9001 Uptime: 6 days Version: 2024-01-16T16:07:38Z Network: 4/4 OK Drives: 4/4 OK Pool: 1

Pools: 1st, Erasure sets: 1, Drives per erasure set: 16

14 TiB Used, 53 Buckets, 2,617,018 Objects, 669,078 Versions 16 drives online, 0 drives offline

AlexZIX avatar Jan 26 '24 07:01 AlexZIX

Hi @AlexZIX!

We sent a couple of improvements in Download manager for error cases.

Can you please help us to test with the latest version of MinIO (RELEASE.2024-02-17T01-15-57Z) and test if issue still persists?

If it is still visible can you please post a screenshot of the download manager with the new error provided?

Thank you in advance.

bexsoft avatar Feb 20 '24 01:02 bexsoft

@bexsoft, yes will do it this week and let you know. Thanks.

AlexZIX avatar Feb 20 '24 08:02 AlexZIX

@bexsoft I've upgrade my minio to the latest version and test downloading with few files:

  1. 84MB - downloaded successfully
  2. 284MB - downloaded successfully
  3. 7.9G - stuck at 62% and shows me error.

image

It shows the network error but at the same time I've connected to this minio node via ssh and see the htop and it doesn't interrupts during downloading.

Also interesting thing - I've tried to download this file many times and it always stuck at 62%. 7.9G * 0.62 = 4.8G. It's about the value of unsigned max_int_32.

AlexZIX avatar Feb 20 '24 08:02 AlexZIX

Hello. minio version RELEASE.2024-02-17T01-15-57Z I received the same error in the firefox browser when trying to download text files. In the developer tools, in the network tab, the contents of the file are visible. The download dialog does not appear, the file is not saved to disk. In the chrome browser, the file download is completed by saving to disk.

kotbajan avatar Feb 22 '24 14:02 kotbajan

@kotbajan this had been fixed for firefox please use the latest release.

cesnietor avatar Apr 01 '24 16:04 cesnietor