Closed
Bug 1169832
Opened 11 years ago
Closed 11 years ago
SSL error encountered on https://careers.mozilla.org when requesting the page with python-requests
Categories
(Websites :: careers.mozilla.org, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: brouberol, Unassigned)
Details
Attachments
(1 file)
|
2.55 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 2015051400
Steps to reproduce:
I'm using the python HTTP library "requests" to request the page located at https://careers.mozilla.org/en-US/listings/ (or http://careers.mozilla.org/en-US/listings/, as the webservers redirects to https://careers.mozilla.org/en-US/listings/).
$ python
Python 2.7.6 (default, Nov 21 2013, 15:55:38) [GCC] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> requests.__version__
'2.6.0'
>>> requests.get('https://careers.mozilla.org/en-US/listings')
Actual results:
/usr/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/requests/api.py", line 68, in get
return request('get', url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 464, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 431, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: hostname 'careers.mozilla.org' doesn't match either of 'generic-san.mozilla.org', 'inform.mozilla.org', 'air.mozilla.org', 'basket.mozilla.org', 'blog.mozilla.com', 'blog.mozilla.org', 'boardwiki.mozilla.org', 'creative.mozilla.org', 'foundationwiki.mozilla.org', 'join.mozilla.org', 'mpl.mozilla.org', 'outgoing.mozilla.org', 'quality.mozilla.org', 'securitywiki.mozilla.org', 'wiki.mozilla.org', 'tbpl.mozilla.org', 'basket.mozilla.com', 'air.mozilla.com', 'hacks.mozilla.org', 'brendaneich.com', 'www.brendaneich.com', 'dragnet.mozilla.org', 'www.itisatrap.org', 'itisatrap.org', 'calendar.mozilla.org', 'allizom.org', 'www.allizom.org', 'moztrap.mozilla.org', 'careers.mozilla.com', 'blog.seamonkey-project.org', 'blog.seamonkeyproject.org', 'openstandard.mozilla.org', 'pto.mozilla.org', 'dnt-dashboard.mozilla.org', 'mx.thunderbird.net', 'broker.thunderbird.net', 'intranet.mozilla.org'
Expected results:
The HTTPS request should have proceeded normally.
Sorry about the noise, this is purely a Python problem, not related to Mozilla's SSL certificate.
Consider this issue nil and closed.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•