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.

ssl_context error

See original GitHub issue

error

HTTPClientError: An HTTP Client raised and unhandled exception: init() got an unexpected keyword argument ‘ssl_context’

env

python 2.7 boto3 1.9.2

code

client = boto3.client(
    's3',
    aws_access_key_id=access_key,
    aws_secret_access_key=secret_key,
    use_ssl=False,
    verify=False
)
client.list_buckets()

When drop use_ssl and veriry error still exists.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8

github_iconTop GitHub Comments

17reactions
tdbgamercommented, Sep 25, 2018

@protream Why did you close this? I’m having the same issue. Did you find a solution?

1reaction
qasimzeecommented, Nov 20, 2019

Not sure if it’s helpful but I solved it with boto.connect_s3 for python 2.7:

boto.connect_s3(
  aws_access_key_id=[ACCESS KEY], 
  aws_secret_access_key=[SECRET KEY], 
  host='localhost', 
  port=4572, 
  is_secure=True, 
  calling_format=boto.s3.connection.OrdinaryCallingFormat()
)
Read more comments on GitHub >

github_iconTop Results From Across the Web

A Simple Explanation of SSL Certificate Errors & How to Fix ...
An SSL certificate error occurs when a web browser can't verify the SSL certificate installed on a site. Rather than connect users to...
Read more >
What Does SSL Connection Error Mean and How to Fix It
Having SSL connection error on your website leads to loss of visitors and reduced sales numbers. Read on to learn what it is...
Read more >
8 Ways to Fix SSL Connection Errors on Various Browsers ...
Discover 8 effective ways to fix SSL connection errors on various browsers, OSs, and platforms. Don't scare your users away.
Read more >
What Do SSL Certificate Errors Mean: Causes & How to Fix ...
An SSL certificate error occurs when the browser cannot verify the SSL certificates returned by the server. When the error happens, ...
Read more >
SSL errors – common codes and messages - Paessler
The SSL error is caused by a problem with the root certificate. When you use client SSL and make a request for a...
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