VerifiedHTTPSConnection error on OS X #485

Closed
kcivey opened this Issue Nov 13, 2013 · 2 comments

Projects

None yet

2 participants

@kcivey

I've installed aws-cli on OSX 1.6.8 using MacPorts Python 2.7. That seemed to go OK (though aws wasn't installed into /opt/local/bin or anywhere in the path). But when I try any command (say, aws iam list-users or aws ec2 describe-instances) I get

VerifiedHTTPSConnection instance has no attribute '_tunnel_host'

Google doesn't find many instances of that phrase. Any ideas about what's wrong?

@garnaat

The only time I have seen this error is when a user was attempting to run AWS CLI using Python 2.6.2. Apparently the urllib3 package used by requests is using a feature of httplib.py that didn't appear until Python version 2.6.3.

So, I think AWS CLI is picking up an older version of Python. Try running aws --version and see what it says.

@kcivey

Yes, that is the problem. Somehow it's picking up the Python 2.6.1 that's also installed, even though I installed awscli with the version of pip that goes with the 2.7 Python. So it's not really an aws-cli issue. Guess I'll have to fiddle with MacPorts some more. Thanks.

@kcivey kcivey closed this Nov 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment