The changes in ubuntu_sso/utils/webclient/txweb.py are not used, and should be removed from this branch.
----
A typical error is currently logged as:
"""
2012-04-23 20:17:42,844:844.474077225 - ubuntu_sso.utils.webclient.qtnetwork - ERROR - SSL errors econuntered when performing a request to PyQt4.QtCore.QUrl(u'https://login.ubuntu.com/api/1.0/authentications')
:Error:
<TAB>Cert Details:
Organization: Mandel Corp
Common Name: mandel.biz
Locality Name: Barrio La Latina
Unit: Biohazards Division
Country: ES
State or Province: Madrid
<TAB>Error:
22
<TAB>Error msg:
The host name did not match any of the valid hosts for this certificate
"""
The error could be repeated multiple times in the log, and the wrongly placed tabs and the weird line breaks add a lot of noise. Please change it so looks like this:
Nice branch.
I'm requesting a few fixes, as follow:
---
This comment is no longer valid:
29 # ask the user if the cer should be trusted
---
The name of this test is no longer valid:
test_ssl_ fail_dialog_ user_rejects
----
The changes in ubuntu_ sso/utils/ webclient/ txweb.py are not used, and should be removed from this branch.
----
A typical error is currently logged as:
""" 844:844. 474077225 - ubuntu_ sso.utils. webclient. qtnetwork - ERROR - SSL errors econuntered when performing a request to PyQt4.QtCore. QUrl(u'https:/ /login. ubuntu. com/api/ 1.0/authenticat ions')
2012-04-23 20:17:42,
:Error:
<TAB>Cert Details:
Organization: Mandel Corp
Common Name: mandel.biz
Locality Name: Barrio La Latina
Unit: Biohazards Division
Country: ES
State or Province: Madrid
<TAB>Error:
22
<TAB>Error msg:
The host name did not match any of the valid hosts for this certificate
"""
The error could be repeated multiple times in the log, and the wrongly placed tabs and the weird line breaks add a lot of noise. Please change it so looks like this:
msg.write('SSL errors found; url: %s\n' % reply.request( ).url() ) write(' ======= =Error= ======= =====\n% s (%s)\n' % (error. errorString( ), error.error())) write(' ------- -Cert Details- -----\n% s\n' % self._get_ certificate_ details( error.certifica te())) '====== ======= ======= ======\ n')
for error in errors:
msg.
msg.
msg.write(