I am Seeing the above issue. 
removing this machine from ubuntuone "your machine" list
https://one.ubuntu.com/account/machines/

completely removed ubuntuone, tomboy, etc. re-installed. Made sure there
is no ubuntuone listed in preferences->passwords and keys

With 
env DEBUG=1 /usr/lib/ubuntu-sso-client/ubuntu-sso-login

Getting the following

2011-01-28 11:51:00,698:698.609113693 - ubuntu_sso.main - DEBUG - login: 
token_name 'Ubuntu One @ myboxname', email dbus.String(u'myem...@mail.com'), 
password <hidden>.
2011-01-28 11:51:00,698:698.978900909 - ubuntu_sso.main - DEBUG - login: email: 
dbus.String(u'myem...@mail.com') password: <hidden>, token_name: 'Ubuntu One @ 
hammerfish'
2011-01-28 11:51:04,125:125.788927078 - ubuntu_sso.main - DEBUG - login: 
authentication successful! consumer_key: u'tcrCBCJ', token_name: 'Ubuntu One @ 
myboxname'
2011-01-28 11:51:04,126:126.043081284 - ubuntu_sso.main - DEBUG - login 
returned not None credentials? True.
2011-01-28 11:51:04,126:126.221895218 - ubuntu_sso.main - DEBUG - is_validated: 
requesting accounts.me() info.
2011-01-28 11:51:05,663:663.045883179 - ubuntu_sso.main - ERROR - Exception 
while running DBus blocking code in a thread:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/ubuntu_sso/main.py", line 319, in 
_in_thread
    result_cb(app_name, f())
  File "/usr/lib/pymodules/python2.6/ubuntu_sso/main.py", line 425, in 
success_cb
    is_validated = self.processor.is_validated(credentials)
  File "/usr/lib/pymodules/python2.6/ubuntu_sso/main.py", line 230, in 
is_validated
    me_info = sso_service.accounts.me()
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/resource.py", line 
528, in __call__
    url, in_representation, http_method, extra_headers=extra_headers)
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/_browser.py", line 
277, in _request
    raise HTTPError(response, content)
HTTPError: HTTP Error 401: Unauthorized
Response headers:
---
content-length: 16
content-type: text/plain
date: Fri, 28 Jan 2011 19:52:11 GMT
server: Apache/2.2.14 (Ubuntu)
status: 401
vary: Accept-Encoding
via: 1.1 login.ubuntu.com
www-authenticate: OAuth realm="Restricted area"
---
Response body:
---
401 Unauthorized
---

2011-01-28 11:51:05,664:664.215087891 - ubuntu_sso.main - DEBUG - SSOLogin: 
emitting LoginError with app_name "Ubuntu One" and error {'errtype': 
'HTTPError', 'message': 'An HTTP non-2xx response code was received.'}
2011-01-28 11:51:05,664:664.951086044 - ubuntu_sso.gui - INFO - on_login_error: 
args (<ubuntu_sso.gui.UbuntuSSOClientGUI object at 0x14b3590>, 
dbus.String(u'Ubuntu One'), dbus.Dictionary({dbus.String(u'errtype'): 
dbus.String(u'HTTPError'), dbus.String(u'message'): dbus.String(u'An HTTP 
non-2xx response code was received.')}, signature=dbus.Signature('ss'))), 
kwargs {}.

Please Advise. FYI, I just installed 10.10 (same hardware), put the home dir 
from 10.4 on it (via tar). 
Other devices seem to have no problem, FYI

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/696361

Title:
  Ubuntu sso fails with 'An HTTP non-2xx response code was received'

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to