Head command hangs #6477
Labels
bug
This issue is a bug.
p3
This is a minor priority issue
response-requested
Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
third-party
This issue is related to third-party libraries or applications.
Checkboxes for prior research
Describe the bug
Executing the sequence head, put, head for the same object that initially doesn't exist lead to a hang in the second head call
Regression Issue
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
node v18.18.0
Reproduction Steps
Observed Behavior
The second head request hangs and we never get the expected error. This is reproducible with MinIO as backed server, It only happens with HTTPS, the test passes if we use HTTP. forcePathStyle doesn't make any difference. However the test passes if we use an actual object store, not MinIO.
We have the same scenario implemented with the C++ SDK and it works with MinIO.
The problem seems to be in the state of the client as if we create a new client the head request doesn't hang.
The issue persists if the bucket exists.
The issue is reproducible with version 3.588.0 and the latest 3.651.1
Expected Behavior
The second head request should return an error
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: