question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error running example with minio-py

See original GitHub issue

I 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:closed
  • Created 8 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
koolhead17commented, Nov 27, 2015

Closing this as upgrading minio package will fix issue.

1reaction
krishnasrinivascommented, Nov 26, 2015

can you change this line from minio.minio import Minio to from minio import Minio

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found