On windows, the proxy credentials cannot be retrieved

Bug #958938 reported by Roberto Alsina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Single Sign On Client
Status tracked in Trunk
Stable-3-0
Fix Released
Undecided
Unassigned
Trunk
Fix Released
High
Manuel de la Peña

Bug Description

How to reproduce:

On windows, configure an authenticated proxy. When you try to use u1, the proxy creds popups twice, clicking the button to authenticate does nothing, and you get this in the terminal:

C:\Users\ROBERTO\canonical\doing-windows\scripts\dist>ubuntuone-control-panel-qt.exe
Unhandled error in Deferred:
Traceback (most recent call last):
  File "twisted\internet\defer.pyc", line 388, in errback

  File "twisted\internet\defer.pyc", line 455, in _startRunCallbacks

  File "twisted\internet\defer.pyc", line 542, in _runCallbacks

  File "twisted\internet\defer.pyc", line 1076, in gotResult

--- <exception caught here> ---
  File "twisted\internet\defer.pyc", line 1018, in _inlineCallbacks

  File "twisted\python\failure.pyc", line 349, in throwExceptionIntoGenerator

  File "ubuntuone\controlpanel\gui\qt\controlpanel.pyc", line 107, in on_credentials_found

  File "twisted\internet\defer.pyc", line 1018, in _inlineCallbacks

  File "twisted\python\failure.pyc", line 349, in throwExceptionIntoGenerator

  File "ubuntuone\controlpanel\backend.pyc", line 104, in inner

  File "twisted\internet\defer.pyc", line 1018, in _inlineCallbacks

  File "twisted\python\failure.pyc", line 349, in throwExceptionIntoGenerator

  File "ubuntuone\controlpanel\backend.pyc", line 382, in account_info

  File "twisted\internet\defer.pyc", line 1018, in _inlineCallbacks

  File "twisted\python\failure.pyc", line 349, in throwExceptionIntoGenerator

  File "ubuntuone\controlpanel\web_client.pyc", line 57, in call_api

  File "twisted\internet\defer.pyc", line 1018, in _inlineCallbacks

  File "twisted\python\failure.pyc", line 349, in throwExceptionIntoGenerator

  File "ubuntu_sso\utils\webclient\qtnetwork.pyc", line 186, in request

  File "twisted\internet\defer.pyc", line 1018, in _inlineCallbacks

  File "twisted\python\failure.pyc", line 349, in throwExceptionIntoGenerator

  File "ubuntu_sso\utils\webclient\qtnetwork.pyc", line 230, in _handle_proxy_authentication

  File "twisted\internet\defer.pyc", line 1018, in _inlineCallbacks

  File "twisted\python\failure.pyc", line 349, in throwExceptionIntoGenerator

  File "ubuntu_sso\utils\webclient\common.pyc", line 213, in request_proxy_auth_credentials

  File "twisted\internet\defer.pyc", line 1018, in _inlineCallbacks

  File "twisted\python\failure.pyc", line 349, in throwExceptionIntoGenerator

  File "ubuntu_sso\utils\webclient\common.pyc", line 185, in _load_proxy_creds_from_keyring

ubuntu_sso.utils.webclient.common.WebClientError: ('Error when retrieving the creds.', error(87, 'CredRead', 'The parameter is incorrect.'))
QNetworkAccessCache::addEntry: overriding active cache entry 'auth:proxy-http://184.82.108.14:8888#Proxy%20Server'
QNetworkAccessCache::addEntry: overriding active cache entry 'auth:proxy-http://184.82.108.14:8888'

Tags: u1-windows

Related branches

Revision history for this message
Manuel de la Peña (mandel) wrote :

Its a know issue due to the following bug in Qt: https://bugreports.qt-project.org/browse/QTBUG-14850?page=com.googlecode.jira-suite-utilities:transitions-summary-tabpanel

I'm trying to work around it atm.

Changed in ubuntu-sso-client:
assignee: nobody → Manuel de la Peña (mandel)
Revision history for this message
Manuel de la Peña (mandel) wrote :

I just found the issue, proxy() is returning a proxy of type None and hostName '' which ofcourse cannot be stored in the secrets vault (the hostname is used as the key)

Changed in ubuntu-sso-client:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.