-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
S3 client tries to connect to http service when endpoint specifies https #4350
Comments
Hi @reyescabello, thanks for reaching out. I have replicated from my side and was not able to get the same issue. I tried with an S3 endpoint and declaring HTTPS and I was able to connect via HTTPS. For further look, could you please provide the full debug logs by adding the line: boto3.set_stream_logger('') under import boto3 and redacting any sensitive information. Also, please ensure that the endpoint you are trying to connect to has HTTPS. Thank you. |
Hi @adev-code, thanks so much for your quick response. Are these the logs you need to take a look at? Let me know if there’s anything else I should add. Thanks again!
|
Describe the bug
Creating an s3 client, when we use the 'delete_object' method, instead of making the https call, it makes the http call.
Regression Issue
Expected Behavior
The client should connect to the endpoint_url when the url is https.
Current Behavior
The client tries to connect to the endpoint_url with an http connection instead of https.
The rest of the calls to the endpoint with the s3 client work correctly with the same configuration, it happens to us only in the case of the 'delete_object'. The parameter “use_ssl” is set to True by default.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.34.150
Environment details (OS name and version, etc.)
5.15.146.1 WSL2 kernel, python 3.11.5, boto3 1.34.150
The text was updated successfully, but these errors were encountered: