Ubuntu One Music for Android

Oops, something went wrong - can't log in - OAuth time difference bug

Reported by svyatoslav.korneev@gmail.com on 2011-12-29
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu One Android Music
High
Michał Karnicki

Bug Description

When I select "Ubuntu One Cloud" mode in U1 music apps I've got error "Oops, something went wrong" after pushing "Sign In" button.

This happens because the phone clock is not configured correctly so OAuth fails due to time difference.

WORKAROUND:
Go to Settings / Time & Date and set Automatic (Use network-provided values)

This happens to me too, and it is quite annoying since I payed for this service

Michał Karnicki (karni) wrote :

Hi,

Thank you for taking time to report this issue. Sorry for the delay.

Do you (bug author and Morten) have Ubuntu One Files installed as well?

affects: ubuntuone-music → ubuntuone-android-music

Late answer is better than no answer :-):-)

I have U1 files app in my mobile and it is works fine.

Rick McBride (rmcbride) on 2012-01-24
Changed in ubuntuone-android-music:
status: New → Confirmed
assignee: nobody → Ubuntu One Android hackers (ubuntuone-android-hackers)
Michał Karnicki (karni) on 2012-01-24
Changed in ubuntuone-android-music:
assignee: Ubuntu One Android hackers (ubuntuone-android-hackers) → Michał Karnicki (karni)
Michał Karnicki (karni) wrote :

Hi Slava,

Thanks for replying to my e-mail. What is your Android version?

Please try following these steps, and let us know which helped. That would be most helpful!

1) Settings -> Applications -> Manage Applications -> Ubuntu One Music -> Clear data. Then try logging in to U1M again.
If it doesn't help:
2) Settings -> Applications -> Manage Applications -> Ubuntu One Files -> Clear data. Then try logging in to U1M again.
If it doesn't help:
3)Settings -> Applications -> Manage Applications -> Ubuntu One Music -> Clear data
   and Settings -> Accounts & sync -> Ubuntu One -> Remove account
Then try logging in to U1M again.
If it doesn't help:
4) Settings -> Applications -> Manage Applications -> Ubuntu One Files -> Uninstall (login provider for U1M, if you ask why)
Then try logging in to U1M.

If any of the steps, starting with 1) up to 4) helped, please let us know which. Much thanks!

Changed in ubuntuone-android-music:
importance: Undecided → High
Michał Karnicki (karni) on 2012-01-25
summary: - Android, Oops error, Cloud mode
+ Oops, something went wrong - can't log in

Thank you for your advises!

Not one step has not helped me.

it may be important

I moved U1M to SD-card.

android version is
2.3.4

Core is
2.6.32.9-perf
SEMCUser@SEMCHost #1

build is
4.0.2.A.0.62

I've the same problem with my Samsung Galaxy Tab 10.1

Android 3.2 Honeycomb

I tried all the solutions, but I have not been successful. Returns the same error message when I try to login.

jhellen (jukka-hellen) wrote :

Same problem here. Android 2.3.3 on Samsung Galaxy Tab (7")

Simon Berka (berka-3) wrote :

same problem with galaxy tab 10.1 as #8 :(

Michał Karnicki (karni) wrote :

Francesco, jhellen, Simon - could you let me know if you have Ubuntu One Files installed as well?

Changed in ubuntuone-android-music:
status: Confirmed → In Progress

Hi Michal,

Just yesterday I wanted to write because I solved the problem on my
galaxy tab. I thought that the time zone tab on the galaxy could not be
changed(as I said, wrongly, in my first email).Instead, looking better
in the settings, I set the correct time zone (Rome in my case), I set
the correct time again (because once changed the timezone, the time is
changed).

Thank you for your help and I hope the solution works for others. Some
time ago I had the same problem with the token "Ubuntu One" on my
laptop. Why "Ubuntu One" and "ubuntu one music" using a system as
complicated based on time zones for the token?

Thanks again,
Francesco.

Il 24/02/2012 16:01, Michał Karnicki ha scritto:
> Francesco, jhellen, Simon - could you let me know if you have Ubuntu One
> Files installed as well?
>
> ** Changed in: ubuntuone-android-music
> Status: Confirmed => In Progress
>

Now I am in Saudi Arabia and I set time and date to be updated automaticаlly and U1 works :-)

I don't know what help, relocation to Saudi, or changing time and date option :-)

Michał Karnicki (karni) wrote :

Svyatoslav - thanks for letting us know. I would believe it's updating the time. Otherwise, I would suggest everyone move to Saudi Arabia! ;)

Franceso - Thank you for replying. Re: "Why "Ubuntu One" and "ubuntu one music" using a system as
complicated based on time zones for the token?" -- it's a security measure. We don't care about your timezone, but OAuth authentication scheme requires little time difference between client and the server. If the timezone is wrongly set, it confuses OAuth. I admit we should improve on that, and I will raise the issue again in the team.

jhellen, Simon - could you please verify if your device time is correct? (Usually setting Date & time settings to automatic helps.) The person, who filed the bug, has just stated everything works as normal once the time settings are correct.

Changed in ubuntuone-android-music:
status: In Progress → Incomplete
Simon Berka (berka-3) wrote :

Hi, changing of time zone helped me... Thanks much!

Michał Karnicki (karni) wrote :

Having three people confirm a proper time zone settings fix the problem, I'm inclined to think it is the device setting causing it.

Morten, Jukka - could you please follow what other users have done and let us know, if setting proper time zone & date & time resolves the problem? (usually, Automatic settings to the right job for date & time)

I would appreciate that, thank you!

jhellen (jukka-hellen) wrote :

Can't help :( I gave up using this. I wanted to believe in it but it was the buggiest thing I've tried on Android. Tried it on a HTC Desire and a Motorola Defy.

Hope you'll squash this bug also. I'll check it out in a year or two again. Thanks anyway for helping us users!

jhellen (jukka-hellen) wrote :

Sorry I forgot to mention that I tried it on my Samsung Tab P1000 too.

Roman Yepishev (rye) on 2012-05-18
Changed in ubuntuone-android-music:
status: Incomplete → Confirmed
description: updated
summary: - Oops, something went wrong - can't log in
+ Oops, something went wrong - can't log in - OAuth time difference bug
Thomas Holbach (thomasholbach) wrote :

Setting date & time settings to automatic helped! Thank you!

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

Other bug subscribers