Cannot auth, register, reset password

Bug #1031009 reported by cmezh
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ca-certificates (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I've installed Ubuntu 12.04 (alternate CD: base system + xubuntu-desktop).
Then I've installed Ubuntu One with ubuntuone-installer.
And now nothing can be done with Ubuntu One:
1. When I'm trying to sign in it says: "The authentication failed"
2. When I'm trying to reset password it says: "Sorry we did not recognize the email address"
3. When I'm trying to register new account there is no captcha and error message: "There was a problem getting the captcha, reloading..."
Unfortunately, I have only my laptop so I can't try to reproduce this bug on another machine.
Authentication on one.ubuntu.com works fine.

Tags: captcha
Revision history for this message
cmezh (dmovodov) wrote :
Revision history for this message
Akoola (akoola) wrote :

Hi all,

I experienced exactly the same issue and logged information/error posted by cmezh
I'm not sure if this information can help :

earlier last month, I was first having the IPCERROR issue withe ubuntone-control-panel and it's resolved (after apply system update ) and now experienced this one.

I have try from some days to found a solution with playing with packages depend rdepend python (apt/dpkg) .

I have three computers with Ubuntu 12.04 install (from scratch) running from some times, I experienced the issue only with one of my computer.

u1sdtoll -s get a result with only the network/auth disassociate.

I tried to get new credentials for this computer, querying with u1oauthrequest with resulting message :

CredentialsNotFound: Credentials Not Found Error: missing key consumer_key
No OAuth credentials passed in or found in the system.

Please find attached the logs from .cache/ubuntone/log in DEBUG mode.

Today I trying also to register to « Ubuntu Software Center » cloud, to test syncing packages between computers, when the ui pop up, same problems, no captacha and logon failed.

Regards,

Hakim

Revision history for this message
Akoola (akoola) wrote :

Hi cmezh,

I have found a solution for me, it's working now, can you check if you'v got the same problem.

I see that one of the CA certs in /etc/ssl/certs is corrupted, in my case it was ValiCert_Class_2_VA.crt

updating cetificates databases using update-ca-certificate -f lead to this :

Clearing symlinks in /etc/ssl/certs...done.
Updating certificates in /etc/ssl/certs... W: /usr/share/ca-certificates/mozilla/ValiCert_Class_2_VA.crt not found, but listed in /etc/ca-certificates.conf.

and executing this openssl command :
openssl x509 -in ValiCert_Class_2_VA.pem -noout -text :
Error opening Certificate ValiCert_Class_2_VA.pem
140165203715744:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('ValiCert_Class_2_VA.pem','r')
140165203715744:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
unable to load certificate

when using dbus-monitor like is indicated here : https://one.ubuntu.com/developer/account_admin/auth/ubuntu

dbus messages ubuntuone.CredentialsManagement reply with AuthorizationDenied , so authentification was send to oauth trough https, but the received message indicate AuthorizationDenied instead of having something like certificate error before trying to authenticate.

the UI cannot load image from https:// because of the certificate error I think.

I don't know why the certificates was not or get a corrupted certificates, I scp the CA certificate from my other computers into /usr/share/ca-certificates/mozilla/ and re run update-ca-certificate, and now ubuntone can connect :

u1sdtool -s

State: READY
    connection: With User Not Network
    description: ready to connect
    is_connected: False
    is_error: False
    is_online: False
    queues: WORKING

I check the CA certs because of an error message from gnome-keyring.

hope this can help.

Regards,

Revision history for this message
Akoola (akoola) wrote :

State: QUEUE_MANAGER
    connection: With User With Network
    description: processing the commands pool
    is_connected: True
    is_error: False
    is_online: True
    queues: WORKING

Revision history for this message
Akoola (akoola) wrote :

People,

is this problem related to this bug? https://bugs.launchpad.net/ubuntu/+source/ubuntuone-client/+bug/882062

u1sdtool --version : u1sdtool - Version 3.0.2

Thanks,

Regards,

Revision history for this message
cmezh (dmovodov) wrote :

Hi, Akoola!
Thank you for your help!
I found another way to fix this issue, I've reinstalled packages ca-certificates and python-ubuntuone-storageprotocol.

dpkg --force-all -r ca-certificates python-ubuntuone-storageprotocol

sudo apt-get install ca-certificates python-ubuntuone-storageprotocol

Revision history for this message
cmezh (dmovodov) wrote :

I'm not sure it's important to reinstall two packages, maybe it's enough to reinstall only one package.

Revision history for this message
Akoola (akoola) wrote :

Hi cmezh,

glad to see that the problem is resolved for you, I think reconfigure or reinstall ca-certificates packages should be enough if the corrupted CA certificate is replaced.(in this case)

Cheers,

Akoola (akoola)
Changed in ubuntuone-client:
status: New → Invalid
status: Invalid → New
tags: added: captcha
Revision history for this message
Schramm (schramm-66) wrote :

Thank you so much cmezh (dmovodov) with your way:

dpkg --force-all -r ca-certificates python-ubuntuone-storageprotocol

sudo apt-get install ca-certificates python-ubuntuone-storageprotocol

It works for me!

Both lines are necessary.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Revision history for this message
Akoola (akoola) wrote :

Workaround

dpkg --force-all -r ca-certificates python-ubuntuone-storageprotocol
sudo apt-get install ca-certificates python-ubuntuone-storageprotocol

Changed in ca-certificates (Ubuntu):
status: New → Confirmed
Akoola (akoola)
affects: ubuntuone-client → ca-certificates (Ubuntu)
Changed in ca-certificates (Ubuntu):
status: New → Incomplete
Revision history for this message
ZhiQiang Fan (aji-zqfan) wrote :

dpkg --force-all -r ca-certificates python-ubuntuone-storageprotocol
sudo apt-get install ca-certificates python-ubuntuone-storageprotocol

this is not work for me

i cannot login and register

ubuntu one suddenly not work well any more, i don't know what happen

# cat .cache/sso/sso-client.log

2013-03-02 21:08:17,693:693.974971771 - ubuntu_sso.account - ERROR - login failed with:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntu-sso-client/ubuntu_sso/account.py", line 216, in login
    token_name=token_name)
WebClientError: (u'SSL handshake failed', u'')

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ca-certificates (Ubuntu) because there has been no activity for 60 days.]

Changed in ca-certificates (Ubuntu):
status: Incomplete → Expired
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.