Error running example with minio-py
See original GitHub issueI am trying to test minio-py on ubuntu
$ sudo pip install minio
After that i am trying to list all my buckets: with my secret/access key
#!/usr/bin/env python
from minio.minio import Minio
# Instantiate a client
client = Minio('https://s3.amazonaws.com',
access_key='MYKey',
secret_key='MYKey')
# List buckets
buckets = client.list_buckets()
for bucket in buckets:
print 'bucket:', bucket.name, bucket.creation_date
I am getting this error:
ubuntu@ubuntu:~/python$ python listB.py
▽
Traceback (most recent call last):
File "listB.py", line 11, in <module>
buckets = client.list_buckets()
File "/usr/local/lib/python2.7/dist-packages/minio/minio.py", line 186, in list_buckets
redirect=False)
File "/usr/lib/python2.7/dist-packages/urllib3/request.py", line 75, in request
**urlopen_kw)
File "/usr/lib/python2.7/dist-packages/urllib3/request.py", line 88, in request_encode_url
return self.urlopen(method, url, **urlopen_kw)
File "/usr/lib/python2.7/dist-packages/urllib3/poolmanager.py", line 155, in urlopen
response = conn.urlopen(method, u.request_uri, **kw)
File "/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 595, in urlopen
raise SSLError(e)
urllib3.exceptions.SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
MINIOPT Directory Statement - IBM
Purpose. The MINIOPT statement is an extension to the MDISK statement and must immediately follow an MDISK statement that defines a non-full-pack minidisk....
Read more >Volume Shadowing for OpenVMS
The following example shows the use of the POLICY=MINICOPY=OPTIONAL qualifier ... parameters are dynamic, that is, they can be changed on a running...
Read more >minio/minio - Gitter
Can you paste the error again ? ... not working properly on Debian 7 saltstack/salt#28914 - Open; Error running example with minio-py minio/minio-py#284....
Read more >Analysis Report MiniCopy.exe - Joe Sandbox
Contains functionality for error logging ... Behavior Graph ID: 196806 Sample: MiniCopy.exe Startdate: 17/12/2019 Architecture: WINDOWS Score: 6 ...
Read more >VSI OpenVMS x86-64 V9.2 Release Notes - VMS Software, Inc.
VSI shall not be liable for technical or editorial errors or omissions ... Running the minicopy procedure using HBMM convertible bitmaps will result...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closing this as upgrading minio package will fix issue.
can you change this line
from minio.minio import Minio
tofrom minio import Minio