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

AWS S3 upload randomly hangs when using JsonStreamStringify #39

Closed
ckfngod opened this issue Mar 2, 2024 · 0 comments
Closed

AWS S3 upload randomly hangs when using JsonStreamStringify #39

ckfngod opened this issue Mar 2, 2024 · 0 comments

Comments

@ckfngod
Copy link

ckfngod commented Mar 2, 2024

I'm having an issue using this with the AWS SDK for S3 stream uploads where sometimes the upload will just hang without any errors. I don't see the same issue when using a regular Readable stream. Any ideas?

Packages:
json-stream-stringify@3.1.2
aws-sdk@2.1411.0

Usage:

await s3.upload({
  ACL: acl,
  Body: new JsonStreamStringify(object),
  Bucket: bucket,
  ContentType: contentType,
  Key: key,
})
.promise();
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

Successfully merging a pull request may close this issue.

1 participant