Authentication fails repetitively

Bug #362432 reported by Nick Barcet
78
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
High
dobey

Bug Description

I can't seem to get any of my 2 laptops authenticated anymore even after
(a) stoping the applet
(b) deleting the token in the keyring,
(c) relaunching the applet using 'ubuntuone-client-applet --signup'
(d) re-allowing ("add this computer").

syncdaemon log:

2009-04-16 18:45:11,177 - ubuntuone.SyncDaemon.ActionQueue - ERROR - OAuth failed: [Failure instance: Traceback (failure with no frames): <class 'canonical.ubuntuone.storage.protocol.request.StorageProtocolError'>: Authentication Failed
]
2009-04-16 18:45:39,018 - ubuntuone.SyncDaemon - DEBUG - push_event: SYS_DISCONNECT, args:(), kw:{}
2009-04-16 18:45:39,019 - ubuntuone.SyncDaemon.ActionQueue - DEBUG - disconnected
2009-04-16 18:45:39,020 - ubuntuone.SyncDaemon - DEBUG - push_event: SYS_AQ_STATE_CHANGED, args:(), kw:{'state': ('OFFLINE', 'offline by user request')}
2009-04-16 18:45:56,437 - ubuntuone.SyncDaemon - DEBUG - push_event: SYS_CONNECT, args:(<canonical.ubuntuone.storage.protocol.oauth.OAuthToken object at 0x33adad0>,), kw:{}
2009-04-16 18:45:56,438 - ubuntuone.SyncDaemon - DEBUG - push_event: SYS_AQ_STATE_CHANGED, args:(), kw:{'state': ('CONNECTING', 'waiting for the socket')}
2009-04-16 18:45:56,653 - ubuntuone.SyncDaemon.ActionQueue - DEBUG - connection made
2009-04-16 18:45:57,621 - ubuntuone.SyncDaemon.ActionQueue - ERROR - OAuth failed: [Failure instance: Traceback (failure with no frames): <class 'canonical.ubuntuone.storage.protocol.request.StorageProtocolError'>: Authentication Failed

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Same error for me.

The icon continues to animate and top shows the client almost continuously busy, which should also not occur even if auth fails. Better would be if the icon show a notification that it failed auth and then stopped spinning.

Revision history for this message
dobey (dobey) wrote : Re: [Bug 362432] Re: Authentication fails repetitively

On Mon, 2009-04-20 at 19:41 +0000, Pat McGowan wrote:
> Same error for me.
>
> The icon continues to animate and top shows the client almost
> continuously busy, which should also not occur even if auth fails.
> Better would be if the icon show a notification that it failed auth and
> then stopped spinning.

Right. It's showing as busy because it's stuck in the timeout to update
the animation. There's currently no AUTH_FAILED state change that gets
propagated to the applet, so it doesn't know that it failed. And the
sync daemon isn't telling the applet that it is OFFLINE either. Though,
an AUTH_FAILED should be available soon, with the state change
refactoring that is being worked on.

Revision history for this message
Rick McBride (rmcbride) wrote :

Just triaging these out of "NEW". Can you comment on the status of the states referred to? should this have been fixed already perhaps?

Changed in ubuntuone-client:
assignee: nobody → dobey
importance: Undecided → High
status: New → Triaged
Revision history for this message
Elliot Murphy (statik) wrote :

Hi Nick! Thanks for the bug report. The authentication code has been cleaned up and enhanced a lot based on your feedback. Can you give the latest version of ubuntuone-client 0.1~9.04-1259-1 a try?

Changed in ubuntuone-client:
milestone: none → beta1
status: Triaged → Fix Released
Revision history for this message
Nick Barcet (nijaba) wrote :

On 04/29/2009 07:57 AM, Elliot Murphy wrote:
> Can you give the latest version of ubuntuone-client 0.1~9.04-1259-1 a try?

I have for a week. The problem did not reappear so far.

Thanks a lot,
Nick

Rick McBride (rmcbride)
visibility: private → public
Revision history for this message
David Murphy (schwuk) wrote :

My desktop is coming up with "Authentication Failed" even after re-authorising it. My netbook is fine though.

Revision history for this message
David Murphy (schwuk) wrote :

Started working again after an upgrade/reboot.

Revision history for this message
johnlon (jakewc2) wrote :

I am continuously getting this authentication error. I am authenticated on the web site, my laptop is added ok. Yet the Icon in the status bar keeps saying authentication error. This has been going on now for while, and I have been anable to use Ubuntu One at all.

Please can you help.

John Matthews.

Revision history for this message
Gustavo Spadari (gspadari) wrote :

My applet icon has a red exclamation symbol. When I hover it, a "Authentication failed" appears.
When I click it, It offers me "Connect". I click on that option and in the syncdaemon.log has:

2009-08-31 10:52:52,517 - ubuntuone.SyncDaemon.DBus - ERROR - Can't get the auth token
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/dbus_interface.py", line 1053, in connect
    access_token = self.main.get_access_token()
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/main.py", line 375, in get_access_token
    return self.oauth_client.get_access_token()
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/main.py", line 415, in get_access_token
    raise NoAccessToken("No access token found.")
NoAccessToken: No access token found.

I've tried:
- Reinstall the client
- Remove de passowrd on keyring
- Remove the .cache/ubuntuone and the "Ubuntu One" folder.
- u1sync --authorize
- Remove all the computer added to the account through the web interface.

None of them have worked.

This happends on 2 computers. Maybe the problem is related with my account or my launchpad username.

Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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