'AWSHTTPSConnection' object has no attribute 'ssl_context'

Bug #1712364 reported by Dan Watkins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
awscli (Debian)
Fix Released
Unknown
awscli (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

```
$ aws ec2 run-instances --image-id ami-720ae90a --instance-type t2.micro --region us-west-2 --key canonical

'AWSHTTPSConnection' object has no attribute 'ssl_context'
```

Changed in awscli (Debian):
status: Unknown → Confirmed
Changed in awscli (Debian):
status: Confirmed → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Upstream issue: https://github.com/boto/botocore/issues/1258

Debian patch: https://anonscm.debian.org/cgit/python-modules/packages/python-botocore.git/commit/?id=509dfc6bd0376648ca59fcee0547ec377b6d8659

In which ubuntu release did this fail? I quickly ran the aws command on xenial and it worked:

$ dpkg-query -W python-boto python3-botocore awscli
awscli 1.11.13-1ubuntu1~16.04.0
python-boto 2.38.0-1ubuntu1
python3-botocore 1.4.70-1~16.04.0

I see that python3-botocore in xenial does not have the patch that debian applied, so some other code path must be at play here.

Changed in awscli (Ubuntu):
status: New → Incomplete
Revision history for this message
Dan Watkins (oddbloke) wrote :

artful; I see there is a new version that I'm installing (along with a million other things), so I'll see if the fix is included there.

Revision history for this message
Dan Watkins (oddbloke) wrote :

It is! \o/

Changed in awscli (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.