v8-archive icon indicating copy to clipboard operation
v8-archive copied to clipboard

azure blob storage Could not rewind stream

Open stevezaxz opened this issue 5 years ago • 6 comments

Hello, and thank you for taking the time to notify the community of this issue. Please ensure you are on the latest version of Directus and be as detailed as possible so that we can resolve the problem efficiently, including...

• Version of Directus :8.8.0 • Server, OS & Database Details: ubuntu 16.04.6 mysql 5.7 • Error Messages: {"error":{"code":null,"message":"Could not rewind stream"}} • Steps to Reproduce:

  • azure as storage adapter in config file
  • enter the the azure_connection_string and azure_container
  • upload files in file library it will proceed in uploading but when you edit the file and open the link provided image

It will show an could not rewind stream error image

corresponding error log image

stevezaxz avatar Jul 22 '20 06:07 stevezaxz

I have the same problem in S3.

ddreal-dev avatar Aug 21 '20 16:08 ddreal-dev

Same issue here 🙋‍♂️ with Backblaze B2 (S3 compatible) - version 8.8.1 (latest in date)

flayks avatar Aug 29 '20 15:08 flayks

Also tried with Google Cloud Storage (S3 compatible as well), same error: "{"error":{"code":null,"message":"Could not rewind stream"}}"

flayks avatar Aug 29 '20 16:08 flayks

Okay. Sorry for the flood, but another update: it comes from the library flysystem-aws-s3-v3. Downgrading to v1.0.27 fixes the issue! Surely coming from the stream option that is now true by default.

flayks avatar Aug 29 '20 18:08 flayks

@flayks you're a lifesaver, thank you! I was having the same issue with AWS s3. Rolling back to v1.0.27 helped.

brymut avatar Sep 11 '20 10:09 brymut

has anyone found a solution for azure?

henriquefurlan avatar Oct 20 '20 00:10 henriquefurlan