Build an open future with us.

Invest in Mycroft and become a community partner.

SSL V3 error in Debian Jessie


#1

Good afternoon,

I have a problem in one of my skills, while doing an HTTPS call:

raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:720)>

It looks like since I use Debian Jessie, I should not use SSL V3, and as far as NGinx is concerned, I don’t. So, how could I tell Mycroft not to use it while doing an https client call, please?

Thanks in advance!


#2

What version of python? What version of urllib? Can also try
python3 -c “import json, urllib.request; print(json.loads(urllib.request.urlopen(‘https://www.howsmyssl.com/a/check’).read().decode(‘UTF-8’))['tls_version’])” to see what versions it can use.


#3

Yes, of course. Let’s start at the beginning:

Python 3.5, Urllib 1.22

And:

>>> python3 -c "import json, urllib.request; print(json.loads(urllib.request.urlopen('https://www.howsmyssl.com/a/check').read().decode('UTF-8'))['tls_version'])"

TLS 1.3

Thanks a lot!


#4

Try
openssl s_client -connect yourendpointhere:443 -ssl3
or
nmap --script ssl-enum-ciphers -p 443 yourendpointhere
?


#5

Hi there @BugHunterPhilosopher, there could be many reasons why you’re getting this in a https call.

  • Which library are you using to do the call - ie is it abstracted using a library like requests or similar?
  • Can you show us the code in context?

edited the topic to put this in Skill Support, not general support


#6

Good afternoon,

It’s been a long time here, sorry. I have installed Mycroft on a Respeaker core V2 and it just works! I have no problem on my custom skill: no more SSL V3 error! It’s just a lot of fun.

Thanks again & keep up the good work!


#7

Thank you so much for confirming, @BugHunterPhilosopher! Happy hacking!