Package: python2.7
Version: 2.7.13-2
Severity: normal

Dear Maintainer,

   * What led up to the situation?

   I tried to connect to likc.me using urllib2.urlopen("https://likc.me";).
   This server is configured with ECC keys, and has no issues serving
   most clients. Sllabs reports no errors. I am on Stretch.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

   Switching to Jessie. On Jessie, urllib2.urlopen returns with no
   errors, as expected.

   * What was the outcome of this action?

   $ python2
   Python 2.7.13 (default, Jan 19 2017, 14:48:08) 
   [GCC 6.3.0 20170118] on linux2
   Type "help", "copyright", "credits" or "license" for more information.
   >>> from urllib2 import urlopen
   >>> urlopen("https://likc.me";)
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
       return opener.open(url, data, timeout)
     File "/usr/lib/python2.7/urllib2.py", line 429, in open
       response = self._open(req, data)
     File "/usr/lib/python2.7/urllib2.py", line 447, in _open
       '_open', req)
     File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
       result = func(*args)
     File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
       context=self._context)
     File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
       raise URLError(err)
   urllib2.URLError: <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 
alert handshake failure (_ssl.c:661)>

   * What outcome did you expect instead?

   Working normally, just like in Jessie:

   $ python2
   Python 2.7.9 (default, Jun 29 2016, 13:08:31) 
   [GCC 4.9.2] on linux2
   Type "help", "copyright", "credits" or "license" for more information.
   >>> from urllib2 import urlopen
   >>> urlopen("https://likc.me";)
   <addinfourl at 140383687130648 whose fp = <socket._fileobject object at 
0x7fada2057d50>>

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python2.7 depends on:
ii  libpython2.7-stdlib  2.7.13-2
ii  mime-support         3.60
ii  python2.7-minimal    2.7.13-2

python2.7 recommends no packages.

Versions of packages python2.7 suggests:
ii  binutils       2.28-5
pn  python2.7-doc  <none>

-- no debconf information

Reply via email to