Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copyObject on Azure Blob failing when blob contains special character #4658

Open
Upanshu11 opened this issue Jul 14, 2022 · 0 comments
Open

Comments

@Upanshu11
Copy link

Description

copyObject on Azure Blob failing when blob contains special character ( - whitespace, # - hashtag)

Cloudserver version

8.4.7

Backend configured

Azure storage account

Client application

minio python client

Steps to reproduce the issue

from minio import Minio
import urllib3
mc = Minio("host", "access-key", "secret-key", 
           http_client = urllib3.PoolManager(
                timeout=60,
                maxsize=10,
                cert_reqs="CERT_REQUIRED",
                ca_certs="cert-path",
           )
          )

from minio.commonconfig import CopySource
copy_src = CopySource("test-region", "source/Employee #7/2022-06-27/2022-06-27T11-59-23.000.json.gz")
copy_dst = "dest/Employee #7/2022-06-27/2022-06-27T11-59-23.000.json.gz"
mc.copy_object("test-region", copy_dst, copy_src)

Don't forget to make sure source/Employee #7/2022-06-27/2022-06-27T11-59-23.000.json.gz is present at the storage account's container

Actual result

S3Error: S3 operation failed; code: ServiceUnavailable, message: The request has failed due to a temporary failure of the server., resource: , request_id: 54243235084aad546a07, host_id: None

Expected result

Copy to be successful

Additional information

  • Cloudserver running as a docker container
  • Copy successfully working for blobs not having or # characters in it's name with the above code.
  • Also tried source/Employee\x20\x237/2022-06-27/2022-06-27T11-59-23.000.json.gz but unsuccessful
  • s3cmd ls s3://test-region/ works as expected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant