You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Azure Blob Storage on the cloud, I can create a new blob from a url with no problem. However, using Azurite, get an error saying "CannotVerifyCopySource", status code 404.
I'm trying to verify if the issue lies in Azurite itself or the Rust SDK. In the Rust code example I set, I'm using the SDK's copy_from_url to copy a cat image from thecatapi cdn into the Azure blob storage container.
Versions
I'm using azurite's latest docker container image (azure-storage/azurite:latest) as of November 11th, 2024.
Azure Rust SDKs version 0.21.0
Change the environment variables to repeat the same operations on Azure cloud
Verify if the blob is created.
Additional information
I haven't found any workaround yet. There are some hypothesis around the copy not being implemented as I have seen in other GitHub issues, but in those situations, users get an error message saying it is not implemented yet, which is not the case this time.
The text was updated successfully, but these errors were encountered:
If you would like to create that blob with the content in the Uri, please first download it to local disk, then upload to Azurite. Then you can copy the blob inside same Azurite instance.
I don't remember any on-going PR for this.
The implementation of copy from outside will be much different from copy inside Azurite instance.
As there are so many customer using Azurite in different ways, any unstable or inaccurate error message will very possibly get customer issues. So please make sure:
the error (e.g. when copy fail from outside Azurite) is as clear/actionable as possible
If any copy source support by product Azure can't be support by Azurite, please doc it (in Readme) and have error message to cover it.
This would be very useful; currently it's fairly inefficient to download and copy a bunch of data, and ideally you wouldnt have to write two different versions of your code; one to run locally (with azurite) and one to run against a normal azure storage account.
Summary
Using Azure Blob Storage on the cloud, I can create a new blob from a url with no problem. However, using Azurite, get an error saying "CannotVerifyCopySource", status code 404.
I'm trying to verify if the issue lies in Azurite itself or the Rust SDK. In the Rust code example I set, I'm using the SDK's
copy_from_url
to copy a cat image from thecatapi cdn into the Azure blob storage container.Versions
I'm using azurite's latest docker container image (azure-storage/azurite:latest) as of November 11th, 2024.
Azure Rust SDKs version 0.21.0
Steps to reproduce
I created a dummy project that can help reproducing the error. You just need to change the environment variables to test either on Azure or Azurite. As a second option, here are the steps:
Additional information
I haven't found any workaround yet. There are some hypothesis around the copy not being implemented as I have seen in other GitHub issues, but in those situations, users get an error message saying it is not implemented yet, which is not the case this time.
The text was updated successfully, but these errors were encountered: