[Bug 1450670] [NEW] python-requests in 14.04 LTS breaks on some https URLs
Graeme
graeme at sudo.ca
Thu Apr 30 23:18:54 UTC 2015
Public bug reported:
Having problems fetching files using the version of python-requests in
14.04. It works fine in 14.10 and more recent releases, so it appears to
be a bug in the older version of python-requests that 14.04 has. This
affects things like salt-stack, which leverage python-requests to pull
in data.
# echo -e "import requests\nr = requests.get('https://logdog.loggly.com/media/loggly.com.crt')\nprint r.text" | python
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 55, in get
return request('get', url, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 44, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 455, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 558, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 385, in send
raise SSLError(e)
requests.exceptions.SSLError: [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-requests 2.2.1-1ubuntu0.2
ProcVersionSignature: Ubuntu 3.13.0-48.80-generic 3.13.11-ckt16
Uname: Linux 3.13.0-48-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.10
Architecture: amd64
Date: Thu Apr 30 23:16:44 2015
Ec2AMI: ami-5189a661
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-west-2b
Ec2InstanceType: t2.micro
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitecture: all
SourcePackage: requests
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: requests (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug ec2-images trusty
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to requests in Ubuntu.
https://bugs.launchpad.net/bugs/1450670
Title:
python-requests in 14.04 LTS breaks on some https URLs
Status in requests package in Ubuntu:
New
Bug description:
Having problems fetching files using the version of python-requests in
14.04. It works fine in 14.10 and more recent releases, so it appears
to be a bug in the older version of python-requests that 14.04 has.
This affects things like salt-stack, which leverage python-requests to
pull in data.
# echo -e "import requests\nr = requests.get('https://logdog.loggly.com/media/loggly.com.crt')\nprint r.text" | python
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 55, in get
return request('get', url, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 44, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 455, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 558, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 385, in send
raise SSLError(e)
requests.exceptions.SSLError: [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-requests 2.2.1-1ubuntu0.2
ProcVersionSignature: Ubuntu 3.13.0-48.80-generic 3.13.11-ckt16
Uname: Linux 3.13.0-48-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.10
Architecture: amd64
Date: Thu Apr 30 23:16:44 2015
Ec2AMI: ami-5189a661
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-west-2b
Ec2InstanceType: t2.micro
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitecture: all
SourcePackage: requests
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/requests/+bug/1450670/+subscriptions
More information about the foundations-bugs
mailing list