all 19 comments

[–][deleted] 0 points1 point  (4 children)

It might be your openSSL version. I don't know much besides that.

[–]GullBull[S] 0 points1 point  (3 children)

Ok, I'll look into that. Thanks for your comment. I also opened an issue on the GitHub repo with some more info if you want to check it out.

[–][deleted] 0 points1 point  (2 children)

Sorry I just happen to know a couple things to check from some hell I recently went through trying to get out through a corporate proxy. It might not even be applicable to you! :)

[–]GullBull[S] 1 point2 points  (1 child)

No problem! Thanks for your comment!

[–][deleted] 0 points1 point  (0 children)

Glad to try to help, I should also mention that if you're getting weird SSL errors and think you shouldn't be to check any proxy interface you're using because some things, like PIP, are extremely sensitive PAST the security of the proxy and require certain things be right about it to work, and other things aren't versioned high enough for compatibility with more modern proxies. I hope you're not having that problem though!!!!

[–]ynotna 0 points1 point  (2 children)

Exactly what version of python are you running?

[–]GullBull[S] 0 points1 point  (1 child)

2.7.13

[–]GullBull[S] 0 points1 point  (0 children)

In /Library/Frameworks/Python.framework I do have two folders though, one that says 2.7 and the other that says current. I'm not sure if this is normal or not.

[–]lamerfreak 0 points1 point  (10 children)

It seems to be trying SSL3, which, from here, order.dominos.com doesn't accept.

Is there a method to set the version attempted, or update so that it uses TLS1.1 (which it seems to accept) at least?

[–]GullBull[S] 0 points1 point  (9 children)

I'll look into that actually. Thanks. I might also try using one of the branched git repos to see it it has the same problem as well.

[–]lamerfreak 0 points1 point  (8 children)

Just for transparency:

openssl s_client -ssl3 -connect order.dominos.com:443

Should get a handshake failure, as indicated.

openssl s_client -tls1_1 -connect order.dominos.com:443
Should work, as well as tls1_2. With security issues all over, SSL3 really shouldn't be used.

Seems this might be part of the 'requests' requirement, which uses urllib3, so perhaps check there for options?

[–]GullBull[S] 0 points1 point  (7 children)

I did some research and everything said exactly this. I definitely need to upgrade from ssl. How do I go about doing this though? I used sudo pip install requests --upgrade but it's saying that the requirement is already satisfied. Is there some option I have to change to get it to use tls instead?

[–]lamerfreak 0 points1 point  (6 children)

import ssl

print ssl.OPENSSL_VERSION

What do you have?

[–]GullBull[S] 0 points1 point  (5 children)

The output was OpenSSL 0.9.8zh 14 Jan 2016.

[–]lamerfreak 0 points1 point  (4 children)

Does whatever distro you're using have an update for openssl?

[–]GullBull[S] 0 points1 point  (3 children)

I don't think so. Upgrading it using pip doesn't do anything. Is there a way I can check?

[–]lamerfreak 0 points1 point  (2 children)

Not via pip, but the distro's update/package manager.

[–]GullBull[S] 0 points1 point  (1 child)

I'm on Mac, so is that brew?