Giter Club home page Giter Club logo

Comments (4)

LouisAuneau avatar LouisAuneau commented on May 26, 2024 1

Thank you for your quick feedback. I tested your 2 points:

  1. Awaiting the first task before the other are executed indeed works. Let me know if I can be of any help for caching logic investigation.
  2. When providing the full endpoint (my-bucket--eun1-az1--x-s3.s3express-eun1-az1.eu-north-1.amazonaws.com in my example), I get a NoSuchBucket error surprisingly.

from aiobotocore.

jakob-keller avatar jakob-keller commented on May 26, 2024

Thank you for reporting the issue. I have a few ideas and could need your help to check them out and report back:

  1. We had to implement a custom credential cache that might be to blame. Could you please try to await the first put_object task before gathering the others?

    await tasks[0]
    await asyncio.gather(*tasks[1:])

    If that helps, I will attempt to improve the caching logic.

  2. According to docs for PutObject:

    When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format Bucket_name.s3express-az_id.region.amazonaws.com.

    Have you tried providing the bucket name in this format?

from aiobotocore.

jakob-keller avatar jakob-keller commented on May 26, 2024
  1. Awaiting the first task before the other are executed indeed works. Let me know if I can be of any help for caching logic investigation.

Great! I will prepare a fix ASAP.

  1. When providing the full endpoint (my-bucket--eun1-az1--x-s3.s3express-eun1-az1.eu-north-1.amazonaws.com in my example), I get a NoSuchBucket error surprisingly.

Well, it was worth a shot.

from aiobotocore.

thehesiod avatar thehesiod commented on May 26, 2024

@jakob-keller ah I missed that, ya it needs to use an asyncio.Lock

from aiobotocore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.