Azure correctly creates the blob, but Azurite returns CannotVerifyCopySource (404)

Abierto
#2,499 5 comentarios 2 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@EmmaZhu ya está trabajando en esto.

Desde el 12/11/2024.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

blob-storage featureparity

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:

  1. Run an Azurite container.
  2. Use Copy blob from URL operation.
  3. Verify if the 404 error persists
  4. Change the environment variables to repeat the same operations on Azure cloud
  5. 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.

Lenguaje dominante
TypeScript
Estrellas
2.3k
Forks
400
Merge medio
4 d 9 h
PR fusionados (30 d)
23

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Azure/Azurite

Todos los issues de Azure/Azurite

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.