console icon indicating copy to clipboard operation
console copied to clipboard

An error occurred while uploading the file

Open binbinshi opened this issue 2 years ago • 8 comments

with minio Version 2022-01-08T03:11:54Z When uploading a large file of 20M through the browser, the error is: An error occurred while uploading the file. image

error page image

binbinshi avatar Jan 19 '22 08:01 binbinshi

Could you please share the trace ?: start mc admin trace <alias> just before uploading the file and stop when the error is shown.

prakashsvmx avatar Jan 19 '22 16:01 prakashsvmx

There will be something specific in the server logs as well..

harshavardhana avatar Jan 19 '22 19:01 harshavardhana

Are you accessing the Console behind some nginx?

dvaldivia avatar Jan 19 '22 19:01 dvaldivia

http code 499 , nginx is not used mc trace -a -v minio

image

this means console client time out ?

binbinshi avatar Jan 20 '22 06:01 binbinshi

this means console client time out ?

Yes. Logs show that only 16MiB was uploaded

vadmeste avatar Jan 20 '22 08:01 vadmeste

Yeah, it's just a timeout uploading from the client. Check if you are going through some another proxy here that is adding read socket timeouts here @binbinshi

harshavardhana avatar Jan 20 '22 08:01 harshavardhana

i just run a minio server , doesn't have any other proxy ;

start cmd : ./minio server /mnts/data/minio --console-address :9001

is console client have some timeouts config ?

update minio to the newest version , Server minio already running the most recent version 2022-01-08T03:11:54Z of MinIO error still: Client disconnected before response was ready

binbinshi avatar Jan 20 '22 12:01 binbinshi

i just run a minio server , doesn't have any other proxy ;

start cmd : ./minio server /mnts/data/minio --console-address :9001

is console client have some timeouts config ?

update minio to the newest version , Server minio already running the most recent version 2022-01-08T03:11:54Z of MinIO error still: Client disconnected before response was ready

Yeah this looks like a console connection read timeout of some sort. Let's check the timeouts in the code in this path.

harshavardhana avatar Jan 20 '22 16:01 harshavardhana

All timeouts for uploads operations were removed. Please reopen if issue is still happening.

bexsoft avatar Dec 12 '22 18:12 bexsoft