[Errno socket error] [Errno 1] _ssl.c:480: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Bug #460851 reported by Felipe Figueiredo
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
ubuntuone-client (Ubuntu)
Fix Released
Medium
Roman Yepishev

Bug Description

Binary package hint: ubuntuone-client

I can't open U1 in my personal desktop, although I can use it in two other computers. I recently upgraded from Jaunty to Karmic hoping it would help with the problem, but it didn't.

Running from the command line, with the karmic version yields:

philsf@peralta:~$ ubuntuone-client-applet
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 576, in msg_reply_handler
    reply_handler(*message.get_args_list(**get_args_opts))
  File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 276, in got_state
    self.acquire_access_token(description, store)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 341, in acquire_access_token
    token=self.request_token)
  File "/usr/lib/python2.6/dist-packages/oauth/oauth.py", line 339, in from_token_and_callback
    parameters['oauth_token'] = token.key
AttributeError: 'NoneType' object has no attribute 'key'

ProblemType: Crash
.home.philsf..cache.ubuntuone.log.syncdaemon.exceptions.log:

.home.philsf..config.ubuntuone.ubuntuone.client.conf:
 [ubuntuone]
 bookmarked = True
 connected = True
 connect = 1
 show_applet = 0
Architecture: i386
Date: Mon Oct 26 02:42:14 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/ubuntuone-client-applet
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: ubuntuone-client-gnome 1.0.2-0ubuntu1
ProcCmdline: /usr/bin/python /usr/bin/ubuntuone-client-applet
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
PythonArgs: ['/usr/bin/ubuntuone-client-applet']
SourcePackage: ubuntuone-client
Title: ubuntuone-client-applet crashed with AttributeError in from_token_and_callback()
Uname: Linux 2.6.31-14-generic i686
UserGroups: adm admin arb audio cdrom dialout dip disk fax floppy fuse lpadmin plugdev sambashare scanner tape video

Revision history for this message
Felipe Figueiredo (philsf) wrote :
Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #460445, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
visibility: private → public
dobey (dobey)
summary: - ubuntuone-client-applet crashed with AttributeError in
- from_token_and_callback()
+ [Errno socket error] [Errno 1] _ssl.c:480: error:14090086:SSL
+ routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Changed in ubuntuone-client (Ubuntu):
status: New → Confirmed
assignee: nobody → Rodney Dawes (dobey)
Revision history for this message
Felipe Figueiredo (philsf) wrote :

Rodney,

as I see you've been assigned this bug, do you have any clue as to what the root cause of the problem is? I might have some package missing, since I upgraded from Hardy to Jaunty, and then to Karmic, but apt seems happy and I made sure that ubuntu-desktop, -standard and -minimal are all installed.

Since I can connect to Ubuntu One services from two other boxes, and can't connect from this particular box from a test account, I presume the problem is system-wide as oposed to a user configuration problem. If you think otherwise, please advise which files I should move/delete in order to start fresh.

One interesing information that might or not be useful is that I can sync Tomboy notes to Ubuntu One (desktop couch?), even if I can't connect with the u1 applet.

Revision history for this message
dobey (dobey) wrote :

Hi Felipe,

Have you updated to the update version in Karmic (1.0.2-0ubuntu2) yet? I'd like to know if you still get the same error with that version as well. Also, are you using a proxy? And, finally, can you verify that the following files are on your system, and readable as your normal user?

/etc/ssl/certs/UbuntuOne-Go_Daddy_CA.pem
/etc/ssl/certs/UbuntuOne-Go_Daddy_Class_2_CA.pem

Thanks!

Revision history for this message
Felipe Figueiredo (philsf) wrote :

Rodney,

Yes I have the latest updates, and the files exist, are regular files (as oposed to symlinks or even broken links) and are globally readable. I'll try again from scratch with a test account, to make sure I'm not missing anything.

philsf@peralta:~$ ll /etc/ssl/certs/UbuntuOne-Go_Daddy_CA.pem /etc/ssl/certs/UbuntuOne-Go_Daddy_Class_2_CA.pem
-rw-r--r-- 1 root root 1.8K 2009-10-12 11:24 /etc/ssl/certs/UbuntuOne-Go_Daddy_CA.pem
-rw-r--r-- 1 root root 1.5K 2009-10-12 11:24 /etc/ssl/certs/UbuntuOne-Go_Daddy_Class_2_CA.pem

philsf@peralta:~$ file /etc/ssl/certs/UbuntuOne-Go_Daddy_CA.pem /etc/ssl/certs/UbuntuOne-Go_Daddy_Class_2_CA.pem
/etc/ssl/certs/UbuntuOne-Go_Daddy_CA.pem: PEM certificate
/etc/ssl/certs/UbuntuOne-Go_Daddy_Class_2_CA.pem: PEM certificate

philsf@peralta:~$ dpkg -l ubuntuone-client\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-============================-============================-========================================================================
ii ubuntuone-client 1.0.2-0ubuntu2 Ubuntu One client
ii ubuntuone-client-gnome 1.0.2-0ubuntu2 Ubuntu One client GNOME integration
philsf@peralta:~$

Elliot Murphy (statik)
Changed in ubuntuone-client (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Felipe Figueiredo (philsf) wrote :

I upgraded this box to Lucid beta today, and still get the same error. UbuntuOne client is unusable in this desktop, although I can use it normally in my laptop and workstation.

Revision history for this message
Roman Yepishev (rye) wrote :

Felipe, could you please try running
$ sudo update-ca-certificates
on your desktop and try to restart the application.

Additionally, could you please archive the contents of /etc/ssl/certs and attach that to this bug report.
Is UbuntuOne the only application that is failing with SSL errors?

Could you please try running wget as
$ wget https://one.ubuntu.com/ -o /tmp/test-460851

And see whether it complains about the certificate?

Changed in ubuntuone-client (Ubuntu):
assignee: Rodney Dawes (dobey) → Roman Yepishev (rye)
Roman Yepishev (rye)
Changed in ubuntuone-client (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Felipe Figueiredo (philsf) wrote :

Roman,

Yes, Ubuntu One is the only application that fails with SSL errors, although I get sporadic warnings in pidgin while connecting to msn.

The command update-ca-certificates yielded no results, and wget also fails with SSL error.

I'm attaching the files requested. Thanks for the attention.

Revision history for this message
Felipe Figueiredo (philsf) wrote :
Changed in ubuntuone-client (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kristof (kristof-fooman) wrote :

I've had a similar error message (SSL3_GET_SERVER_CERTIFICATE:certificate verify failed) on a different application. The solution was to delete/rename the cacert.pem that ended up in my user's home directory.

yas alo (nejed-lol)
Changed in ubuntuone-client (Ubuntu):
status: Confirmed → Fix Released
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.