Not able to migrate CI Artifacts from Gitlab to s3 storage minio (which is running as a docker inside the gitlab vm )

Currently our gitlab is a centos VM and its using NFS as storage for all stuffs . We are trying to set up a minio as a docker container inside the VM and want to migrate the stuffs to it .While migrating the Artifcats i faced a issue as below : Is it a bug or something is wrong while deploying .
W, [2021-08-24T20:19:23.878502 #24118] WARN – : Failed to transfer Ci::JobArtifact ID 370 with error: proxy connection is not exstablished (Excon::Error::ProxyConnectionError)
^Crake aborted!
/opt/gitlab/embedded/service/gitlab-rails/app/uploaders/object_storage.rb:480:in block (2 levels) in unsafe_migrate!' /opt/gitlab/embedded/service/gitlab-rails/app/uploaders/object_storage.rb:479:in block in unsafe_migrate!’
/opt/gitlab/embedded/service/gitlab-rails/app/uploaders/object_storage.rb:478:in `unsafe_migrate!’