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

Clone hanging when reading asyncio response object body from S3 #145

Open
mpacer opened this issue Jul 10, 2019 · 1 comment
Open

Clone hanging when reading asyncio response object body from S3 #145

mpacer opened this issue Jul 10, 2019 · 1 comment

Comments

@mpacer
Copy link
Member

mpacer commented Jul 10, 2019

Today, when I was using bookstore to clone from S3, I found that responses were just hanging indefinitely.

It seems to be occurring when we attempt to read the s3 response object's body (with await obj['Body'].read()).

Importantly, it doesn't hang when using minio's mock s3 server.

Does anyone have any insight as to what could be causing this?

@kylek @willingc @MSeal

@mpacer
Copy link
Member Author

mpacer commented Jul 10, 2019

I figured out that this seems to be related to trying to read the Body outside of the client context manager.

What's odd is that it still works with minio, and so I'm wondering if there is a hidden race condition.

In any case, I opened aio-libs/aiobotocore#710 so we could track the underlying issue there.

In the meantime I'll work on a refactor so we can get 2.3.1 out the door.

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