Movatterモバイル変換


[0]ホーム

URL:


homepage

Message230541

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Authorbenjamin.peterson
RecipientsArfrever, alex, benjamin.peterson, christian.heimes, dstufft, jcea, jwilk, larry, ncoghlan, orsenthil, raulcd
Date2014-11-03.15:21:21
SpamBayes Score-1.0
Marked as misclassifiedYes
Message-id<1415028083.1.0.82299318667.issue22417@psf.upfronthosting.co.za>
In-reply-to
Content
% ./pythonLib/test/regrtest.py -v test_urllib2_localnet== CPython 3.4.2+ (3.4:7be6ef737aaf+, Nov 3 2014, 10:03:11) [GCC 4.8.3]==Linux-3.16.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-2860QM_CPU_@_2.50GHz-with-gentoo-2.2 little-endian==   hash algorithm: siphash24 64bit==   /home/benjamin/dev/python/3.4/build/test_python_28724Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0)[1/1] test_urllib2_localnettest_basic_auth_httperror (test.test_urllib2_localnet.BasicAuthTests) ... oktest_basic_auth_success (test.test_urllib2_localnet.BasicAuthTests) ... oktest_proxy_qop_auth_int_works_or_throws_urlerror (test.test_urllib2_localnet.ProxyAuthTests) ... oktest_proxy_qop_auth_works (test.test_urllib2_localnet.ProxyAuthTests) ... oktest_proxy_with_bad_password_raises_httperror (test.test_urllib2_localnet.ProxyAuthTests) ... oktest_proxy_with_no_password_raises_httperror (test.test_urllib2_localnet.ProxyAuthTests) ... oktest_200 (test.test_urllib2_localnet.TestUrlopen) ... oktest_200_with_parameters (test.test_urllib2_localnet.TestUrlopen) ... oktest_404 (test.test_urllib2_localnet.TestUrlopen) ... oktest_bad_address (test.test_urllib2_localnet.TestUrlopen) ... skipped "Use of the 'network' resource not enabled"test_basic (test.test_urllib2_localnet.TestUrlopen) ... oktest_chunked (test.test_urllib2_localnet.TestUrlopen) ... oktest_geturl (test.test_urllib2_localnet.TestUrlopen) ... oktest_https (test.test_urllib2_localnet.TestUrlopen) ... Got an error:[SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:600)stopping HTTPS serverjoining HTTPS threadERRORtest_https_sni (test.test_urllib2_localnet.TestUrlopen) ... Got an error:[SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:600)stopping HTTPS serverjoining HTTPS threadERRORtest_https_with_cadefault (test.test_urllib2_localnet.TestUrlopen) ... stopping HTTPS serverGot an error:[SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:600)joining HTTPS threadoktest_https_with_cafile (test.test_urllib2_localnet.TestUrlopen) ... Got an error:[SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:600)stopping HTTPS serverjoining HTTPS threadstopping HTTPS serverjoining HTTPS threadoktest_info (test.test_urllib2_localnet.TestUrlopen) ... oktest_iteration (test.test_urllib2_localnet.TestUrlopen) ... oktest_line_iteration (test.test_urllib2_localnet.TestUrlopen) ... oktest_redirection (test.test_urllib2_localnet.TestUrlopen) ... oktest_sending_headers (test.test_urllib2_localnet.TestUrlopen) ... ok======================================================================ERROR: test_https (test.test_urllib2_localnet.TestUrlopen)----------------------------------------------------------------------Traceback (most recent call last):  File "/home/benjamin/dev/python/3.4/Lib/urllib/request.py", line 1182, in do_open    h.request(req.get_method(), req.selector, req.data, headers)  File "/home/benjamin/dev/python/3.4/Lib/http/client.py", line 1090, in request    self._send_request(method, url, body, headers)  File "/home/benjamin/dev/python/3.4/Lib/http/client.py", line 1128, in _send_request    self.endheaders(body)  File "/home/benjamin/dev/python/3.4/Lib/http/client.py", line 1086, in endheaders    self._send_output(message_body)  File "/home/benjamin/dev/python/3.4/Lib/http/client.py", line 924, in _send_output    self.send(msg)  File "/home/benjamin/dev/python/3.4/Lib/http/client.py", line 859, in send    self.connect()  File "/home/benjamin/dev/python/3.4/Lib/http/client.py", line 1230, in connect    server_hostname=sni_hostname)  File "/home/benjamin/dev/python/3.4/Lib/ssl.py", line 364, in wrap_socket    _context=self)  File "/home/benjamin/dev/python/3.4/Lib/ssl.py", line 584, in __init__    self.do_handshake()  File "/home/benjamin/dev/python/3.4/Lib/ssl.py", line 811, in do_handshake    self._sslobj.do_handshake()ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)During handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/home/benjamin/dev/python/3.4/Lib/test/test_urllib2_localnet.py", line 548, in test_https    data = self.urlopen("https://localhost:%s/bizarre" % handler.port)  File "/home/benjamin/dev/python/3.4/Lib/test/test_urllib2_localnet.py", line 455, in urlopen    f = urllib.request.urlopen(url, data, **kwargs)  File "/home/benjamin/dev/python/3.4/Lib/urllib/request.py", line 161, in urlopen    return opener.open(url, data, timeout)  File "/home/benjamin/dev/python/3.4/Lib/urllib/request.py", line 463, in open    response = self._open(req, data)  File "/home/benjamin/dev/python/3.4/Lib/urllib/request.py", line 481, in _open    '_open', req)  File "/home/benjamin/dev/python/3.4/Lib/urllib/request.py", line 441, in _call_chain    result = func(*args)  File "/home/benjamin/dev/python/3.4/Lib/urllib/request.py", line 1225, in https_open    context=self._context, check_hostname=self._check_hostname)  File "/home/benjamin/dev/python/3.4/Lib/urllib/request.py", line 1184, in do_open    raise URLError(err)urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>======================================================================ERROR: test_https_sni (test.test_urllib2_localnet.TestUrlopen)----------------------------------------------------------------------Traceback (most recent call last):  File "/home/benjamin/dev/python/3.4/Lib/urllib/request.py", line 1182, in do_open    h.request(req.get_method(), req.selector, req.data, headers)  File "/home/benjamin/dev/python/3.4/Lib/http/client.py", line 1090, in request    self._send_request(method, url, body, headers)  File "/home/benjamin/dev/python/3.4/Lib/http/client.py", line 1128, in _send_request    self.endheaders(body)  File "/home/benjamin/dev/python/3.4/Lib/http/client.py", line 1086, in endheaders    self._send_output(message_body)  File "/home/benjamin/dev/python/3.4/Lib/http/client.py", line 924, in _send_output    self.send(msg)  File "/home/benjamin/dev/python/3.4/Lib/http/client.py", line 859, in send    self.connect()  File "/home/benjamin/dev/python/3.4/Lib/http/client.py", line 1230, in connect    server_hostname=sni_hostname)  File "/home/benjamin/dev/python/3.4/Lib/ssl.py", line 364, in wrap_socket    _context=self)  File "/home/benjamin/dev/python/3.4/Lib/ssl.py", line 584, in __init__    self.do_handshake()  File "/home/benjamin/dev/python/3.4/Lib/ssl.py", line 811, in do_handshake    self._sslobj.do_handshake()ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)During handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/home/benjamin/dev/python/3.4/Lib/test/test_urllib2_localnet.py", line 587, in test_https_sni    self.urlopen("https://localhost:%s" % handler.port)  File "/home/benjamin/dev/python/3.4/Lib/test/test_urllib2_localnet.py", line 455, in urlopen    f = urllib.request.urlopen(url, data, **kwargs)  File "/home/benjamin/dev/python/3.4/Lib/urllib/request.py", line 161, in urlopen    return opener.open(url, data, timeout)  File "/home/benjamin/dev/python/3.4/Lib/urllib/request.py", line 463, in open    response = self._open(req, data)  File "/home/benjamin/dev/python/3.4/Lib/urllib/request.py", line 481, in _open    '_open', req)  File "/home/benjamin/dev/python/3.4/Lib/urllib/request.py", line 441, in _call_chain    result = func(*args)  File "/home/benjamin/dev/python/3.4/Lib/urllib/request.py", line 1225, in https_open    context=self._context, check_hostname=self._check_hostname)  File "/home/benjamin/dev/python/3.4/Lib/urllib/request.py", line 1184, in do_open    raise URLError(err)urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>----------------------------------------------------------------------Ran 22 tests in 3.087s
History
DateUserActionArgs
2014-11-03 15:21:23benjamin.petersonsetrecipients: +benjamin.peterson,jcea,ncoghlan,orsenthil,larry,christian.heimes,jwilk,Arfrever,alex,dstufft,raulcd
2014-11-03 15:21:23benjamin.petersonsetmessageid: <1415028083.1.0.82299318667.issue22417@psf.upfronthosting.co.za>
2014-11-03 15:21:23benjamin.petersonlinkissue22417 messages
2014-11-03 15:21:21benjamin.petersoncreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp