Closed ishucr7 closed 11 months ago
Okay, found the issue. We create one single client at the start of the server and use that throughout the lifecycle of the server. All API calls use the same client.
And it's not actually multipart API calls but rather that client is hanging due to the following reasons
timeout
, so in case there's something wrong with 2, we end up loosing that socket from the pool.All these points tend to reduction in the number of sockets available in the pool for use by other S3 calls, thus eventually making the client hang.
How can we configure it, is shared here in another github issue nicely explaining the whole story
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
Checkboxes for prior research
Describe the bug
Overview
What's our setup?
What's the problem?
CreateMultipartUpload
call using the aws sdk s3 client v3 just doesn't return, the code next to it won't execute and it doesn't throw an error tooWhat's weird about it?
SDK version number
@aws-sdk/client-s3@3.374
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
node -20.5.0
Reproduction Steps
That's what's weird about it, it's not deterministically reproducable. It just starts happening all of a sudden
Observed Behavior
No stack traces to share, the code just doesn't continue execution
Expected Behavior
For the sdk to not abruptly stop executing the call or atleast give an error about it
Possible Solution
No response
Additional Information/Context
No response