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

Warning Message from @aws-sdk in Tus-Server #726

Closed
2 tasks done
Droppix opened this issue Feb 14, 2025 · 1 comment
Closed
2 tasks done

Warning Message from @aws-sdk in Tus-Server #726

Droppix opened this issue Feb 14, 2025 · 1 comment
Labels

Comments

@Droppix
Copy link

Droppix commented Feb 14, 2025

Initial checklist

  • I understand this is a bug report and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Steps to reproduce

I use tus-js-client with tus-server (upload To S3 (AWS, DigitalOcean)):
The downloads work fine, but since the last update, I systematically get a ‘red’ message in the nodejs console.

I used this version:
"@tus/s3-store": "^1.9.0",
"@tus/server": "^1.10.2",

Expected behavior

I have this message:

"Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage."

Actual behavior

No warning message

@Droppix Droppix added the bug label Feb 14, 2025
@Murderlon
Copy link
Member

Hi, I think we can safely ignore this error as it's merely a hint that you can use their Upload class but that doesn't work for our purposes as we may get the body across multiple requests.

@Murderlon Murderlon closed this as not planned Won't fix, can't repro, duplicate, stale Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants