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
It appears when composing the Canonical Request for presigned URL, the Ruby SDK is missing the port number in the signed Host header:
In aws-sdk-core/signers/v4.rb:
def sign(req)
...
req.headers['Host'] = req.endpoint.host
Here, req.endpoint.host does not include port number even if it is specified. This is not a problem if default port is used, but for servers that doesn't use default port, this will cause SignatureDoesNotMatch.
The text was updated successfully, but these errors were encountered:
It appears when composing the Canonical Request for presigned URL, the Ruby SDK is missing the port number in the signed Host header:
In aws-sdk-core/signers/v4.rb:
def sign(req)
...
req.headers['Host'] = req.endpoint.host
Here, req.endpoint.host does not include port number even if it is specified. This is not a problem if default port is used, but for servers that doesn't use default port, this will cause SignatureDoesNotMatch.
The text was updated successfully, but these errors were encountered: