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
[not our bug] Python connection to minio on docker server in localhost #8161
Comments
have you set |
@nitisht I think the default value is True |
@nitisht @kannappanr quick related question we got a similar error to this on our of our gateways over the weekend (running the latest version). We saw these a while back but not for over a month. Is this related to the above issue? FYI, this is without SSL urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='172.17.0.1', port=9000): Max retries exceeded with url: /path-to-file (Caused by ResponseError('too many 500 error responses')) |
@hassbabaie I don't think so. |
@adr-arroyo What is the log output at the minio server (docker container)? There should be a log msg starting with `tls:. |
Thanks @kannappanr we'll keep running and see if it re-appears. |
Dear everyone, regarding the parameter regarding the output of the container, I see no output starting with 'tls'. My output is the same as @hassbabaie However, it seems to be working without security launching the server with:
What can we be doing wrong? Regards |
I have the same issue ( |
Since you try to connect to your MinIO docker container via TLS (HTTPS) - did you configure a TLS private key and certificate such that MinIO can present the X.509 certificate to your python client?! If not, you effectively try to connect to an HTTP server over HTTPS. This will not work. You either have to configure a TLS private key + certificate or try to access your MinIO container over plain HTTP. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
This issue is stale with no response and considered purely a setup issue. Please reach out to us at https://slack.min.io for further questions on a proper TLS setup. |
I encountered this issue while following the quick start guide for the server with docker and the Python client SDK guide. I solved the issue by setting |
as @jjtolton said,
|
Just saved my day brother |
Mine too |
It worked for me |
I am trying to generate a minio server with docker on my local machine (ubuntu 18.04), and then I would like to connect from a Python client to store some files. My code is:
Expected Behavior
Creates a bucket on minio.
Current Behavior
Returns error:
Steps to Reproduce (for bugs)
Create a file named openssl.conf with the content:
Generate files with:
openssl req -x509 -nodes -days 730 -newkey rsa:2048 -keyout private.key -out public.crt -config openssl.conf
Copy files to /mnt/config
Run minio container:
Your Environment
minio version
): latest (pip install minio)uname -a
): Ubuntu 18.04The text was updated successfully, but these errors were encountered: