You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This occurs when using AWS S3 for storing components
How do we replicate the issue?
Try to upload/publish components having more than 300 files.
Expected behavior (i.e. solution)
It should have published successfully to oc.
What version of OC, Node.js and OS are you using?
OC@0.49.23
Node 16.X.X,
Linux
Other Comments
Upon investigating, found that oc-s3-storage-adapterputDir method is using new s3Client for each file and might be hitting the some limit of getting valid token for s3 when using IAM roles.
Proposed fix
Use a single s3Client when publishing/uploading a folder
Makes sense to me. We should probably remove this "new client for every request" logic on all storage adapters, and just have a single one at the module scope
Who is the bug affecting?
What is affected by this bug?
When does this occur?
What platform does this occur?
How do we replicate the issue?
Expected behavior (i.e. solution)
What version of OC, Node.js and OS are you using?
Other Comments
Proposed fix
The text was updated successfully, but these errors were encountered: